Solved

Controls in a VB form disappear  When the form is resized

Posted on 1998-10-17
7
286 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

743 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

12 Experts available now in Live!

Get 1:1 Help Now