Making buttons non-selectable

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
marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am

Making buttons non-selectable

Post by marksmithhfx » Sun Feb 23, 2014 5:36 am

Is there an option to dim a button and make it not selectable? I guess I was looking for a "selectable" option in the Property Inspector and did not find one.

Thanks
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Making buttons non-selectable

Post by Simon » Sun Feb 23, 2014 5:57 am

hmmm... lets see
not selectable...
slightly broken.... nah
not working... nope
special??? nope


disable

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am

Re: Making buttons non-selectable

Post by marksmithhfx » Sun Feb 23, 2014 6:13 am

Simon wrote:hmmm... lets see
not selectable...
slightly broken.... nah
not working... nope
special??? nope


disable

Simon
Thanks Simon. Next dumb "properties" question. Can you set any attributes like column width or number of columns to display in a basic table field? Or to do that do you need to graduate to a data grid?

Thanks
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Making buttons non-selectable

Post by Simon » Sun Feb 23, 2014 6:41 am

tabStops work.
set the tabStops of field 1 to 40,50,120,190,200
the stinky thing is that each of those numbers are measured from the left of the field.

I think the number of columns would be controlled by "width".

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am

Re: Making buttons non-selectable

Post by marksmithhfx » Sun Feb 23, 2014 6:48 am

Simon wrote:tabStops work.
set the tabStops of field 1 to 40,50,120,190,200
the stinky thing is that each of those numbers are measured from the left of the field.

I think the number of columns would be controlled by "width".

Simon
Thanks Simon, something to play with tomorrow. Do you know if you can change justification (from left to right?). I'm working on something over here http://forums.runrev.com/viewtopic.php? ... 159#p97236
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Making buttons non-selectable

Post by jacque » Sun Feb 23, 2014 5:29 pm

Simon wrote:tabStops work.
set the tabStops of field 1 to 40,50,120,190,200
the stinky thing is that each of those numbers are measured from the left of the field.

I think the number of columns would be controlled by "width".

Simon
They finally gave us an easier way to calculate tabstops a couple of versions ago. You can now just list the widths of each. Been waiting years for that. At the same time they added the ability to use 0 to indicate the end of the columns. If you use that, hitting the tab key at the end of a row will automatically cycle the selection to the next row.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Making buttons non-selectable

Post by Simon » Tue Feb 25, 2014 1:25 am

Found it.
tabWidth

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am

Re: Making buttons non-selectable

Post by marksmithhfx » Tue Feb 25, 2014 4:50 am

Example using tabWidth 150.jpg
Example using tabWidth 150
Simon wrote:Found it.
tabWidth

Simon
Yes you did. Thanks again.
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

Post Reply