Search found 23 matches

by pajito
Sat May 20, 2017 11:31 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SWAP bettwen 2 buttons
Replies: 19
Views: 2359

Re: SWAP bettwen 2 buttons

Hey everybody, first of all I had to thank each and every one of you. Either your suggestions worked or partially worked, you gave me lot of ideas of how to continue. The software I am stragling to create its quite big in coding, you will have some screenshots and videos as soon as I get to a satisf...
by pajito
Sat May 20, 2017 11:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SWAP bettwen 2 buttons
Replies: 19
Views: 2359

Re: SWAP bettwen 2 buttons

Group the PGM buttons and name the group "PGM". Group the PRV buttons and name the group "PRV". Script of group "PGM": on mouseUp repeat with x = 1 to the number of btns of me set textcolor of btn x of me to "black" set the backcolor of btn x of me to "white" end repeat set textcolor of the target ...
by pajito
Sat May 20, 2017 11:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SWAP bettwen 2 buttons
Replies: 19
Views: 2359

Re: SWAP bettwen 2 buttons

Just an idea... Make use of segmented control widgets step 1) add 2 segmented control widgets on the card and name them resp "ButtonRow1" and "ButtonRow2" step 2) add a button TRANS with the code below. Select an option on each button row then press button TRANS. (Be aware that the widget initially...
by pajito
Fri May 19, 2017 6:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SWAP bettwen 2 buttons
Replies: 19
Views: 2359

Re: SWAP bettwen 2 buttons

Hiola pajito, not sure I understand your problem, but looks like the ORDER of your commands is important (first let the button "TRANS" do its work and THEN change the value of your global), so maybe this will work for you? global gVarPrv global gVarPgm on mouseUp set the backgroundcolor of me to "Y...
by pajito
Fri May 19, 2017 6:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SWAP bettwen 2 buttons
Replies: 19
Views: 2359

Re: SWAP bettwen 2 buttons

Hi. You do not need all that. Take a moment and make a new card. Make your three "PRV" buttons, and group them. Now make the three "PMG" buttons and group them. Now make the button "Trans", and put this into its script: on mouseUp put the hilitedButton of grp 1 into a put the hilitedButton of grp 2...
by pajito
Fri May 19, 2017 2:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SWAP bettwen 2 buttons
Replies: 19
Views: 2359

SWAP bettwen 2 buttons

Hi everybody Probaby my problem is quite easy for the majority of you but still it is a problem for me. I have 2 sets of buttons or 2 rows of buttons if you prefer. PRV1 PRV2 PRV3 PGM1 PGM2 PGM3 Only ONE button from each row can be pressed every time. Also there is also a button called TRANS. I need...
by pajito
Fri Apr 14, 2017 11:44 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: csv and items
Replies: 6
Views: 2386

Re: csv and items

Hi again Klaus

I would like to thank you, everything worked smoothly. I used the trick you suggested and it saved me lot of time.
I already start reading the lessons, they look really helpful.

Thanks Again
by pajito
Thu Apr 13, 2017 8:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: csv and items
Replies: 6
Views: 2386

csv and items

Hi evebody, I am quite new to Livecode, so I face some problems even with basic staff. I loading a csv into a field, now I need to get the 5 lines of this field and set them as labels of 5 buttons. 1st Problem: when I get item 1 it gives me the 3rd row of my field 2nd Problem: I can not get any othe...

Go to advanced search