Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display picture in a grid
Message
De
01/03/2005 04:53:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
01/03/2005 00:59:41
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00991451
Message ID:
00991474
Vues:
22
>Dear All,
>
>I'm sorry... I forget how to display the picture in a grid...
>
>I have added image container in a grid, and a table holding the name of pictures to be displayed by the image container... how can I point to the records?!
>
>The picture show up only the first record's image for all records... not dynamically changed for different records?!
>
>I think it is wrong...
>
>
>*** Method: DisplayPicture
>DO CASE
>	CASE filelist.att="D"
>		cPic = "fd-folder.bmp"
>	CASE filelist.att="A"
>		cPic = "fd-archive.bmp"
>	CASE filelist.att="N"
>		cPic = "fd-normal.bmp"
>	CASE filelist.att="S"
>		cPic = "fd-system.bmp"
>	OTHERWISE
>		cPic = "fd-other.bmp"
>ENDCASE
>RETURN cPic
>
>
>
>*** Setting in the grid1.column1.image1.picture
>= Thisform.displayPicture()
>
>But I can't set it in form designer!
>
>
>Thanks in advance!

FAQ #7934
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform