Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

Details of parent window

$
0
0
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

Viewing all articles
Browse latest Browse all 4216


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>