?
Solved

Disappear of command buttons in the SSTab after resize!

Posted on 1998-03-01
5
Medium Priority
?
165 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 400 total points
ID: 1458195
Good luck with it May (project emailed back to you).
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Suggested Courses

801 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