Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A little listbox trickery
Message
 
To
08/08/2002 10:40:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00687505
Message ID:
00687529
Views:
27
No, but if you read the question, it was about keeping the user off the list while programaticaly selecting one item at time in a loop...


>Can you do that for individual items? Perhaps if the rowSourceType is popup, but I dunno.
>
>>Keep the listbox disabled but change the disablebackcolor and disableforecolor :-)
>>
>>
>>
>>>hello all --
>>>
>>>i have an enabled, populated listbox.
>>>i do some processing that is based on each item in the listbox.
>>>as a form of "progress indicated" i am programmatically selecting (highlighting) each item in the listbox processed.
>>>i'm using a multiselect listbox for visual appeal.
>>>
>>>the question:
>>>in order for the nice looking (intuitive) highlight to appear,
>>>it seems the listbox has to be enabled. i would really like
>>>to disable the listbox so the user cannot de-select any of the
>>>highlighted items, but when i do, the highlights do not appear.
>>>
>>>is there something i can do in the Click or Double-Click event
>>>to intercept that action and to prevent the default action
>>>from occuring ??
>>>
>>>thanks for your ideas,
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform