Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A little listbox trickery
Message
 
À
09/08/2002 10:25:39
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00687505
Message ID:
00688127
Vues:
30
Hi Patrick

Yes it works in VFP 6. I set the ColumnCount=2 and the colwidths to "6,150". The small column I use for displaying 8x16 pixel image indicating the row is selected. It has no effect on the rowsource. It is simply a property you can set under program control.

Simon


>> You could highlight the items by assigning an image to the Picture
>> property. It is actually and array so you can assign an image to
>> each row as you process the items.
>>
>> This.listbox.Picture(n)="processed.jpg"
>>
>> I use this method all the time. I put a small column on the left of the
>> listbox the same width as the image. In this way a coloured square shows
>> up beside the selected item. The advantage is that it will not be changed
>> by the user double clicking the row.
>>
>
>simon -
>
>cool concept -- i had no idea something like that was possible.
>couple questions, however...
>can you do that in VFP 6 (which i'm still using) ?
>that extra column you mentioned ... how do you indicate that ?
>as another entry in the 'row source' ? or is it a separate
>control ?
>
>patrick
Simon White
dCipher Computing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform