473,529 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Setting form height

Hello,

I am trying to make a form for little people, setting its height to 17. But
after the call to the property the height is 34? How do I set the height of
the form to 17?

Me.Height = 17
REM Me.Height is now 34.

Thanks
Nov 23 '05 #1
2 1234
"Michelangelo" <nv*@nvt.nl> wrote in message
news:dl**********@news2.zwoll1.ov.home.nl...
I am trying to make a form for little people, setting its height to 17.
/Very/ little.
But after the call to the property the height is 34?
How do I set the height of the form to 17?


I had a similar problem, but I was trying to make a very /narrow/
form.
Set the MinimumSize.Height and MaximumSize.Height as well.

Regards,
Phill W.
Nov 23 '05 #2
Very little indeed, but their gratetude is titanic. It works, thanks.
"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> schreef in bericht
news:dl**********@yarrow.open.ac.uk...
"Michelangelo" <nv*@nvt.nl> wrote in message
news:dl**********@news2.zwoll1.ov.home.nl...
I am trying to make a form for little people, setting its height to 17.


/Very/ little.
But after the call to the property the height is 34?
How do I set the height of the form to 17?


I had a similar problem, but I was trying to make a very /narrow/
form.
Set the MinimumSize.Height and MaximumSize.Height as well.

Regards,
Phill W.

Nov 23 '05 #3

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

Similar topics

3
6079
by: p s | last post by:
hi can someone tell me how to ensure the height of my window is always exact? (excluding titlebar) in VB6 e.g. if i set the form to 300 pixels, then the total height of the form takes into account the title bar, however i want to use a specific background graphic in the main form background.... visual styles, and themes and so on make this...
12
3205
by: Jacob Weber | last post by:
Hello. Is it possible to specify the exact space between two lines, measured from the baseline of the top line to the ascenders of the second line? I tried adding the space with padding-bottom, but it adds it below the descenders. So the actual space between lines is larger than I specified. Jacob
9
2539
by: netclectic | last post by:
I'm dynamically adding options to a select list in javascript and i need to be able to set the height of the option, but setting style.height has not effect, I also tried style.pixelHeight but no joy. i'm doing something like this (: var selectControl = document.getElementById('MySelect'); var el = document.createElement('option');...
21
3937
by: Michael Bierman | last post by:
Please forgive the simplicy of this question. I have the following code which attempts to determine the color of some text and set other text to match that color. It works fine in Firefox, but does nothing in IE. I'd be greatful for any assistance. Also, if I will have problems the code on Opera or Safari, I'd appreciate any pointers--I don't...
2
3270
by: Mikkel Faarup | last post by:
Hi All I am are experiencing difficulties setting Windows.Form heights above around 1000px on screens with the resolution set to 1024x768. The form is simply cut off and a scrollbar is set. The form is inside a mainform and consists of a tabpage-control - these tabbed pages should be shown in full length/height and not set scrollable - the...
3
2023
by: Claire | last post by:
A couple of questions I have a progress form, if the form user wants to display an extra line of text then they call the following { frmProgress f = new frmProgress(); f.SetLabel("Hello");
2
1248
by: Peter Oliphant | last post by:
I've tried to set up a Form location via its constructor in the following way (My_Form is derived as a child of the standard Form): My_Form( int x, int y, int w, int h ) { Rectangle rect( x, y, w, h ) ; this->Bounds = rect ; } ; When I do this the width and height are properly set, but it doesn't place
2
2235
by: bilalinamdar | last post by:
hello this is my first post in this forum... I am just a BEGINNER.. Not much Understanding.. I have a website which consist a BOX and a Submit Button I would like to make a custom setting to it... Also would like to separte it in a EXTERNAL CSS.. i already have other codes but want to incorporate this.. Really confused with the CLASS, ID,...
8
16086
by: Andrus | last post by:
..NET 2 Winforms application. How to create new setting and set it default value in userSettings section of app.config file or overwrite existing setting value ? I found code below in this list which modifies Application setting section but how to add new item to userSettings ? Andrus.
0
7269
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...
0
7508
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. ...
1
7258
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...
0
7614
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...
0
5809
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...
1
5199
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...
0
4835
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...
0
3335
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...
0
3330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.