control is a scrollbar ?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

control is a scrollbar ?

Post by jmburnod » Sun Sep 12, 2010 3:36 pm

Hi All,

How to know if a control is a scrollbar

I tried :

put the type of control 1
return empty

and

put the style of control 1
return "scale"

I didn't found something about that in the dictionary
I searched "control", "style", "type"

All the best

Jean-Marc
https://alternatic.ch

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: control is a scrollbar ?

Post by Klaus » Sun Sep 12, 2010 3:46 pm

Hi Jean-Marc,

when you query "the name of control X" then you get something like
field "name of field"
scrollbar "my cute lil scrollbar"
button "the checkbox 1"
etc.

So you can check e.g. "word 1 of the name of control x" to get its "type"!


Best

Klaus

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: control is a scrollbar ?

Post by jmburnod » Sun Sep 12, 2010 3:57 pm

hi Klaus,

Thank and best from geneva

Jean-Marc
https://alternatic.ch

Post Reply