Table of Content
HAL Forum
procedure PushButton (
Integer left,Integer top,Integer right,Integer bottom,Integer action,
string name)
Description:
Adds push Button to Window
Parameters:
left Horizontal position of left top corner
top Vertical position of left top corner
right Horizontal position of right bottom corner
bottom Vertical position of right bottom corner
action Predefined actions
name PushButton name
  WindowBegin("Please Confirm",YesNoWClass,CGother,RcType);
  Modality(1);
  UseView(RcVc);
  SetWRect(80,200,400,300);
  Sizeable(-1,-1,0,0);
  h = 50; v = 30;
  v = -30;
  PushButton(h,v,h+80,v+20,1,"Yes");
  PushButton(h+=135,v,h+80,v+20,2,"No");
  EndWindow;

Related topics:
««