local alw=createForm() --alw.PopupMode='pmNone' --uncomment this if you don't want the stay on top behaviour alw.Caption="Address List" alw.BorderStyle="bsSizeable" alw.ClientWidth=AddressList.Width local alwsettings=getSettings('alw') if alwsettings.Value['x']~='' then alw.left=tonumber(alwsettings.Value['x']) end if alwsettings.Value['y']~='' then alw.top=tonumber(alwsettings.Value['y']) end if alwsettings.Value['width']~='' then alw.width=tonumber(alwsettings.Value['width']) end if alwsettings.Value['height']~='' then alw.height=tonumber(alwsettings.Value['height']) end alw.OnCloseQuery=function(sender) beep() return false end alw.OnDestroy=function(sender) alwsettings.Value['x']=alw.left alwsettings.Value['y']=alw.top alwsettings.Value['width']=alw.width alwsettings.Value['height']=alw.height end AddressList.Parent=alw