Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox display problem
Message
De
02/05/2018 08:12:08
 
 
À
02/05/2018 07:27:09
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01659661
Message ID:
01659682
Vues:
45
>>>>Hi all,
>>>>
>>>>Another question I should know the answer to.
>>>>
>>>>I have a ComboBox with two columns. When I select a item from the list it only displays the first column's data in the box. I would like it to display the entire line (all columns data). Is there a property(s) that I maybe in need.
>>>
>>>AFAIK, no such animal. Textbox part shows value from 1st column, the dropdown shows all columns you defined. You can combine what you want to show in column one, which is a kludge, but may work for you (and yeah, mono font...).
>>>
>>>But if you remember some trick, share it here.
>>
>>Well, for the time being, I am going with Courier New. It may look funny, but until something comes up, it will do. I have considered an ActiveX control, but they are 32bit and most are outdated and no longer supported.
>>
>>Thanks to the input.
>
>Actually I like Naoto's trick better than this kludge. It's rather ingenious. You can format the invisible column any way you like and then it doesn't require any special fonts, just some separator(s) between the values.

I, too, like this idea. The Monospace font makes long descriptions run over the width of the screen.
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform