Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox Rendering Problem
Message
De
17/08/2004 15:16:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00933803
Message ID:
00933908
Vues:
23
It does exactly the same thing in vfp8Sp1. I have to ask though, aren't you just trying to recreate the functionality of a normal combo box?

Alan

>Hi Sergey
>
>Here is the code that produces the result on my screen. I am using WinXP and VFP 9 Beta.
>
>
>Public go
>go=CreateObject("form")
>go.AddObject("combobox","combobox")
>go.combobox.visible=.Y.
>go.combobox.left=50
>go.combobox.top=50
>go.combobox.rowsource="1,2,3,4,5,6"
>go.combobox.rowsourcetype=1
>go.combobox.style=2
>go.combobox.width=16
>go.Show()
>
>
>
>Simon
>
>
>>Hi Simon,
>>
>>I don't see this. I'm running under WinXP with themes disabled.
>>
>>>If you shrink the width of the combobox so it just shows the drop down button then when you click the button the button is rendered improperly. It looks like the SelectedForeColor is showing through on the left side of the button.
>>>
>>>You may wonder why you would want to shrink a combobox to such a small size. The reason is so that it can be placed beside a text box and look like a regular combobox. Then you can use the dropdown button to choose a choice to be placed in the textbox or you can enter a value in the textbox not found in the combobox.
>>>
>>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform