|
-
Sep 28th, 2000, 06:47 AM
#1
Thread Starter
Fanatic Member
I made a program with the app wizard and there's something wrong! In the form resize subs I added a code that will resize my browser with the form. And it's not working! It only works once when the form loads!
Visual Basic 6.0
Visual C++ 5
Delphi 5

-
Sep 28th, 2000, 08:05 AM
#2
Fanatic Member
Where did you put the code, in the form load event, or in the form resize event?
Crispin
VB6 ENT SP5
VB.NET
W2K ADV SVR SP3
WWW.BLOCKSOFT.CO.UK
[Microsoft Basic: 1976-2001, RIP]
-
Sep 28th, 2000, 02:54 PM
#3
Thread Starter
Fanatic Member
Form Resize what do you think! I'm not dumb!!!
Visual Basic 6.0
Visual C++ 5
Delphi 5

-
Sep 28th, 2000, 03:17 PM
#4
Lively Member
hahaha, well somebody had to ask. j/k, copy and paste your code into the resize event of a form on a clean standard exe project and see if it works. or post your code so we can see it. It should work fine.
-
Sep 28th, 2000, 03:24 PM
#5
Thread Starter
Fanatic Member
It works now. Because before I was using the following code (UNDER FORM RESIZE!!!)
Code:
'This code uses the width and hight of the form when the
'form was loaded, so when you resize it uses the old w/h.
BR.Width = frmMain.Width - 120
BR.Height = frmMain.Height - 950
'New code which uses the current w/h!
BR.Width = Me.Width - 120
BR.Height = Me.Height - 950
Visual Basic 6.0
Visual C++ 5
Delphi 5

-
Sep 28th, 2000, 03:34 PM
#6
Lively Member
Roger That (nt)
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
|