Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A little listbox trickery
Message
 
À
08/08/2002 10:17:20
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00687505
Message ID:
00687511
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform