CustomProperties

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

CustomProperties

Post by Dixie » Mon Jul 05, 2010 2:48 pm

Good Afternoon...

I have a stack that contains custom properties... the data in the custom properties is read quite frequently, added to and deleted.... this all works fine on the mac but seems to working a strange way under windows.... all the handlers work well, except one... this works but only if it is 'fired' twice.

None of the data brought in to the stacks is kept on quitting... so, I dont think that I am suffering the problems of text between platforms.

Anyone with any experience of this sorts of behaviour between platforms ?

regards,

Dixie

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: CustomProperties

Post by Klaus » Mon Jul 05, 2010 3:49 pm

Hi Dixie,

the platform differences regarding text will definitively not be responsible for data not getting saved!
Please give a bit more info: scripts, saving of the stack (when etc.)...


Best

Klaus

Curry
Posts: 111
Joined: Mon Oct 15, 2007 11:34 pm
Contact:

Re: CustomProperties

Post by Curry » Tue Jul 06, 2010 8:04 am

Custom props work pretty well on Windows too! (I use them all day long.) As Klaus said, most likely the answer lies in your scripts.
Best wishes,

Curry Kenworthy

LiveCode Development, Training & Consulting
http://livecodeconsulting.com/

WordLib: Conquer MS Word & OpenOffice
SpreadLib: "Excel-lent" spreadsheet import/export
http://livecodeaddons.com/

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: CustomProperties

Post by Dixie » Tue Jul 06, 2010 9:21 am

Good morning....

Thanks to Klaus and Curry for your replies... I am having a little problem that perhaps you can help me with, besides the custom properties that is...

I have a fields that may or may not contain 'french' words with all their associated accents, graves and such... I save some of this information to another field and retrieve it later... again on the mac, the machine I'm working on, I have no problems... the text goes in and out without a problem... but running the stack under windows, my problems begin... the 'french' text, or rather the words with the baggage of accents attached to them.... Argelès and Brantôme for example... does not come back from the field I put it into...

Is Unicode text the answer or HTML text ?

Any help appreciated

kind regards,

Dixie

Curry
Posts: 111
Joined: Mon Oct 15, 2007 11:34 pm
Contact:

Re: CustomProperties

Post by Curry » Tue Jul 06, 2010 10:10 am

Just save and restore the htmlText and you'll be fine.
Best wishes,

Curry Kenworthy

LiveCode Development, Training & Consulting
http://livecodeconsulting.com/

WordLib: Conquer MS Word & OpenOffice
SpreadLib: "Excel-lent" spreadsheet import/export
http://livecodeaddons.com/

Post Reply