Solved

Controls in a VB form disappear  When the form is resized

Posted on 1998-10-17
7
292 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
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 

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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

831 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