Solved

Controls in a VB form disappear  When the form is resized

Posted on 1998-10-17
7
295 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
[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
  • 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
Industry Leaders: 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!

 

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

740 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