3-way slider control
paul at researchware.com
Tue May 25 15:46:24 EDT 2021
Yea, I know I can make my own custom controls and have on numerous
I *MUCH* prefer to use existing controls as I dislike UI coding. To me
it is the most tedious part of app development.
This google search shows (at least the majority of initial images) a
bunch of 2-position on/off switches that are often circular or squares
"thumbs" in a oval or rectangular "switch". I was looking for something
like that (or LC's switch widget) but with 3 positions.
Regardless, I have decided to use a standard LC slider set to -1,0,+1
with some labels grouped to it. It works like a charm and minimizes the
number of graphics/objects and code.
On 5/25/2021 1:14 PM, Rick Harrison via use-livecode wrote:
> Hi Paul,
> You can make your own custom controls in LiveCode.
> Perhaps you just want something more like three radio buttons,
> or simulate a slider control with buttons and graphics.
> Give us an example image to help clarify what you want.
>> On May 25, 2021, at 11:38 AM, Paul Dupuis via use-livecode <use-livecode at lists.runrev.com> wrote:
>> Rick and Jacqueline,
>> Thank you for the horizontal slider suggestions. This could suffice for what I need. I was imagining more of the common "circle inside an oval" "switch" control you see on the web and in apps these days. However, beggars can't always be choosers and I the slider works well for what I need.
>> Thank you. ScrollbarOmatic looks like I could adjust setting to get something closer to a "circle inside an oval" 3-position switch. FYI as I was adjusting the controls to get the style I am seeking the following error popped up:
>> *compiling at 11:34:54 AM*
>> Type Expression: bad factor
>> Object backBar
>> Line if tx ≥ tIndEndPos then
>> Hint ≥
>> I did not seem to actually impact continue to refine the appearance.
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode