Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh 1 column of 1 line in grid.
Message
 
À
10/11/1997 11:12:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00059281
Message ID:
00059295
Vues:
28
>>I have a grid with a command button in one of the columns. The command button activates an editing window for editing a memo field. I want to signify to the user which records have memo info and which don't. I used the following code:
>>
>>THIS.FontBold=IIF(MEMLINES(Comments)>0,.T.,.F.)
>>THIS.Refresh
>>
>>This makes the caption in the command button for all records bold. How do I apply the above code for each individual record in the grid?
>
>You should use Column.DynamicFontBold property.

Thanks Ed. This worked great. I also changed the Column.DynamicForeColor to RGB(0,0,255). This however raises another question. When I disable the grid how do I prevent the command buttons DisabledForeColor from overriding the Dynamic setting?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform