Hi Jerry,
Most code uses mnemonics like 'MOVE' and 'SHOW' to work with windows.
You can also get the window as an object from *SYSTEM and change it through properties:
sysobj=NEW("*SYSTEM")
wdw=sysobj'Window(0) ! 0 = current window, else window number (1-based)
PRINT wdw'* ! list available properties
wdw'Caption$="New title"
wdw'BackColour=4 ! palette colour number (not RGB), e.g. 4 = blue
PRINT 'CS' ! the new colour applies to output from here on; 'CS' repaints the whole window
wdw'Visible=0 ! hide / 1 = show
'Left, 'Top and 'Visible work on dialogues. On the main window they act on the text area inside the frame, not the frame itself, so use the mnemonics for the main window.
https://manual.pvxplus.com?objctl2/overview.htm
https://manual.pvxplus.com?objctl2/sect2.2/a.htm
Most code uses mnemonics like 'MOVE' and 'SHOW' to work with windows.
You can also get the window as an object from *SYSTEM and change it through properties:
sysobj=NEW("*SYSTEM")
wdw=sysobj'Window(0) ! 0 = current window, else window number (1-based)
PRINT wdw'* ! list available properties
wdw'Caption$="New title"
wdw'BackColour=4 ! palette colour number (not RGB), e.g. 4 = blue
PRINT 'CS' ! the new colour applies to output from here on; 'CS' repaints the whole window
wdw'Visible=0 ! hide / 1 = show
'Left, 'Top and 'Visible work on dialogues. On the main window they act on the text area inside the frame, not the frame itself, so use the mnemonics for the main window.
https://manual.pvxplus.com?objctl2/overview.htm
https://manual.pvxplus.com?objctl2/sect2.2/a.htm