Re: Dialog.List not extensible

From: Douglas G. Danforth <"Douglas>
Date: Sat, 17 Nov 2007 12:33:36 -0800

----boundary-LibPST-iamunique-471460963_-_-
Content-type: text/plain

Josef,
Might I suggest you create a new control type since a Dialog.List
is just a paring of (integer, string) and (I think) you want either
(integer, object) or (integer, string, object).
-Doug

Josef Templ wrote:
> Hi Everybody!
>
> I have noticed that Dialog.List is not an extensible record.
> May be there are good reasons from the implementation point,
> but as a user I want to be able to extend it in order
> to connect the list with appropriate application objects.
>
> Without the ability to extend Dialog.List an application needs to
> maintain auxiliary data structures (for mapping the list of values
> to application objects) outside the Dialog.List structure, which
> destroys any program structure.
>
> The only work around I have found so far is to wrap a Dialog.List in
> an enclosing record, but this implies that the resource file has to
> use a different link field.
>
> Any suggestions?
> OMS: Why is Dialog.List none extensible?
>
> - Josef Templ
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to
> LISTSERV{([at]})nowhere.xy
>
>


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-471460963_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEpvc2VmLFxwYXINCk1pZ2h0IEkgc3VnZ2VzdCB5
b3UgY3JlYXRlIGEgbmV3IGNvbnR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