Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A little listbox trickery
Message
From
08/08/2002 10:17:20
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
A little listbox trickery
Miscellaneous
Thread ID:
00687505
Message ID:
00687505
Views:
79
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,
patrick
Next
Reply
Map
View

Click here to load this message in the networking platform