Solved

Disappear of command buttons in the SSTab after resize!

Posted on 1998-03-01
5
156 Views
Last Modified: 2012-05-04
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.Size = Form5.Controls(I).Font.Size * H
Next I

0
Comment
Question by:May020698
  • 2
  • 2
5 Comments
 

Expert Comment

by:Acid_Buzz
ID: 1458191
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
0
 

Author Comment

by:May020698
ID: 1458192
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
0
 
LVL 8

Expert Comment

by:mrmick
ID: 1458193
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
0
 

Expert Comment

by:Acid_Buzz
ID: 1458194
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
0
 
LVL 8

Accepted Solution

by:
mrmick earned 200 total points
ID: 1458195
Good luck with it May (project emailed back to you).
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now