Search found 122 matches

by palanolho
Wed Jun 25, 2014 5:12 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Implement Layers Management (ex: like Adobe Illustrator)
Replies: 18
Views: 13159

Re: Implement Layers Management (ex: like Adobe Illustrator)

AAAAH ... dhuuu :oops: (it must be the time....lol) my bad, sorry...

so, livecode shifts automatically all other layers to fill the gap of the "moved" layer, correct ?
by palanolho
Wed Jun 25, 2014 4:47 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Implement Layers Management (ex: like Adobe Illustrator)
Replies: 18
Views: 13159

Re: Implement Layers Management (ex: like Adobe Illustrator)

As I said, it is working just fine :) I'm just not getting why. If you see the attached img, you will see the initial layer of each object. if we click on the image (yellow square), by the code, the new layer for it would be 3+3 = 6. However, the system is only assigning it to layer 5. This is the b...
by palanolho
Wed Jun 25, 2014 2:31 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Implement Layers Management (ex: like Adobe Illustrator)
Replies: 18
Views: 13159

Re: Implement Layers Management (ex: like Adobe Illustrator)

I saw your script an did works just fine (I even duplicated the group inside and its continues to work fine) But I'm a little bit confused about the layers. I thought that the layers were global to the stack Following your script: on mouseUp if the owner of the target is me then put the layer of me ...
by palanolho
Wed Jun 25, 2014 2:05 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Implement Layers Management (ex: like Adobe Illustrator)
Replies: 18
Views: 13159

Re: Implement Layers Management (ex: like Adobe Illustrator)

Thanks, I have also read something about "start editing group..." and it seems that it also helps in this situation. It seems that allows you to manipulate only the objects in that group without interfering with everything else ex: you can sent a control to the top and that will bring the control to...
by palanolho
Wed Jun 25, 2014 11:16 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Implement Layers Management (ex: like Adobe Illustrator)
Replies: 18
Views: 13159

Re: Implement Layers Management (ex: like Adobe Illustrator)

Thanks for the suggestion. This type of implementation was what I had in mind, but wanted to know if there were any other "simpler/better" way to do it. Regarding re-layering ... If I have a group1 and inside it group2 and I want to modify something on group2, do I need to set the "relayerGroupedCon...
by palanolho
Tue Jun 24, 2014 4:43 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Implement Layers Management (ex: like Adobe Illustrator)
Replies: 18
Views: 13159

Re: Implement Layers Management (ex: like Adobe Illustrator)

All layers are visible at same time and the user can interact with any object on any layer
by palanolho
Tue Jun 24, 2014 9:26 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Implement Layers Management (ex: like Adobe Illustrator)
Replies: 18
Views: 13159

Re: Implement Layers Management (ex: like Adobe Illustrator)

@ FourthWorld : I will give a look at the Relayer command, thanks @dunbarx : Let me try to give you some more insight and you tell me if you thinks that groups can work. This application will allow creation of a digital boardgame. The first layer (bottom one) will contain one or more game boards (ge...
by palanolho
Mon Jun 23, 2014 7:48 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Implement Layers Management (ex: like Adobe Illustrator)
Replies: 18
Views: 13159

Implement Layers Management (ex: like Adobe Illustrator)

Hi everyone, On an application I'm implementing I will need to manage objects on layers. As mentioned on the subject, what I want is the same behaviour that can be found (for example) on Adobe Illutratior. That is: There are 1 or more layers Each layer may contain zero or more objects The objects on...
by palanolho
Fri Jun 13, 2014 8:35 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [How To] Show fields based on options
Replies: 6
Views: 4687

Re: [How To] Show fields based on options

Lets see if an image helps :)

Imagine a stake like this, where the field OPTION (in red) define which fields are visible below it:

Image

Is it clearer now ?
by palanolho
Thu Jun 12, 2014 9:13 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [How To] Show fields based on options
Replies: 6
Views: 4687

Re: [How To] Show fields based on options

OK maybe I did not explain correctly. I know how to check for changes on the option button and based on that, execute something. My question was regarding the fields that should be visible / hidden. The idea is that the fields will be displayed on the same place (so no empty areas when ones disappea...
by palanolho
Thu Jun 12, 2014 8:00 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [How To] Show fields based on options
Replies: 6
Views: 4687

[How To] Show fields based on options

Hi everyone, On my application, I have a stack that will work as a options dialog. On this stack I have several fields, but some of the fields should be different based on the value of a option button (one of the fixed fields). EX: -------------------- Field AA Field BB Option Button = 1 >> Field CC...
by palanolho
Wed Jun 11, 2014 2:38 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: XML - get sub-node of a node
Replies: 3
Views: 3965

Re: XML - get sub-node of a node

hmm I thought that Ir could be possible to get the path in a generic way without providing the full path (as you do). Seems that that is the way to go... about "revXMLEvaluateXPath" ... I didn't knew that handlers ... it's not on the API Dictionary :( is there any other "new" XML related handlers?? ...
by palanolho
Wed Jun 11, 2014 8:37 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: how to get Image Metadata
Replies: 18
Views: 14559

Re: how to get Image Metadata

Thanks, Will have a look at these