Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying pictures in grid
Message
De
01/05/2001 07:15:31
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
01/05/2001 06:20:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00501889
Message ID:
00501892
Vues:
18
>Could anyone point out a source or give an example how dynamically display pictures in a cell based let's say for simplicity on logical field value and resulting in two pictures checked/unchecked. I understand that it resembles checkboxes and column.sparse=.f. and it works with general field and current oleboundcontrol in cell , but can't figure out the way to make it work without saving pictures in a table. Something like : if field .t. show green "ticked" picture in grid cell otherwise red "crossed out" picture .
>
>Thank you
>Michael

Michael,
As I get it you only want it for checkboxes not image displaying (if image displaying check FAQ section).
For checkbox :
-Add checkbox to grid.columnx
-Set checkbox.downpicture to 'ticker bitmap'
-Set checkbox.picture to 'crossed out bitmap'
-Set checkbox.caption to none
-Set checkbox.style to graphical
-Set column.dynamiccurrentcontrol property to checkbox (typically 'check1')
-Set column.sparse to .f.
Done:)
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