Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling a container
Message
De
01/02/2002 09:13:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00613278
Message ID:
00613952
Vues:
18
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform