Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox and ComboBox Situation
Message
 
To
12/07/1998 11:15:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00116441
Message ID:
00116609
Views:
13
>>I just made a form and placed a combobox and a textbox in it. I ran the form, >selected an itme in he combo and tabbed to the textbox. The combo did change >to disabled colors. There must be some code somewhere that is disabling the >combobox.
>
>Hi Jim,
>
>Sorry I probably didn't explain this properly, my combo box is initially disabled and is intended to display a field from the database within the container on my form. As I skip through records I show the contents of the field in the text region of the control by setting the control's value property to the contents of the field. It's within the text region I want to set background and foreground colour properties when the control is diabled..... much like the textbox control. When I set the disabled background/foreground colour properties the control still shows the contents of the field in standard disabled colours being black on dark grey.
>
>
>Thanks,
>
>Don

Don,

Try the DisabledItemForecolor and the DisabledItemBackcolor properties.
Previous
Reply
Map
View

Click here to load this message in the networking platform