----boundary-LibPST-iamunique-679005864_-_-
Content-type: text/plain
> Hello:
>
> we are implementing a service module which we call
> an Object Manager, whose purpose is to show a graphical
> tree view of a set of data objects organized as a tree.
> A natural implementation is by using a Dialog.Tree
> because it provides the functionality, and a graphical
> view of it is already available. We thought it would be
> a natural thing to store an OM to disk together with
> the managed data. However, we just noticed that Dialog
> objects are not persistent. Is this going to cause us
> problems with storing/loading the Dialog.Tree data structure
> or the objects pointed to by the TreeNodes?
>
> In particular, we are not sure how we can implement
> Internalize/Externalize for objects which are not
> persistent.
>
> If anybody has encountered this before or can offer
> some insight what is going on, then please e-mail me.
>
> Thank you,
>
> Wojtek Skulski skulski{([at]})nowhere.xy>
Yes, or something similar, and I have a very inefficient solution,
which works for me.
I suspect there is a much more sensible solution.
I have some 'Calculator' Forms which I wanted to save complete
with the numbers in the Field Controls. Since the source of the
Form SubSystem is public I extended FormModels.Model to include
a variable myPtr* : Stores.Store. By assigning the 'Calculator'
data to myPtr its Externalize (etc) routine is called when the form
is Saved/Copied.
I use FormModels.SetDir to enable my forms, which are then provided
by the usual Menu item Controls->New Form.
I can post the code if anyone is interested.
Cheers
Robert
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
blackbox-request{([at]})nowhere.xy
To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
owner-blackbox{([at]})nowhere.xy
Current posting policy:
a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
----boundary-LibPST-iamunique-679005864_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: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