mgProps

This is the place to discuss anything relating to MobGUI

Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21

Post Reply
Neurox66
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 120
Joined: Tue May 22, 2012 1:57 pm
Location: Vicenza (Italy)
Contact:

mgProps

Post by Neurox66 » Fri Mar 07, 2014 9:43 am

Hi,
It's possible to have a list complete of mgProps keys for each object?
I've tested with

Code: Select all

answer the keys of mgProps of blablabla 
but don't return any value.

Thanks,
Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: mgProps

Post by Klaus » Fri Mar 07, 2014 1:42 pm

Buongiormo Paolo,

since this is obviously a custom property, you may need to add THE:

Code: Select all

answer the keys of THE mgProps of blablabla

Best

Klaus

Neurox66
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 120
Joined: Tue May 22, 2012 1:57 pm
Location: Vicenza (Italy)
Contact:

Re: mgProps

Post by Neurox66 » Fri Mar 07, 2014 1:59 pm

Hi Klaus,
Thanks for the hint but not function :( LiveCode give me an error.

Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it

splash21
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 369
Joined: Sun Dec 19, 2010 1:10 am
Location: UK
Contact:

Re: mgProps

Post by splash21 » Fri Mar 07, 2014 2:00 pm

Hi, Neurox66
Neurox66 wrote:It's possible to have a list complete of mgProps keys for each object?
Custom property sets have always been a bit fiddly to deal with IMHO :|

Code: Select all

local tProps
put the customProperties["mgProps"] of group "MyObject" into tProps
answer the keys of tProps
LiveCode Development & Training : http://splash21.com

Neurox66
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 120
Joined: Tue May 22, 2012 1:57 pm
Location: Vicenza (Italy)
Contact:

Re: mgProps

Post by Neurox66 » Fri Mar 07, 2014 2:21 pm

Hi Splash21,
Thank you, it's running very well! :D

Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: mgProps

Post by Klaus » Fri Mar 07, 2014 7:55 pm

AHA, a property SET! OK :D

Sorry, didn't think of that.

Post Reply

Return to “MobGUI”