KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

listbox - setting listindex does not really set it

 
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Wed Jun 16, 2004 2:45 pm    Post subject: listbox - setting listindex does not really set it Reply with quote

ja, we still have this old bugger here.
you go with:
$listbox.listindex = 0

you see that the item is selected (not colored, just borders around it)
then you retrieve the text, it returns -1!

I came to this as have buttons that should be only enabled if listbox is selected, so, ongotfocus, button enabled and another disabled.

simple I thought.
but, it ain't.
I can't get listbox to really have an index, nor I can't DEfocus it.

nor I can't trash the gotfocus-events:
$trash=$form.doevents()

and am getting little frustrated.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Wed Jun 16, 2004 3:45 pm    Post subject: Reply with quote

son ! why you giving your father trouble, eh ? ;0)

will look into ... right now I'm coding your bloody Collection object !
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Wed Jun 16, 2004 7:01 pm    Post subject: Reply with quote

I know.
but, as you never online, I must show somehow that I still miss you.

damn, my DLL project is totally stuck as can't ask a simple question from you.
so, me doing other projects and those reminded me of these thingies...

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group