Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling a container
Message
From
01/02/2002 09:13:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00613278
Message ID:
00613952
Views:
19
>How about:
>
>do the diabling and then do a,
>
ThisForm.Grid1.SetAll("DynamicBackColor", "RGB(255,0,0)", "Column")
>ThisForm.Grid1.SetAll("backColor", RGB(255,0,0), "Textbox")
>
>you could replace the rgb(255,0,0) with the actual disabledBackColor that is being used.

OK, now that I try it, BackColor works, too. It seems I had only tried disabling the column and changing the BackColor of the TextBoxes, but not the BackColor of the Columns.

The color of the SELECTED control is irrelevant, since the entire grid will be disabled. The idea is to disable the record-selection-grid while the user is editing some record.

Thanks.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform