May020698
asked on
Disappear of command buttons in the SSTab after resize!
I am using VB4, I find that after I use the code below to resize the SStab, in the running stage the buttons in tab1 and tab2 disappear with the buttons in tab3 (the one being activated at the last moment of the design stage) appeared. Can anyone help me out? I am just tired about solving this! Thanks!
For I = 0 To Form5.Controls.Count - 1
Form5.Controls(I).Left = Form5.Controls(I).Left * H
Form5.Controls(I).Top = Form5.Controls(I).Top * V
Form5.Controls(I).Height = Form5.Controls(I).Height * V
Form5.Controls(I).Width = Form5.Controls(I).Width * H
Form5.Controls(I).Font.Siz e = Form5.Controls(I).Font.Siz e * H
Next I
For I = 0 To Form5.Controls.Count - 1
Form5.Controls(I).Left = Form5.Controls(I).Left * H
Form5.Controls(I).Top = Form5.Controls(I).Top * V
Form5.Controls(I).Height = Form5.Controls(I).Height * V
Form5.Controls(I).Width = Form5.Controls(I).Width * H
Form5.Controls(I).Font.Siz
Next I
Waths the value of H and V. And trie juste make a refresh on your form. if it not work i work on it for you. but i need value
ASKER
Hay Acid_Buzz,
H and V can be any value like 1.2
How to make a refresh on my form! Sorry I am a beginner of VB! Please help!!!!
May
H and V can be any value like 1.2
How to make a refresh on my form! Sorry I am a beginner of VB! Please help!!!!
May
May, if you wish to email a copy of your project, I'll take a look and very likely be able to find a solution to this problem.
mick@owen.wa.com
mick@owen.wa.com
Form1.refresh. If it dont work please send me a copy of your project and give you the solution next time i connect.
acidbuzz@cyberdude.com
acidbuzz@cyberdude.com
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.