Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids
Message
From
03/07/2004 09:25:04
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
30/06/2004 17:17:11
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Grids
Miscellaneous
Thread ID:
00919387
Message ID:
00920421
Views:
18
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform