Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image in Grid
Message
 
 
To
02/05/2005 13:48:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01010217
Message ID:
01010230
Views:
36
This message has been marked as the solution to the initial question of the thread.
>>Check Images, containers in grid FAQ #7934
>
>Sergey:
>Thank you. I had studied FAQ #7934, and must confess that since my form was created with the FormBuilder and not programatically, I am unclear on where to include the Fake procedure. Should this be added to the form as a new method and called via "thisform.fake" in the init method? Syntax? Thanks for your un-ending patience!!!!
>
Try
* Form Init
...
THISFORM.Grid2.NewColumn.dynamicbackcolor = "Thisform.SelectGridPicture()"
...
* Form method SelectGridPicture
THISFORM.Grid2.NewColumn.MyPICTURE.Picture  = ;
        IIF( MyValue, "C:\path\Image1.ico", "C:\path\Image2.ico")]
Return thisform.myGrid.Backcolor
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform