Input Parameters | Significance |
char flg |
control flag for maximizing or resetting of: 0 = length and width 1 = length only 2 = width only |
Output Parameters | Significance |
no | - |
Return Code | Significance |
0 | no error |
1 | no widget active |
This function works like a toggle switch:
Sets the visible widget size to the values of the virtual widget size (maximize).
If, because of its position, the widget exceeds the screen size, DataView will re-assign a new position of the widget automatically.
Resets the visible widget size to the original values before the first call of the function.
If DataView changed the widget position in the first call, the widget will take its previous position again.