Page 1 of 1

dropdown buttons

Posted: Sat Nov 29, 2014 6:45 pm
by francof
Hi all,

some time ago, I saw, somewhere in the LC site, probably into the LiveCode Lessons pages how to create a kind of Pulldown Menu object.
I do not find it more.... I dreamed it? does anyone know what I'm looking for?

ciao
franco

Re: dropdown buttons

Posted: Sat Nov 29, 2014 7:52 pm
by FourthWorld
In the middle of the LiveCode IDE's Tools palette you'll see an object for "Pulldown Menu" (the label is visible as a tooltip when you hover over it); just drag and drop that onto your card.

Re: dropdown buttons

Posted: Sat Nov 29, 2014 8:41 pm
by dunbarx
Hi.

Know that there are several different types of these, some hierarchal, and all are simply buttons with different property sets. Check out, as Richard says, the "pullDown" icon in the tools palette, but also check out its immediate neighbors.

When I first started, I made a card with all four flavors, "pulldown","option", "combo" and "poopup" and loaded them all with the same contents. Do this. Then play with their unique features.

Craig Newman

Re: dropdown buttons

Posted: Sat Nov 29, 2014 8:52 pm
by Da_Elf
building your own is always better since there are a lot of styling limitations to the default ones

Re: dropdown buttons

Posted: Sat Nov 29, 2014 9:20 pm
by FourthWorld
Da_Elf wrote:building your own is always better since there are a lot of styling limitations to the default ones
What properties do you change?

Re: dropdown buttons

Posted: Sun Nov 30, 2014 12:32 pm
by francof
Hi all, thanks for replies.

yes I now the standard objects ready to use, and probably I will use one of them. but, I liked the look and the movement to get off of the created object: not instantaneous but, gradual. voice by voice and all with the skin of the "closed object" something like this:
closed.jpg
closed.jpg (4.15 KiB) Viewed 7307 times
opening.jpg
opening.jpg (11.11 KiB) Viewed 7307 times
opened.jpg
opened.jpg (12.81 KiB) Viewed 7307 times
Accidenti, I don't remember where it was.
one more question: pulldown, pop-up, option menu objects are they supported on mobile?

Re: dropdown buttons

Posted: Sun Nov 30, 2014 4:54 pm
by dunbarx
Well, you are going to need to do what Da_Elf suggested. Roll your own.

You will need to show/hide and move a series of buttons. This should be a hoot. Write back if you need help with this.

Craig

Re: dropdown buttons

Posted: Sun Nov 30, 2014 5:09 pm
by francof
dunbarx wrote:Well, you are going to need to do what Da_Elf suggested. Roll your own.

You will need to show/hide and move a series of buttons. This should be a hoot. Write back if you need help with this.

Craig
I prefer to avoid this kind of fun.... :)
for now I will begin with a traditional pulldown menu

best
franco

Re: dropdown buttons

Posted: Sun Nov 30, 2014 6:15 pm
by francof
at the end it seems that I must build my own pull-down menu. only that it will not a pull-down menu but, a pull-right menu.
this because every object will be hidden by the browser group. below an answer by an administrator to an user:
Hi Erik,

the browser object lies at the highest layer when it is displayed. All other LiveCode controls lie at lower layers, so it is not possible to display anything on top of the browser from within LiveCode. - Sorry

Kind Regards,

Hanson
ciao
franco

Re: dropdown buttons

Posted: Sun Nov 30, 2014 7:52 pm
by dunbarx
So you are compelled to have fun.

Let us know how this sausage string comes out.

Craig

Re: dropdown buttons

Posted: Sun Nov 30, 2014 10:56 pm
by francof
Hi Craig,
yes, sausage gives an idea of the final result, will let you know. I already have half a mind (it says so?) move, ticks, relative....
by the way what the hell pays a tick

best
franco

Re: dropdown buttons

Posted: Tue Dec 02, 2014 11:14 pm
by francof
Hi all,
finally I've made a working test, it's not yet a row of sausages but...
I've used 4 buttons, and I've tried to give them a not too fast fluid motion.
below the code.
MotionTest.rar
(1.51 KiB) Downloaded 238 times
ciao
franco