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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need my form to scroll

Status
Not open for further replies.

MnM

Programmer
Nov 1, 2000
47
US
I know this is a popular question throughout the VB forum but I can't seem to find the answer to my question (that is if there is an answer)

I am prining data onto a form like so:

frmTest.strText = Space(3) & yardnum & Space(9) & gonum & Space(7) & vendor & desc & FormatCurrency(amt)
Print strText

this is inside a loop so data prints many times however, in some cases there is so much data I need the form to scroll. I can get the form to scroll but it will not scroll the data I have printed to the form but will scroll things like buttons and text boxes. I'd really like to continue just printing he info onto the form and scroll if there is any way to do this so any ideas???
 
Why are you printing text to a form?.....Use a frame or text box on the form to print the text to with the properties set to flat and no border...then scroll the frame or text box with a scrollbar.....something like text1.top = scrollbar1.value.....well something like that.......
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top