Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Colored disabled items in Listbox
Message
From
05/03/2003 11:06:27
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00761279
Message ID:
00761531
Views:
20
Hi George,

Example :

Create a Form Property called ListBoxEnabled with a value of .T.
The listbox and command button should have the following code

ListBox.When
Return Thisform.ListBoxEnabled
CmdDisableListBox.Click
Thisform.ListBoxEnabled = .F.
That should do it for you.

Regards,

Liam




>except that doesnt work.
>have a code sample?
>
>When i click a command button, i want to diable the Listbox
>and leave the selected items highlighted.
>
>when only fires when control comes alive.
>In this case control is losing focus, when doesnt fire....
Liam O'Hagan
MCP VFP Desktop Apps
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform