Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling a container
Message
 
À
31/01/2002 11:05:12
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:
00613438
Vues:
25
This message has been marked as a message which has helped to the initial question of the thread.
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.

hth



>Yes, but now I am considering simply setting all columns in a grid, or the TextBoxes, to .Enabled = .F. (forgetting, for now, about saving information, as to which columns already were disabled). However, all I can manage to do is disable the selected TextBox - if it's at all selectable. Any ideas? Even .ForeColor and .BackColor only seem to apply to the currently selected control.

>
>>Ah, the old "disappering grid" trick! <g>
>> ...
>>>Thanks; I was considering something similar: ....Visible = .F. Well, I'll have to think about it. Probably I will decide what to do, from case to case.
>>>
>>>Hilmar.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform