Author Topic: System Variable: _windowsize  (Read 4035 times)

chirag.amin@guixt.com

  • GuiXT Forum
  • Newbie
  • *
  • Posts: 34
    • View Profile
System Variable: _windowsize
« on: September 27, 2016, 12:51:26 PM »
As of WS Version 1.2.296 and Server Version 3.5.523, a new system variable has been added; _windowsize. The system variable is used to retrieve either the width or the height of your SAP window in pixels. For the width, the variable is as follows: _windowsize_x. For the height, the variable is as follows: _windowsize_y.

LiquidUI Code:

clearscreen();

title("Width: "+_windowsize_x+", Heigth: "+_windowsize_y);

y=_windowsize_x/7.4;
x=(_windowsize_y+280) / 38;

view([0,0], [x,y], "http://www.google.com");



See attachments...