Hello Everyone,
When creating user interface objects through 3gl code, I want to know the dimension of parent window like width and height in pixel, so that we can decide the size of it's child accordingly. Please refer below code:
parent.window = create.object( DsCmwindow, 0,
DsNtitle, "Main Window",
DsNprocessgroup, get.pgrp(pid),
DsNminWidth, 700,
DsNmaxWidth, 1000,
DsNminHeight, 500,
DsNmaxHeight, 700)
Here, the maximum width and height is set to 1000 and 700.
Can anybody guide how can we define the maximum size of screen in pixel ? The reason for asking this question is i want to parent.window filling up the entire screen.
Vishal
When creating user interface objects through 3gl code, I want to know the dimension of parent window like width and height in pixel, so that we can decide the size of it's child accordingly. Please refer below code:
parent.window = create.object( DsCmwindow, 0,
DsNtitle, "Main Window",
DsNprocessgroup, get.pgrp(pid),
DsNminWidth, 700,
DsNmaxWidth, 1000,
DsNminHeight, 500,
DsNmaxHeight, 700)
Here, the maximum width and height is set to 1000 and 700.
Can anybody guide how can we define the maximum size of screen in pixel ? The reason for asking this question is i want to parent.window filling up the entire screen.
Vishal