@hungtv: "Hi,
    I use a combo and set the Anchor of combo is top only. combo style is
DropDown and this combo has two items: "item1" and "Item2". This combo is
add to a user control. I override OnLoad method of user control and set Text
property of combo is "it". but when the user control is show, the Text
property is "Item1". If I set Anchor of combo is Top + Left, The Text
property is right. Could you tell me how to solve this problem please?
Thanks
Hung"
    @hirfspammehere: ""HungTrinh" <email_address> schrieb:
<quote>
Take a look at your usercontrol's 'Sub InitializeComponent'.  Maybe the text 
property is set there...
Herfried K. Wagner [MVP]
<URL:<url> "
    @hungtv: "This problem happen when the user control is resized. I think the OnLoad
function run after the InitializeComponent. And I don't set any text for
this combo in InitializeComponent.
Thanks
Hung
news:<email_address>
<quote>
text"
{'source': 'USENET', 'other_information': '{"reply_count": 2, "forum_name": "microsoft.public.dotnet.framework.windowsforms.controls.20140617.mbox"}', 'file': 'data/output/usenet-microsoft.public.parquet'}