----boundary-LibPST-iamunique-1846001781_-_-
Content-type: text/plain
Just to make it more clear, this feature could be a bit more general
than just REAL numbers shown in Text Fields. I think that every control
could allow to call a user-defined hook just before it is rendered
on screen. The change to Controls can be perhaps as tiny as exporting
more of its internal details, such that the notifiers can do the job
of reformating, what they cannot do right now. Not knowing the Control
source I cannot say for sure, but I am assuming that every Control
must have an internal POINTER TO ARRAY OF CHAR that is being shown.
It would be perhaps enough to export this pointer read-only and allow
the notifiers to do the job of reformatting.
On that occasion please Oberon microsystems also document the role
of the parameter "n" being passed to guards and notifiers. We can see
some uses of the parameter "n" in menus, but the Dialog docu makes
this parameter into a puzzle:
>TYPE NotifierProc = PROCEDURE (op, from, to: INTEGER)
>A notifier procedure must have one of the following signatures:
>
> PROCEDURE (op, from, to: INTEGER)
> PROCEDURE (n, op, from, to: INTEGER)
>
> An actual parameter for n must be a constant.
Thank you,
W.
On Sat, 29 May 2004, Fyodor Tkachov wrote:
> I second Wojtek's proposal for an inclusion directly into BlackBox
> of a format-control feature for real numbers in dialog forms.
> Very appropriate if BlackBox is to target the niche of scientific software.
>
> Cheers
> Fyodor
>
> > VAR
> > show* : RECORD
> > indecent * : REAL;
> > END;
> [snip]
> > What I was asking was whether there is a way to change the
> > appearance of show.indecent directly in the GUI, without changing the original code.
> [snip]
>
> Powered by the E-mail PIM - Info Select - www.miclog.com
>
>
--------------------------------------------
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-1846001781_-_-
Content-type: application/rtf
Content-transfer-enco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