Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Floating listbox selection
Message
From
06/06/2001 10:21:55
 
 
To
06/06/2001 10:02:10
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00514073
Message ID:
00515758
Views:
14
Hi!

Yes. You can use the Valid event of the ListBox, it is fired for each row change by the same way as InteractiveChange, but do not cause a problem. And for listbox it does not matter. For combobox InteractiveChange also could be used to catch the custom value entering when combobox style is 'Combo'.

HTH.

>>Hi!
>>
>>I did had the same problem once. It was related to some VFP code that runs as soon as mouse clicks on listbox. Removing or replacing some commands in code is fixed it, but I do not remember where is that code and what are the problematic commands. Try to remove bits until behavior disappear.
>>
>>Try also to change the row source type.
>>
>>HTH.
>>
>>>have an intermittent problem with a regular listbox. sometimes
>>>when user tries to make a selection from the listbox, it appears
>>>that the mousedown event is recognized (because it hightlites the
>>>listitem) , but the mouseup event seems to be lost (because
>>>the when the mouse button is released, the highlite moves with
>>>the mouse, even when the mouse is not over the listbox). sometimes
>>>after maybe 30 or 40 seconds, the currently highlited listitem
>>>will be selected and the highlite will quit following the mouse
>>>movement.
>>>
>>>this is VFP6SP5 on WIN95. i don't have any code in any listbox
>>>event ... i just retrieve the value later, when an OK button is
>>>clicked. this is happening with all 4 computers on which the
>>>app is installed.
>
>
>ooops. i DO have code -- i set a boolean value in the INTERACTIVE-CHANGE
>event. i've had problems before when using that event. it seems like
>sometimes if i put code in there, it frequently does not execute the
>"parent" code (i.e. the actual select in the case of a listbox).
>
>my record source type is "value".
>
>thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform