473,695 Members | 2,777 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Anchor problems

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.
Nov 21 '05 #1
8 1771
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.

Nov 21 '05 #2
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/>
Nov 21 '05 #3
> 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.
Nov 21 '05 #4
"Melanie Rösch" <mr*****@rose.d e> 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/>

Nov 21 '05 #5


Herfried K. Wagner [MVP] schrieb:
"Melanie Rösch" <mr*****@rose.d e> 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
Nov 21 '05 #6
"Melanie Rösch" <mr*****@rose.d e> 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/>

Nov 21 '05 #7
Melanie,

Did you look at my message too?

Cor

"Melanie Rösch" <mr*****@rose.d e>



Herfried K. Wagner [MVP] schrieb:
"Melanie Rösch" <mr*****@rose.d e> 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

Nov 21 '05 #8
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/>

Nov 21 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3395
by: LRW | last post by:
Below I'll paste my CSS and the HTML in question. But what's happening is, I'm trying to establish a link behavior for a class that's separate from the normal link class. I've established a: 's with no underline and then an underline for hover...but oddly, only ONE link will actually show the underline on hover. All the rest, even with the same HTML, won't pop up an underline. I just don't get it! If I could get any advice I'd really...
7
2906
by: Chris Kennedy | last post by:
I am passing a querystring e.g. http://office.cybase.co.uk/placeadvert/addimages.asp?maximage=3&officeid=118#subimages I want to use a named anchor. but this confuses my asp as it thinks officeid is 118#subimages not 118
2
8070
by: James | last post by:
I have a forms application which has many controls such as buttons,labels,listviews,text boxes etc. If you set the window size to maximum size so that it would expand to the size of the screen the controls tend to move without any proposion. So then I used anchor and the dock property. I could get some or most of them to appear correctly, but say you have to list boxes in the middle of the screen one after the other vertically how could...
0
1003
by: Jeti [work] | last post by:
I have created form with 5 buttons (anchored bottom right), but when i inherit that form in another, and resize is, only 3 (THREE) of 5 buttons move corectly. I've read here (http://support.microsoft.com/default.aspx?scid=kb;en-us;316560) about that bug, but my buttons already are declared as protected, and all have same properties (except name), but anyway only 3 behave corectly.... WHY? thanx
1
1218
by: Rayearth | last post by:
Hi all I'm having problems with using anchors to automatically resize controls in runtime with VB.net. In my development environment, I run Win2k and all the anchoring works fine, but once I have the application deployed on WinXP clients running in XP styles, all the controls become larger than the form that contain them. Even if I have the scrollbars set on auto, they won't show up. I've tried changing the XP machines back to...
0
2188
by: Franklin M. Gauer III | last post by:
Hi, We have an application running that uses FULL SCREEN ANCHORING in Windows Forms. The application runs fine on all of our desktops and some laptops. We are having problems with certain Dell laptops using an Nvidia Go graphics driver (multi screen). When the app goes full screen - .NET does not detect the right and bottom boundary of the screen - therefore all of the buttons etc. that are anchored to either the right and/or the...
3
6317
by: Bjorn Nordbo | last post by:
Hello, I have a page with a vertical list of photos separated with bits of text. Using page down to view the photos is a bit annoying as it will typically cut the photos as it only jumps a screenfull at a time. To work around this I added an anchor just before every photo, so that the page was organised as follows: <a name="1" id="1"/>
3
4801
by: slavo | last post by:
Hello all, I have an issue with the use of anchoring. I have on a panel, a user control which I have anchored top, bottom, left and right. The user control is there along with a few buttons and other GUI objects. The problem I have is when minimizing... If I click the minimize button, then restore or maximize the window, the user control resizes itself incorrectly in the vertical direction (the horizontal direction is fine). My...
1
2528
by: shapper | last post by:
Hello, I am applying a style to a anchor tag. This anchor is created by an ASP.NET page and is inside a list item. I know the style is working because I applied it to the anchor in a page that has only this. .Test { background-color: #101010;
0
8572
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9115
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8825
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7661
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6491
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4340
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3003
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2272
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1976
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.