I have an application that has been designed for 600x800. The app is non
sizeable, yet when I run it on certain machines, the layout is changed. For
instance. I have a picture box that in design mode and when I run it on my
machine has a height of 175 and width of 190. When it runs on my client the
height stays 175 but the width is 260. This is driving me crazy. Any ideas?
Anything at all?
Stacey 2 958
"Stacey" <St*****@commun ity.nospam> wrote in message
news:ei******** ******@TK2MSFTN GP14.phx.gbl... I have an application that has been designed for 600x800. The app is non sizeable, yet when I run it on certain machines, the layout is changed. For instance. I have a picture box that in design mode and when I run it on my machine has a height of 175 and width of 190. When it runs on my client the height stays 175 but the width is 260. This is driving me crazy. Any ideas? Anything at all?
There are a bunch of odd things that can do this - maybe????
Look at Anchor, Dock, Max..., Min..., and GetPreferredSiz e.
Also I hear there are supposed to be some AutoSize property but it isn't
supposed to work.
Hi Stacey,
Thanks for your posting!
Did the problem occur with other UI on the winform?
e.g. the Font changed, or other button changed?
You may try to check the if the Screen Resolution setting is changed.
1. right click on the desktop
2. Click Properties
3. Check Setting to see if the resolution is same on the different machines
4. Click Advanced,
5. Click General
6. Check DPI setting to see if it is same on the different machines
Also what is your machine environment?
e.g. What is the OS version, .NET framework version?
Also I think you may try to make a test program with just an picturebox to
see if the problem reproduce.
Best regards,
Peter Huang
Microsoft Online Community Support
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Neal |
last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog
entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A
quite good article.
|
by: lime |
last post by:
I've been using CSS for a while, however always using tables for the layout.
This is my first go using a CSS only layout. After many versions (about 7 of
them) this is the final version that I would like critiqued.
I have tested on the following Win browsers: IE6, NS6 & Mozilla Firefox 1.0.
http://www.limelightstudio.com.au/iss/html/
Thanks,
|
by: June Moore |
last post by:
Hi all,
Is there a way to use javascript to change a web page's default layout
e.g. change page orientation to landscape or portrait when the user
prints a copy of the webpage?
Thanks,
June..
|
by: Jerry Camel |
last post by:
I'm using Grid Layout basically because it was the default, but I've got the
whole page designed and changing to Flow layout would be a royal pain, I
think... But now, I find I need to position a label on the far right of the
screen. Is there a way to that in Grid layout so that it's essentially
docked on the right regardless of the client's window width? Thanks.
Jerry
|
by: Tina |
last post by:
In order to constrain the screen real-estate a datagrid takes, I use an HTML
Grid Layout Control with scrollbars. One problem, however is that the
datagrid changes horizontal size depending on what's being displayed. It
would be nice to be able to adjust the horizontal width of the Grid Layout
Control so that the vertical scroll bar would always hug the right side of
the grid regardless of the dynamic width.
Is there any way to make...
| |
by: Alan Silver |
last post by:
Hello,
In classic ASP, I used to use two include files on each page, one before
and one after the main content, to provide a consistent layout across a
web site. That way I could just change the include files to change the
layout. When I came to ASP.NET, I used user controls to do a similar
thing.
I have just been looking at master pages, and it looks like they do the
same thing. If so, is there any advantage in using them over the...
|
by: Stephen Poley |
last post by:
There are plenty of people around these groups who promote the idea of
flexible page design.
However, while employing relative units and not fixing column-widths is
a big improvement on fixed-pixel layouts, it isn't really enough IMHO.
In principle the user can indeed set his window-size to what he wants,
and sites will then adjust to that. The adjustment will however not be
optimal for all sites. The problem becomes evident if one...
|
by: Anoop |
last post by:
Hi,
I am new to this newsgroup and need help in the following questions.
1. I am workin' on a GUI application. Does C# provides Layout Managers the
way Java does to design GUI? I know that it can be done using the designer
but I intentionally don't want to use that. The one reason is that you
cannot change the code generated by the designer. The other could be that
you have more free hand and control to design your GUI.
2....
|
by: basstradamus |
last post by:
Hi
After few hours of searching the web and brainstorming I did not solve my problem.
The problem...
I want to create two column full screen layout (with header and footer) where left column has width 190px and right column has rest of the screen. Right column contents is changing dynamicly and sometimes it is wider than column itself so if right column is floating it is going down below left one.
Pic below is showing the problem...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |