PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Characteristics of non-maximized windows
  • Window size
  • Buttons that will be displayed in the window
  • Clipped window
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
A non-maximized window can be resized by the user and it can occupy a section of the screen only.
Versions 20 and later
A non-maximized window can also be clipped (non-rectangular window).
New in version 20
A non-maximized window can also be clipped (non-rectangular window).
A non-maximized window can also be clipped (non-rectangular window).
To create a non-maximized window, select "File .. New .. Window .. Wizard for creating blank windows". The non-maximized windows can be created via the wizard for window creation. To start this wizard:
  • Click among the quick access buttons.
  • Click "Window" in the wheel that is displayed. The window for creating a new element is displayed: click "Window" then "Window".
  • The wizard for window creation starts.
  • Select "Blank window".
  • In the wizard, select "Non maximized".
Most of the time, the non-maximized windows are used to display information messages.
The following information is requested by the wizard for window creation:
Characteristics of non-maximized windows

Window size

The size of window when it is opened can be modified in the "Details" tab of the description window.
By default, the window is centered in relation to the screen.

Buttons that will be displayed in the window

When a non-maximized window is created by the wizard for window creation, you have the ability to choose the buttons that will be inserted into this window:
  • OK button and Cancel button,
  • Retry button and Abandon button,
  • Ignore button and Close button,
  • Exit button.
In this case, the selected buttons (and their code) are automatically added into the window. Depending on the type of the requested button, the click code of the button returns a boolean (Yes for the "OK" button, No for the "Abandon" or "Cancel" button). This return value can be processed by OpenMobileWindow (or by OpenChild). For example:
IF OpenMobileWindow(WIN_Non_Max) = µYes THEN Info("You've clicked OK")
Versions 20 and later

Clipped window

A non-maximized window can be clipped (non-rectangular window). To do so, use an image in PNG format.
To clip a non-maximized window:
  • In the "Style" tab of the window description, select the "Transparent" background color.
  • In the "Image" tab of the window description, select:
    • a background image in PNG format,
    • the "According to image" transparency mode.
      Note: The image transparency is supported by the PNG format.
New in version 20

Clipped window

A non-maximized window can be clipped (non-rectangular window). To do so, use an image in PNG format.
To clip a non-maximized window:
  • In the "Style" tab of the window description, select the "Transparent" background color.
  • In the "Image" tab of the window description, select:
    • a background image in PNG format,
    • the "According to image" transparency mode.
      Note: The image transparency is supported by the PNG format.

Clipped window

A non-maximized window can be clipped (non-rectangular window). To do so, use an image in PNG format.
To clip a non-maximized window:
  • In the "Style" tab of the window description, select the "Transparent" background color.
  • In the "Image" tab of the window description, select:
    • a background image in PNG format,
    • the "According to image" transparency mode.
      Note: The image transparency is supported by the PNG format.
Minimum required version
  • Version 16
Comments
Click [Add] to post a comment