on operatorPressed pOperator
set the showBorder of button "/" to false
set the showBorder of button "x" to false
set the showBorder of button "-" to false
set the showBorder of button "+" to false
--Set the border color to Black
set the borderColor of button pOperator to black
set the showBorder of button pOperator to true
end operatorPressed
I would like to know what is the pOperator? is it a functi
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 13
- Joined: Wed Feb 25, 2015 2:15 pm
Re: I would like to know what is the pOperator? is it a fu
Bonjour Mulandc@yahoo.fr,
1. welcome to the forum!
2. "pOperator" is a parameter (means PLACEHOLDER) for the actual NAME of a button.
When calling this handler the name of a real button obhject is supplied in "pOperator"
...
put "a button on your card" into tButtonName
## Now call that handler and pass any valid button name as the parameter:
operatorPressed tButtonName
...
3. Please check these great learning resources to get more of the basics of Livecode:
http://www.hyperactivesw.com/revscriptc ... ences.html
Best
Klaus
P.S.
Since this is definitively NOT an announcement (Hint, hint ) I will move this thread to the correct forum!
1. welcome to the forum!
2. "pOperator" is a parameter (means PLACEHOLDER) for the actual NAME of a button.
When calling this handler the name of a real button obhject is supplied in "pOperator"
...
put "a button on your card" into tButtonName
## Now call that handler and pass any valid button name as the parameter:
operatorPressed tButtonName
...
3. Please check these great learning resources to get more of the basics of Livecode:
http://www.hyperactivesw.com/revscriptc ... ences.html
Best
Klaus
P.S.
Since this is definitively NOT an announcement (Hint, hint ) I will move this thread to the correct forum!
-
- VIP Livecode Opensource Backer
- Posts: 9648
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: I would like to know what is the pOperator? is it a fu
Make a button. In its script:
Now step into (not "over") each line in the handler. Do you know how to do this?
Craig Newman
Code: Select all
on mouseUp
seeTheParam random(99)
end mouseUp
on seeTheparam randomNumber
answer randomNumber
end seeTheparam
Craig Newman
-
- Posts: 13
- Joined: Wed Feb 25, 2015 2:15 pm
Re: I would like to know what is the pOperator? is it a fu
Thanks for the answers. it is quiet well understanding