Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record pointer in grid without focus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00044481
Message ID:
00044513
Vues:
34
>>>I had the answer before but I lost it. How do you make a grid highlight the row with the current record when the grid doesn't have focus?
>>Use DynamicBackColor for the columns.
>>Alex.
>Sorry to seem slow, but I need an expression. I have IIF(myexpression,RGB(255,255,255),RGB(0,255,0)). What can I put for myexpression? I tried THIS.Text1.Value=myfield, but it didn't like it.

You can use a "dummy" record number;

nRec = recno('etc...')
IIF(recno('etc...') =nRec,...

Note: nRec must have a wide scope.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform