Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A little listbox trickery
Message
 
To
08/08/2002 10:17:20
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00687505
Message ID:
00687625
Views:
25
Patrick,

Leave the list enabled but make the when return .F.

JimB



>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,
Previous
Reply
Map
View

Click here to load this message in the networking platform