Solved

Disappear of command buttons in the SSTab after resize!

Posted on 1998-03-01
5
155 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Good luck with it May (project emailed back to you).
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

743 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

17 Experts available now in Live!

Get 1:1 Help Now