Solved

Controls in a VB form disappear  When the form is resized

Posted on 1998-10-17
7
288 Views
Last Modified: 2008-03-06
Controls in a VB form disappear  When the form is resized
I have to cover the form with another window and remove it
To  see all the control on the form.  I don’t care how long it
Takes to refresh the form but I want all text boxes and
Other controls to be visible after I resize the from.

Thanks

0
Comment
Question by:yassin092898
  • 4
  • 2
7 Comments
 

Author Comment

by:yassin092898
ID: 1440379
I am using vsElasticLight from videosoft to resize my form.

Yassin
0
 

Expert Comment

by:pbirkbeck
ID: 1440380
try either a me.refresh or a vsElasticLight1.refresh in your resize method, this should work
0
 

Expert Comment

by:pbirkbeck
ID: 1440381
that would be resize event...
0
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.

 

Author Comment

by:yassin092898
ID: 1440382
This is my resize function
vsElasticLight1  has no refresh method
It didn't work

Private Sub Form_Resize()
  Me.Refresh
  'vsElasticLight1.refresh
End Sub

More infroamtion about my form.

I have a tab on the form and then 3 frames each on top of the other and then the text boxes.

Thanks
0
 

Author Comment

by:yassin092898
ID: 1440383
Your last answer didn't work for me and I added more comment
to explain my problem further. Please let me know if you have
any other suggestions.

Thanks

0
 

Author Comment

by:yassin092898
ID: 1440384
I waited a week for you to try the question again after I added a new comment to explain it further. I must now reopen it for the other experts to try. I thank you for your original proposal
but please try if you can get back to me within the next two days for a new proposal or a permition to reopen it.
Thanks
0
 

Accepted Solution

by:
Lantams56789 earned 60 total points
ID: 1440385
ok try to make your controls visible when you resize your form:

 Private Sub Form_Resize()
    Text1.visible  = True
    Text2.visible = True
    'and so on  

 End Sub
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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

895 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

13 Experts available now in Live!

Get 1:1 Help Now