Hello Robert,
Some time ago I wrote a function for setting the viewsize, maybe it'll help:
type viewSizeType
width as integer
height as integer
end type
public viewSize as viewSizeType
sub main
dim viewNum as integer
viewNum = val(command$)
if viewNum < 1 or viewNum > 8 then
foutmelding.nummer = 1201
foutmelding.omschrijving = "Geen of verkeerde parameter meegegeven" exit sub end if
mbeSendCommand "MDL LOAD VIEWCTRL"
mbeSendCommand "MDL LOAD VIEWSIZE"
mbeSendCommand "VIEWSIZE ICON"
mbeSendCommand "SELVIEW " & trim$(str$(viewNum))
mbeSetAppVariable "VIEWSIZE", "viewSizeInfo.standardSize", 10& 'custom mbeSetAppVariable "VIEWSIZE", "viewSizeInfo.width", viewSize.width mbeSetAppVariable "VIEWSIZE", "viewSizeInfo.height", viewSize.height mbeSendCommand "SELVIEW " & trim$(str$(viewNum))
mbeSendCommand "NULL"
end sub
I don't know about the location of the view.
Regards,
Michon Cirkel
devMap
Robert M. wrote:
Hey There,
Is there a way to control the size and/or resize view windows using a msBasic Command / Function or cExpression? Also, if possible the location of the view window.
I thought I could call it through a cExpression but I'm not sure.
Regards
Robert