Solved

Disappear of command buttons in the SSTab after resize!

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vb6 connector to SQL Server 2 37
Add a task in Outlook from access 11 39
SQL VB connection works in one PC and doesn't in another 15 64
Export Data to Different .csv Files 26 103
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…
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 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…
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…

776 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