[REBOL] Re: [native-UI] What's native?
From: rotenca:telvia:it at: 23-Jun-2004 23:28
Hi Karl,
> I didn't know about choose/offset but this really isn't an improvement. The
> popup window has a title bar and border like a main window and if you move
I do not see it here on XP.
> the window containing the choose widget, the popup window doesn't open over
> the widget anymore!
view layout [text "Menu" [choose/offset ["a" "b" "c"] func [face][print
face/text] screen-offset? face]]
> This is not consistent with any other popup menu I've used on any OS. And
> why do I have a choice of a separate window or not? What happened to simple
> thing being simple?
It does not seem to me too complex changing "50x50" with 2 words
(screen-offset? face).
The problem is lack of documentation. I'ld be happy if solutions in C would be
of the same complexity.
A better choose function should permit to set the offset automagically. the
point is that it can be done: only 2 or 3 lines of code to add to the choose
function.
---
Ciao
Romano