Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids
Message
De
03/07/2004 09:25:04
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
30/06/2004 17:17:11
Jossue Vega
Healthcare Partners
New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Grids
Divers
Thread ID:
00919387
Message ID:
00920421
Vues:
17
>Hello all;
>Hope everyone is doing well.
>
>I have an issue with a grid, I placed a command button in one of the cells.
>depending on what the users choses I am changing the caption and the tooltip of the command button. When I change them (caption and tooltip) the changes are applied to all of the command buttons in all of the cells. What am i doing wrong?
>
>thank you in advance for any help or suggestions.

Jossue,
Check FAQ #7934

You could do something like this :
-Set dynamicbackcolor to a methd call (ie: thisform.buttonset() )
-In dynamicbackcolor set the caption etc. ie:

with ThisForm.myGrid.myColumn.myContainer.myCommandbutton
.Enabled = lSomeLogicalHere
.Caption = myAlias.myField
.TooltipText = 'Hello this is '+myAlias.SomeField
endwith
return this.backcolor

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform