|
-
Jul 11th, 2000, 11:22 PM
#1
Thread Starter
Hyperactive Member
How can I make all of the buttons, frames, etc... resize with the Form when the person max or min the Form?
I understand how to do it with a text box...sorta..still need help on it...
-
Jul 12th, 2000, 04:29 AM
#2
Hey Jimlin, the code you gave could've been in one line you know, even if it doesn't work it could've been shorter.
Code:
txtNotePad.Move frmText.ScaleLeft, frmText.ScaleTop, frmText.ScaleHeight, frmText.ScaleWidth
-
Jul 12th, 2000, 11:49 AM
#3
Member
Your code doesn't seem to work. A multilined textbox becomes a single lined box. Maybe I did something wrong. I know that my code works though because those four lines of code are what I use whenever I need a notepad-like form in my applications. What else could I really do to shorten my code?
-
Jul 12th, 2000, 11:54 AM
#4
_______
<?>
'I make my form the size I like it and thats it..no resize
'min or max that's it.
'I use this resize I found to resize for different
'screen sizes.
'if you need the code just ask and I'll post it here.'
'it isn't completely fool proof but I haven't had any
'terrible handicaps using it...although I haven't played
'around with font sizes on the pc.
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
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
|