Table of Content
HAL Forum
procedure CloseOnCancel (
)
Description:
Closes Window when presing Cancel Button
  WindowBegin("Radio Button",RepGenRadioButtonVClass,CGother,RcType);
  SetWRect(64,80,509,240);
  CloseOnCancel;
  vs = 20; h = 120;
  EditField(h,v=6,  200,"Label",Normal ,f1,false,0);
  EditField(h,v+=vs,200,"Variable Name",Normal ,f2,false,0);
  EditField(h,v+=vs,200,"Value",Normal ,f4,false,0);
  CheckBox(h,v+=vs,0,"Default",default);
  EditFieldTL(h,v+=vs,100,"Width",M4NLong,Normal,0,width,false,0);
  EditFieldTL(h,v+=vs,100,"h",M4NLong,Normal,0,h,false,0);
  EditFieldTL(h,v+=vs,100,"v",M4NLong,Normal,0,v,false,0);
  h=270; v=-30;
  PushButton(h,v,h+60,v+20,ToolOK,"OK");
  h=350;
  PushButton(h,v,h+60,v+20,ToolRestore,"Cancel");
  EndWindow;
Related topics:
««