PC Review


Reply
Thread Tools Rate Thread

Anchor problems

 
 
=?ISO-8859-1?Q?Melanie_R=F6sch?=
Guest
Posts: n/a
 
      16th Nov 2004
Hi all,

I have an application where I docked a TabControl with 'FILL'.
In these TabControl I have:
- a Label with anchor 'Left, Top'
- a TextBox with anchor 'Left, Top, Right'
- a Button with anchor 'Top, Right'
All these elements are placed in one row.

On my computer every thing works fine, but if I send
the programm to a friend, then he says the Button does
not appear. What problem can this be for?

Thanks in advance.
 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      16th Nov 2004
Melanie,

One of the messages about what is probably the problem in this newsgroup.

http://groups.google.com/groups?selm...TNGP10.phx.gbl

It is about all controls.

Cor

> Hi all,
>
> I have an application where I docked a TabControl with 'FILL'.
> In these TabControl I have:
> - a Label with anchor 'Left, Top'
> - a TextBox with anchor 'Left, Top, Right'
> - a Button with anchor 'Top, Right'
> All these elements are placed in one row.
>
> On my computer every thing works fine, but if I send
> the programm to a friend, then he says the Button does
> not appear. What problem can this be for?
>
> Thanks in advance.



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      16th Nov 2004
Melanie Rösch schrieb:
> I have an application where I docked a TabControl with 'FILL'.
> In these TabControl I have:
> - a Label with anchor 'Left, Top'
> - a TextBox with anchor 'Left, Top, Right'
> - a Button with anchor 'Top, Right'
> All these elements are placed in one row.
>
> On my computer every thing works fine, but if I send
> the programm to a friend, then he says the Button does
> not appear. What problem can this be for?


Do the other controls fill the space where the button should be shown or
is there a free space between the other controls? Do both systems use
the same .NET/Windows versions?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
 
Reply With Quote
 
=?ISO-8859-1?Q?Melanie_R=F6sch?=
Guest
Posts: n/a
 
      16th Nov 2004
> Do the other controls fill the space where the button should be shown or
> is there a free space between the other controls? Do both systems use
> the same .NET/Windows versions?


The TextBox control fill the space where the button should be shown.
The .Net is the same and the windows is win2000. The only difference
is, that I have service pack 2 and my friend service pack 3.
 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      16th Nov 2004
"Melanie Rösch" <(E-Mail Removed)> schrieb:
> The TextBox control fill the space where the button should
> be shown. The .Net is the same and the windows is win2000.
> The only difference is, that I have service pack 2 and my friend
> service pack 3.


That's really weird. You can add test code to loop through the 'Controls'
collection of the container that contains the button in order to see if the
button has been added correctly to this collection.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

 
Reply With Quote
 
=?ISO-8859-1?Q?Melanie_R=F6sch?=
Guest
Posts: n/a
 
      18th Nov 2004


Herfried K. Wagner [MVP] schrieb:
> "Melanie Rösch" <(E-Mail Removed)> schrieb:
>
>> The TextBox control fill the space where the button should
>> be shown. The .Net is the same and the windows is win2000.
>> The only difference is, that I have service pack 2 and my friend
>> service pack 3.

>
>
> That's really weird. You can add test code to loop through the
> 'Controls' collection of the container that contains the button in order
> to see if the button has been added correctly to this collection.
>


Hi Herfried,

now I have tried to put all the things in a seperate panel.
That means the label docked right in the panel, the textfield docked
fill and an empty label for space and the button docked right. But
the problem is the same. I get the button but my friend not.

How can I see that the button has been added correctly to the collection
of the label? I also can send you a screenshot of both scenarios, if you
want.

Thanks Melanie
 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      18th Nov 2004
"Melanie Rösch" <(E-Mail Removed)> schrieb:
> now I have tried to put all the things in a seperate panel.
> That means the label docked right in the panel, the textfield docked
> fill and an empty label for space and the button docked right. But
> the problem is the same. I get the button but my friend not.
>
> How can I see that the button has been added correctly to the collection
> of the label? I also can send you a screenshot of both scenarios, if you
> want.


You can send me screenshots (GIF format preferred) and/or a small sample
application that can be used to repro the problem, if you want. My email
address can be found at <URL:http://dotnet.mvps.org/meta/author/#Contact>.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      18th Nov 2004
Melanie,

Did you look at my message too?

Cor

"Melanie Rösch" <(E-Mail Removed)>


>
>
> Herfried K. Wagner [MVP] schrieb:
>> "Melanie Rösch" <(E-Mail Removed)> schrieb:
>>
>>> The TextBox control fill the space where the button should
>>> be shown. The .Net is the same and the windows is win2000.
>>> The only difference is, that I have service pack 2 and my friend
>>> service pack 3.

>>
>>
>> That's really weird. You can add test code to loop through the
>> 'Controls' collection of the container that contains the button in order
>> to see if the button has been added correctly to this collection.
>>

>
> Hi Herfried,
>
> now I have tried to put all the things in a seperate panel.
> That means the label docked right in the panel, the textfield docked
> fill and an empty label for space and the button docked right. But
> the problem is the same. I get the button but my friend not.
>
> How can I see that the button has been added correctly to the collection
> of the label? I also can send you a screenshot of both scenarios, if you
> want.
>
> Thanks Melanie



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      18th Nov 2004
Update:

> You can send me screenshots (GIF format preferred) and/or a small sample
> application that can be used to repro the problem, if you want. My email
> address can be found at <URL:http://dotnet.mvps.org/meta/author/#Contact>.


OK, I received the screenshots and replied by mail in German. If there are
any news on this topic, please post them to this thread.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Anchor/dock problems DevonS Microsoft Dot NET Framework Forms 0 7th May 2008 06:03 PM
visual inheritance and anchor problems... Jeti [work] Microsoft C# .NET 0 4th Oct 2004 01:59 PM
Resize/Scale/Anchor problems Tim Mulholland Microsoft Dot NET Framework Forms 3 19th Aug 2004 09:04 AM
Anchor problems with XP Rayearth Microsoft Dot NET Framework Forms 0 8th Jun 2004 06:23 AM
Anchor problems with XP Rayearth Microsoft VB .NET 1 4th Jun 2004 06:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:30 AM.