Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scrolling labels/texboxes etc. disappear?

Status
Not open for further replies.

SMCmtg

Programmer
Mar 27, 2000
90
0
0
US
Hi, I have a scrollable form. Sometimes when I drag the vertical or hozitional scroll bars to move to another part of the form portions that are not in the screen do not show till I click on the form where I know fields "are". . .
How can I get it to "refresh" automatically?

What do I have going on? Any ideas are appreciated.

THX

Bill
 
in the scrolledEvent:
thisform.Refresh() && try that, it might work
&& I never used it or tried it, but, it sounds logical to be usefull! Please let me know if this helped you :)

Tekno
Wireless Toyz
Ypsilanti, Michigan
 
Tekno, I was able to get it with your help. THX

Thisform.refresh in the scroll event.

. . .and

Continuousscroll to .f.
vscrollsmallchange to 50
hscrollsmallchange to 50

. . .otherwise the whole form/fontage/fields etc. wants to squirm across the screen and refresh continuously.

playing with it and making these other changes it now works
fine.

Thanks for your feedback.



 
It might have something to do with your video drivers. I created a scrollable form a few weeks ago and it worked fine with ContinuousSroll enabled and no Refresh() in the Scrolled event.

If you have the chance, try it on other systems and see if you get the same results.

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top