Scroll Bars on Folder

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Scroll Bars on Folder

Postby ConvertFromOldNGs » Fri Aug 07, 2009 10:25 am

by Eric Apperley >> Sun, 7 Aug 2005 21:16:24 GMT

Is it possible to add scrollbars to a sheet on a folder component? We're fixing some code that writes text to the sheet, highlighting the odd character along the way, but the text is sometimes longer and wider than the sheet length/width.

I can add the scroll bars but
a) how do I link them in code to the sheet?
b) will they work on the sheet as I want?

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Scroll Bars on Folder

Postby ConvertFromOldNGs » Fri Aug 07, 2009 10:25 am

by Allistar >> Wed, 17 Aug 2005 12:04:33 GMT

Is the text on the sheet in the form of a Label control?

One way (although possibly not the best) to do this is to add a Picture control to the sheet which has scroll bars. Remove the bordr off the control and make it transparent so it is invisible. Add the label to the Picture control instead of the sheet. When the width of the label control exceeds the width of the Picture control, horizontal scroll bars should appear. You will probaly want to set "autoSize=true" on the label.

Regards,
Allistar.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 7 guests

cron