Re: Anchor issue

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Herfried K. Wagner [MVP] (hirf-spam-me-here_at_gmx.at)
Date: 10/14/04


Date: Thu, 14 Oct 2004 13:10:12 +0200


"HungTrinh" <hungtv@pmail.vnn.vn.invalid> schrieb:
> 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?

Take a look at your usercontrol's 'Sub InitializeComponent'. Maybe the text
property is set there...

-- 
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/> 


Relevant Pages

  • can anyone answer this tuff question?
    ... I am encountering a strange behavior which I want the MSDN stalwarts to ... I have a User Control which is dynamically loaded from a parent page. ... For the first time when the page is loaded, I can properly see the anchor ... "View Source" I can see the HTML code. ...
    (microsoft.public.dotnet.framework.aspnet)
  • User Control Problem
    ... I have created a web user control. ... seen on many online bookstores. ... Repeater. ... anchor is selected). ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Controls.Add Magnifying UserControl !?!?!?!?!
    ... However, I've had no joy. ... So then I also tried setting Dock and Anchor ... to None in the constructor of the user control, ...
    (microsoft.public.dotnet.languages.vb)
  • Changing user controls content
    ... I have created a web user control. ... seen on many online bookstores. ... Repeater. ... anchor is selected). ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: right hand anchoring and pickup question.
    ... "sheetsofsound" schrieb im Newsbeitrag ... >> It might be interesting to make a list of players that dont anchor. ... > george benson, adam rogers, rodney jones, jesse van ruller ...
    (rec.music.makers.guitar.jazz)