|
-
Jun 13th, 2002, 12:35 AM
#1
Form.Height?
I'm trying to move a command button to the buttom of a form, but sounds like I'm having a problem
btnAdd.Location = New Drawing.Point(360, Me.Height - btnAdd.Height)
This way the button will be outside the form, but if I use this code instead, it will work
btnAdd.Location = New Drawing.Point(360, Me.Height - btnAdd.Height - 30)
Why do I have to subtract 30 pixels? is that for the titlebar perhaps?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|