Page 1 of 1

Scroll Bars on Folder

Posted: Fri Aug 07, 2009 10:25 am
by ConvertFromOldNGs
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?

Re: Scroll Bars on Folder

Posted: Fri Aug 07, 2009 10:25 am
by ConvertFromOldNGs
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.