Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tool for selecting a bit map
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01022785
Message ID:
01023031
Vues:
11
>>Dear Fox Maniacs
>>
>>Does anybody have, or can point me to, a tool for selecting a bit map from a visual list? Thing is, I have a table of "facilities" e.g. Hospitals, post offices, shops, banks, et al, that are displayed on a MapInfo map. I want the user to be able to pick a symbol (small bit map) for each facility type, such that when he invokes the map, all facilities will be displayed with a meaningful symbol.
>>
>>'ppreciate it
>>
>>Terry
>
>Alright then, once upon a time I created a combo with images in it. But I haven't that system, I've forgotten how to do it and I can't find it in Help.
>
>If no-one can answer the above request, how to do this?
>
>Terry
*** Iniot Event of the Combo

FOR ntest = 1 TO 10
    this.AddItem(TRANSFORM(nTest))
    IF nTest % 2 == 0
       this.Picture(ntest) = full_path_to_picture1
    ELSE
       this.Picture(ntest) = full_path_to_picture2
    ENDIF
NEXT
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform