mmm...
also, to shorten even from shawns code, I would tell you a shortcut...
instead of separately calling every controls left/top and so on properties, you can do it on init.

$control=$form.somecontrol(specific_or_empty,left,top,width,height)

so for example, ok button would be:
code:
$Button2 = $Wait.Button("Ok",25,205,50,25)$Button2.OnClick = "$$Wait.Tag=1" 

that's just fine tuning but once you learn to use it, you see your code size reducing to really small [Smile]
_________________________
!

download KiXnet