09-12-2007 08:45 AM
09-12-2007 08:55 AM
Hi,
You dont need to use the NewPropertyObject.
Just use the SetVal methods with the option set 1(PropOption_InsertIfMissing) eg SetValBoolean ()
Regards
Ray
09-12-2007 09:18 AM
09-12-2007 02:26 PM
Hi,
A simple example for creating a container with sub properties.
This is not the only solution. You could use the InsertSubProperty but you would need to get a reference to a property object. which means either obtaining a reference from a type palette, or cloning a object.
Hope it helps.
Ray
09-12-2007 03:03 PM
09-12-2007 03:11 PM
Hi,
I have attached an example, which creates a new seqfile, inserts a FileGlobals (check out the lookup string - "Data.FileGlobalDefaults.MyBoolean"), increments the count and saves then releases the sequence file.
Its a bit crude. It will create the sequencefile "MySequenceFile.seq" in the same location where you open the main sequence file.
Hope it helps
Regards
Ray