Button behaviour

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
Pascal
Posts: 19
Joined: Sat Jul 10, 2010 2:06 pm
Contact:

Button behaviour

Post by Pascal » Sat Jul 10, 2010 5:05 pm

Hello,

First stack, first problem.
I just do not understand why, when I click one button, the others react too (change color)
I unselected the "shared hilite" property but it did not change a thing.
Has someone a clue ?
Pascal (French, sorry for the way I write)
RevEnterprise 4.5.0 dp3 OSX 10.4.11

Curry
Posts: 111
Joined: Mon Oct 15, 2007 11:34 pm
Contact:

Re: Button behaviour

Post by Curry » Sun Jul 11, 2010 7:00 am

Shared hilite means hilite of the same button on different cards. I think that does not relate to your issue.

It sounds like you are talking about different buttons on the same card? Perhaps you can provide more information, some clues about the objects and scripts you are using!
Best wishes,

Curry Kenworthy

LiveCode Development, Training & Consulting
http://livecodeconsulting.com/

WordLib: Conquer MS Word & OpenOffice
SpreadLib: "Excel-lent" spreadsheet import/export
http://livecodeaddons.com/

Pascal
Posts: 19
Joined: Sat Jul 10, 2010 2:06 pm
Contact:

Re: Button behaviour

Post by Pascal » Sun Jul 11, 2010 2:52 pm

Thanks for your answer.
After post I saw what shared hilite meant but it was too late to change my post.

I send you the stack : when you click on any of the two arrow button the aspect of the upper one changes too.
(do not wory about changing colors of the arrow button, it is just a test -and the script of the left button does not works...-)
Attachments
TestButton.zip
(5.62 KiB) Downloaded 269 times
Pascal (French, sorry for the way I write)
RevEnterprise 4.5.0 dp3 OSX 10.4.11

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

Re: Button behaviour

Post by jmburnod » Sun Jul 11, 2010 3:19 pm

Pascal,

I dowloaded your stack but i have an error "unable to open stack ; stack is corrupted"

(I work with revolutionstudio 4.0 on a Mac PowerPc tiger and Intel with Leopard)

Someone can explane me what happend ?

All the best

Jean-Marc

P.S. my french is better than my english. We can discuss on the french revolution forum at this URL
http://fr.groups.yahoo.com/group/revolutionfr/
https://alternatic.ch

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Button behaviour

Post by Dixie » Sun Jul 11, 2010 5:33 pm

Hi pascal...

You have all three buttons set as the default button... if you turn off the default in the inspector, no more flashing

Be well

Dixie

Pascal
Posts: 19
Joined: Sat Jul 10, 2010 2:06 pm
Contact:

Re: Button behaviour

Post by Pascal » Sun Jul 11, 2010 5:50 pm

Thanks to Dixie.
Works okay.
Pascal (French, sorry for the way I write)
RevEnterprise 4.5.0 dp3 OSX 10.4.11

Post Reply