Search found 10 matches

by glenn9
Fri Feb 21, 2020 10:58 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling list field handling
Replies: 1
Views: 33

Scrolling list field handling

Hi,

Is it possible to ‘handle’ scrolling to the end (or beginning) of a scrolling list field?

What I want to achieve is that when scrolling to the end I can then switch to another scrolling list field, eg from list A to list B?

Many thanks
by glenn9
Mon Feb 03, 2020 7:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Combobox actions
Replies: 9
Views: 432

Re: Combobox actions

Many thanks everyone for all the replies, this has helped me solve this issue and it all works as expected now.

Kind regards,

Glenn
by glenn9
Sat Feb 01, 2020 8:55 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Combobox actions
Replies: 9
Views: 432

Re: Combobox actions

Hi again. Or are you trying to remotely invoke one of the menuItems within a combo box? In that case, make a new combo box and another button. The combo box will already have three menuItems, "Choice 1", etc. In the script of the comboBox: on menuPick tMenu if tMenu = "choice 2" then answer random(...
by glenn9
Sat Feb 01, 2020 8:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Combobox actions
Replies: 9
Views: 432

Re: Combobox actions

Hi Glenn, I confess, I don't have the slightest idea what you are trying to do, "put fld A into fld B" is the only part I understand! :-D Some hints: You can set the LABEL of a combobox and we can trigger a menu by setting its "menuhistory". Best Klaus Hi Klaus, Apologies, I think what I was asking...
by glenn9
Fri Jan 31, 2020 11:59 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Combobox actions
Replies: 9
Views: 432

Combobox actions

Hi, is it possible to 'fire' a pre-selected item from a ComboBox from the script of another object on the same card? Have tried various permutations and excerpts (in an 'on' script) from the standard menuPick script to get this to work but no success so far! grateful for any hints or suggestions man...
by glenn9
Fri Jan 17, 2020 12:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to decrease a columns height smoothly with elapsed time
Replies: 6
Views: 308

How to decrease a columns height smoothly with elapsed time

Hi, As part of a visual countdown timer project I'm trying to get my falling column to fall 'smoothly'. At the moment it decreases in height every second but in a very 'chunky' step like manner! I've tried to experiment with subtracting milliseconds instead, but I'm tangling myself up in the logic a...
by glenn9
Fri Jan 17, 2020 10:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Linking Rectangle height to Slider value
Replies: 6
Views: 364

Re: Linking Rectangle height to Slider value

Thank you for all your replies, they have been most helpful.
by glenn9
Thu Jan 16, 2020 12:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Linking Rectangle height to Slider value
Replies: 6
Views: 364

Re: Linking Rectangle height to Slider value

checked the dictionary - I think I now understand why the lock screen works and I guess the

Code: Select all

set the bottom  of graphic "Col" to 200
anchors the bottom of the column to a defined position therefore just allowing the top of the column to move?

Thanks,

Glenn
by glenn9
Thu Jan 16, 2020 11:56 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Linking Rectangle height to Slider value
Replies: 6
Views: 364

Re: Linking Rectangle height to Slider value

Brill, many thanks indeed Andy, that has solved it. It now works very well and as expected.
The lock/unlock screen makes it scroll much smoother!
(I just need to spend some time now understanding why it's worked, including the unlock/lock command!)

Thank you again,

Glenn
by glenn9
Thu Jan 16, 2020 9:00 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Linking Rectangle height to Slider value
Replies: 6
Views: 364

Linking Rectangle height to Slider value

Hi, I'm a livecode beginner (2 weeks) and I want to link a Slider to the height of a Rectangle and therefore wrote this code: on scrollbardrag newValue local tHt put newValue into field"F1" set location of graphic"Column" to 189, 100 set height of graphic"Column" to newValue end scrollbardrag Althou...

Go to advanced search