Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Images in Grid
Message
De
12/09/2002 03:35:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
11/09/2002 14:45:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00699461
Message ID:
00699661
Vues:
13
>Hi All,
>
>I have a form with a grid and I managed to put the image as the currentcontrol for column3. If I have a logical data field and I want to represent a check.bmp as true (.T.) and uncheck.bmp as false (.F.). How would I do that? Any help or suggestion is appreciated? Thanks

Mathew,
Depending field is readonly or not you have several choices.
-You might directly use a checkbox with graphical style.
-Use image control associated with a dynamic* property to set the correct image (see FAQ #7934).
-Use a calculated value for the column setting font to wingdings. ie:
myGrid.myColumn.Controlsource = "(Chr(Iif(myAlias.MyLogical, 0xFE, 0xA8)))"

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
Répondre
Fil
Voir

Click here to load this message in the networking platform