473,406 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Anchor problems C# .Net 2003

1
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 user control is one which contains Checklistboxes and labels that are populated using the title and fields of database tables (It's part of a query wizard). I mention this because some of the tables have a large number of fields which would create a vertical scrollbar for that particular table automatically. With these scrollbars I have been able to check that the control isn't anchoring to the bottom of the form as first thought, but beyond that.

I have looked for other similar problems but to no avail...

any help greatly appreciated,

Regards,

J Westdorp
Apr 20 '07 #1
3 4787
I am having the same issue. Did you ever find a solution to this?

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 user control is one which contains Checklistboxes and labels that are populated using the title and fields of database tables (It's part of a query wizard). I mention this because some of the tables have a large number of fields which would create a vertical scrollbar for that particular table automatically. With these scrollbars I have been able to check that the control isn't anchoring to the bottom of the form as first thought, but beyond that.

I have looked for other similar problems but to no avail...

any help greatly appreciated,

Regards,

J Westdorp
Jan 22 '08 #2
Plater
7,872 Expert 4TB
Are you sure it is the user control itself, and not the controls IN the user control that are not responding correctly to anchoring?
Jan 22 '08 #3
I have a windows form that has a listbox, label and a input box. I input numbers into the input box and the number is then displayed in the listbox and label. I have the these three (3) controls anchored at all sides so when I stretch the windows form, the controls also stretch. If I minimize and then maximize the form, the controls become distorted. If I stretch the windows form ever so slightly and then minimize/maximize, the controls appear correctly as they should.

Have you seen this before? Do you have a possible work around I can try/

Thanks in advance for your help.
Jan 22 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Ralph Freshour | last post by:
I'm using PHP and while this is an HTML question, I'm looking for a PHP answer please - I've got several anchors similar to the one shown below - I'm calling a dispatcher.php script and I need to...
0
by: nam | last post by:
could someone please help me with this bizarre problem - I've created a swf file at the top of my html page. The swf file (using Swish) is simply a menu of 5 links to 5 anchor points on the html...
6
by: Dominic | last post by:
I have a home page on an intranet called default.asp I just type in the server name to take me to the default page http://server. The home page has an anchor name tag: <A name="fred">Freds Info</A>...
2
by: Mark | last post by:
I cannot read the x and y properties of the anchor object. The object is valid. Why not or how come? TIA Mark
22
by: Haines Brown | last post by:
I have a document with a set of internal links such as: <a name="Z1"></a>... <a name="Z2"></a>... The W3C validator objects to the first instance of the name attribute: There is no attribute...
7
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...
2
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...
8
by: Melanie Rösch | last post by:
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...
3
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
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,...

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.