OK, i understand now :-)
Simply returning .F. in the when() will do the trick :-)
>> Keep the listbox disabled but change the disablebackcolor and
>> disableforecolor :-)
>
>nope, that doesn't work.
>yes, that changes the colors when the listbox is disabled, but
>when the listbox is disabled, the "selected" item(s) highlights
>do not appear -- only when the the listbox is enabled.
>
>from reading VFP help, i thought you could put the
>NODEFAULT statement in the Click and Double-Click event code
>to prevent the parent class method from being executed, but
>it did not seem to prevent it.
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