Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Images in a Grid
Message
From
11/09/2001 03:06:22
 
 
To
10/09/2001 14:18:34
Todd Cottengim
Alpine Land Information Services
Redding, California, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00554828
Message ID:
00555003
Views:
18
Hi!

Put image control into the column. In one of the Dynamic* call form's method, for example, put there expression like "thisform.RefreshImage(this.{ColumnName}.{ImageName})". In the custom form method RefreshImage put code:

lparameters poImage
poImage.Picture = evaluate(poImage.parent.ControlSource)
return {Whatever is required for selected Dynamic* property, for example, for DynamicBackColor}
{return poImage.parent.BackColor && background color of column}

Set column Sparse property to .F.

HTH.


>I am attempting to create a grid that will display images based on file names in a cursor. Unfortunatly, the image control does not have a DataSource property. Has anybody done this before?
>
>Thanks
>Todd Cottengim
>tcottengim@alpine-lis.com
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform