Solved

Disappear of command buttons in the SSTab after resize!

Posted on 1998-03-01
5
160 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…

828 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