Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Images in a Grid
Message
 
 
À
10/09/2001 14:18:34
Todd Cottengim
Alpine Land Information Services
Redding, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00554828
Message ID:
00555003
Vues:
20
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform