Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid thing...
Message
De
22/01/2001 15:25:31
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00466852
Message ID:
00466933
Vues:
9
Thanks for your reply, yet, it still does not work... I changed the Column7 in the grid to Sparse = .F. I will have to see what other may be interferring with this cell...

However, this is what I have coded in the Save button:

* Authform SAVE ClickEvent
=TableUpdate(.T.)
IF changebc = .T.
ThisForm.SetAll("DynamicBackColor", ;
"IIF(RECNO('auth') =ThisForm.nGridRecno, RGB(255,255,255),"+ ;
"RGB(255,255,255))", "Column")
ThisForm.Grid1.Column7.Text1.BackColor = 65535
ThisForm.Refresh
RETURN .F.
ENDIF

What I am trying to do is changing BACK to "normal" grid by getting rid of the "row" color (just a highlite thing, easier to read across), then highlite the field(s) that has a missing data (with error message) so the user can spot it. I sure would like to leave the "row" color (lite blue) and just highlite the field(s), but I think the "row" color has the control over that (I tested it with a regular background color and the lite blue still overwrite it).

Chuck

>This because text1 control shown only in the one cell (current cell), when all other values shown by the grid itself (using column properties). To show Text1 control in all cells of column, change value of the Sparse property in the column. This should cause your first line work.
>
>>ThisForm.Grid1.Column7.Text1.BackColor = 65535 (this does not work)
>>vs.
>>ThisForm.Grid1.Column7.BackColor = 65535 (this does work)
Today is tomorrow's yesterday.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform