Placeable answer and ask dialogs?

Wilhelm Sanke sanke at hrz.uni-kassel.de
Sat Jul 24 20:11:23 EDT 2004


I wonder whether you list members would be interested to have slightly 
modified ask- and answer-dialogs with the new version of the IDE that 
allow placing these dialogs anywhere on the screen or relative to the 
stack they are launched from.
Such a minor change would add flexibility to the dialogs, and it is a 
feature some Metacard and Revolution users had asked for in the past.

See my stack "Place Dialogs" on <http://www.sanke.org> , English 
version, page "Tools and Samples for Development"; the stack contains 
examples and information.

All that is needed are two script lines added before the end of the 
preopenstack handlers:

 " if the NewLoc of this stack is not empty then set the loc of this 
stack to the NewLoc of this stack
set the NewLoc of this stack to empty "

The stacks can be used as usual if no NewLoc property is set.

Line 2 of the script makes sure to restore the default behavior of the 
dialogs the next time they are opened without a specified  "NewLoc".

-- Wilhelm Sanke



More information about the metacard mailing list