Scrolling in a widget

LiveCode Builder is a language for extending LiveCode's capabilities, creating new object types as Widgets, and libraries that access lower-level APIs in OSes, applications, and DLLs.

Moderators: LCMark, LCfraser

Post Reply
pink
Posts: 272
Joined: Wed Mar 12, 2014 6:18 pm

Scrolling in a widget

Post by pink » Thu Jul 16, 2020 10:39 pm

Can I make my widget scroll?

I have a widget to display text, but sometimes the text will be longer than can be displayed. How can I get it to scroll?

The only widget so far that I have seen that scrolls is the SVG picker, but I haven't been able to dissect it yet.
Greg (pink) Miller

MadPink, LLC
I'm Mad, Pink and Dangerous to Know

bwmilby
Posts: 438
Joined: Wed Jun 07, 2017 5:37 am
Location: Henrico, VA
Contact:

Re: Scrolling in a widget

Post by bwmilby » Fri Jul 17, 2020 11:29 pm

Take a look at the tree view widget code. It includes a scroller piece. It is actually segmented out pretty much.
Brian Milby

Script Tracker https://github.com/bwmilby/scriptTracker

Post Reply

Return to “LiveCode Builder”