vsTASKER 7 User Manual
×
Menu
Index

Properties

 
To popup the window properties, when a window tab is selected, right click the mouse and select Properties.
Properties
1

Name

1. Name
Name of the window.
This name will be used in the close and open function. Must be unique.
Use H:closeWindow("Win1"); and H:closeWindow("Win1"); from anywhere in the code to show or hide the named window.
2

Dimensions

2. Dimensions
X and Y are the lower left corner of the window. (0,0) is the lower left corner of the HMI design panel.
Width and Height are in pixels.
 
3

Modal

3. Modal
If checked, when the window is shown, only all other modeless windows and the base panel are not selectable with the mouse. Only the modal window has focus.
If unchecked, the window sprites will be selectable as well as any other sprites in other modeless windows and base panel.
 
4

Borderless

4. Borderless
If checked, the window will appear without border and without title.
It is not possible to move a borderless window with the mouse as the handle is the title bar.
5

Resizable

5. Resizable
Window is resizable at runtime.
Not available yet.
 
6

Moveable

6. Moveable
When checked, the title bar can be selected with the mouse to move the window over the HMI panel, at runtime.
Window must have borders. Mouse button shall be down during the slide. Too quick motion will lose the grab.
7

Always on Top

7. Always on Top
When checked, the window will always remain top of other modeless windows.
 
8

Title Bar

8. Title Bar
If checked, the window will be displayed with a title bar displaying the name of the window.
The title bar can be grab to move the window over the panel at runtime.
 
9

Title Bar Color

9. Title Bar Color
Select here the preferred color for the title bar. Default is blue.
 
10

Background Color

10. Background Color
Select here the preferred color for the background of the window, at runtime.
Useful for borderless windows.
 
11

Export/Import

11. Export/Import
Not available yet.
 
12

Disabled

12. Disabled
When checked, the window will not be generated, including its Sprites.
 
13

Code

13. Code
User can add its own code on this part, for the different phases of the windows life:
 
       case INIT: {  // simulation launch/start
       } break;
 
       case ON_OPEN: { // on window show
       } break;
 
       case ON_CLOSE: { // on window hide
       } break;
 
       case CLEAN: { // simulation stop/exit
       } break;