Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Question
Message
From
30/05/2006 23:10:21
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Grid Question
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01126070
Message ID:
01126070
Views:
52
I am trying to create generic code for the selected back color of a field in all columns of a grid.

In the Init I have code as below:

ThisForm.GRID1.EMAIL.TEXT1.SELECTEDBACKCOLOR = RGB(255,0,0)
I am repeating this command for each column in the Grid.

I have tried code like below to get this feature applied for the fields in all columns.

thisform.grid1.setall("SELECTEDBACKCOLOR",RGB(255,255,255),"Column")

This code doesn't work. I can't find an example in the Help Files for this sort of thing.

Is it possible to write "SetAll" code for something that applies to fields in a grid? If so how would it go?


Mike Smith
Next
Reply
Map
View

Click here to load this message in the networking platform