Tutorial on custom controls?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
FabricioRocha
Posts: 25
Joined: Sun Jan 19, 2014 8:53 pm

Tutorial on custom controls?

Post by FabricioRocha »

Dear LiveCoders,

Would you have any suggestion of a good tutorial about dealing with groups -- more specifically, dealing with custom controls?

I am trying to create a custom option menu for Android, with ICS looks: a line below a transparent button, an arrow in the right, etc. Simon did one and posted a screenshot in the forum. I am trying to use scalable graphics in this one, but I'm feeling somewhat lost, and there's a lot to do: how can I use the clones of such button in the app? How to set a label for the button within the group? How to deal with messages sent to the group? Etc etc etc...

Thank you and regards!

Fabricio Rocha
Brasilia, Brasil
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Tutorial on custom controls?

Post by FourthWorld »

Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Tutorial on custom controls?

Post by Simon »

Hi Fabricio,
Sorry for the delay.
The attached uses images for the buttons on the left and liveCode objects on the right.
It is more iOS than Android but just change the background and border colors of the "buttons".

Simon
Attachments
Drop_down_graphics.zip
LC 6.5
(6.28 KiB) Downloaded 289 times
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Post Reply