Search found 33 matches

by appmann
Fri Oct 25, 2013 8:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Script Containers
Replies: 1
Views: 1854

Script Containers

Hi All. Does someone know how to save/set and use global Containers of script, and how to call these when needed? fx 10 buttons that do different things. but 5 lines of code is the same. How do I put these 5LineOfCode into a variable container? So I can do something like this: on MouseUp Call 5Lines...
by appmann
Fri Oct 25, 2013 8:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Check if List Field selected?
Replies: 3
Views: 2905

Check if List Field selected?

Hi. I have tryed a lot, and looked on LC-lessons about fields and more. I have a list Field. I want a script to run IF a line are selected in the field. What is the "syntax" to look at? I have tryed: If selected. If hilitedline if hilited Maby its something like Visual Basic with the GotFocus command?
by appmann
Thu Oct 24, 2013 10:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List field size organizing
Replies: 17
Views: 9229

Re: List field size organizing

Hi Klaus. Again you was right. :-) It worked very well with the bottomRight. Now im almost finished with the code for the first card :-). But i thing the code can be made easyer. In visual Basic you can put a lot of code in the main script and neme it. Then you can call the script when you need it. ...
by appmann
Tue Oct 22, 2013 7:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List field size organizing
Replies: 17
Views: 9229

Re: List field size organizing

Oki Klaus. It worked. I had a lot of problems before i find out that its Commas and NOT dots that seperate the locations :-) Now i just have to play with it to get the right view. But one more thing. I cant lock my field to the bottom. I have tryed all setting in the inspector. No matter what, when ...
by appmann
Tue Oct 22, 2013 7:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List field size organizing
Replies: 17
Views: 9229

Re: List field size organizing

Thx.

Ill try to find something about the "rect".

Lets see if its working.
by appmann
Tue Oct 22, 2013 1:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List field selected item
Replies: 5
Views: 4768

Re: List field selected item

Hi Klaus. You are the best. I have tryed to look around the Inet for som sample scripts. Im used to code Visual basic, and it took some time to see the logic in that too. I have finished the LCU and got the app-academy too. My problem is: From LCU to App-Academy, there is 10.000 miles in difference....
by appmann
Tue Oct 22, 2013 1:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List field size organizing
Replies: 17
Views: 9229

Re: List field size organizing

but when i use the lock and unlock screen, the "effect" takes place for the card and not only the object.

Is it possible at all with LC to make visual effects just to an object when resizing it and not hide and show?
by appmann
Tue Oct 22, 2013 12:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List field size organizing
Replies: 17
Views: 9229

Re: List field size organizing

i also tryed with this. lock screen for visual effect set the height of fld "ProfilesList" to 170 unlock screen for visual effect scroll down But it make the visual effect on the whole card. My wish is, only to make the effect on the list field. And still keeping the position of the field.
by appmann
Tue Oct 22, 2013 12:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List field size organizing
Replies: 17
Views: 9229

Re: List field size organizing

Hi Klaus.

I think you are right like always.
But im wondering why i can find this in the livecode lessons then.

hide field 1 with visual effect dissolve.

Why are they using the "with" command in this case?
by appmann
Tue Oct 22, 2013 11:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List field size organizing
Replies: 17
Views: 9229

Re: List field size organizing

Maby its just me.

But i cant figure out, how to use the visual effect this way on objects.

I can make it work on changing cards. but not this resizeing.

And i have tryed to look in dictionary. Looked up the "visual Effect" and looked the options to set. But cant make it work.
by appmann
Tue Oct 22, 2013 10:03 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List field size organizing
Replies: 17
Views: 9229

Re: List field size organizing

I have tryed with the line

set the height of fld "ProfilesList" to 170 with visual effect scroll down.

Is this possible? what do I do wrong?
by appmann
Tue Oct 22, 2013 9:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List field size organizing
Replies: 17
Views: 9229

Re: List field size organizing

Hi Dunbarx. It Worked very well (what code says) but. Im trying to resize the hight and not wight. just corrected that. And i want to maintain the "downRight (or Left)" of the field. The visual effect scrolls up and down the whole card. I just want the visual effect to take effect on the object (fie...
by appmann
Tue Oct 22, 2013 8:30 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List field selected item
Replies: 5
Views: 4768

Re: List field selected item

THX to you both.

That make sence. I just needed to know that lists only look at line number, and not values.

Problem solved
by appmann
Mon Oct 21, 2013 9:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List field selected item
Replies: 5
Views: 4768

List field selected item

Hi How do i use the text on the selectedline in a list? I want to put it into a variable and then use it to find cards with the same name, delete cards and even delete the selected line. I tryed with this: put the hilitedline of fld "ProfilesList" into cDelete delete the hilitedline of fld "Profiles...
by appmann
Mon Oct 21, 2013 8:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: List field size organizing
Replies: 17
Views: 9229

Re: List field size organizing

Thx Dunbarx. Is it possible to add a visual effect to the field, rolling up and down? It could be nice, just like "native" apps in both Android and IOS. And how can i resize the field without moving it? I tryed to set the size to the half of original "400 to 200". But when i resize, the field just m...