This worked almost complete
:bRClicked := {|| (oWnd:Move( GetSysMetrics( SM_YVIRTUALSCREEN ),;
GetSysMetrics( SM_YVIRTUALSCREEN ),;
GetSysMetrics( SM_CXVIRTUALSCREEN ),;
GetSysMetrics( SM_CYVIRTUALSCREEN ), .T. ) ),;
oBrw4:SetSize(oWnd:nWidth-50, oWnd:nHeight-150) }
It will resize the oBrw4 browse from te start position to the max right and bottom, but not from the absolute top, left.
Maybe because there are other browses locate in this region.
Anyway, It can do the job. Thanks.
↧