boolean SetCoordinates(short nCol, short nRow, short nWidth, short nHeight);
void SetMenuHeight(short nHeight)
void SetMenuWidth(short nWidth)
void SetStartColumn(short nCol)
void SetStartRow(short nRow)
Function SetCoordinates(nCol As Integer, nRow As Integer, nWidth As Integer, nHeight As Integer) As Boolean
Sets some values of the local menu array.
Sub SetMenuHeight(nHeight As Integer)
Sub SetMenuWidth(nWidth As Integer)
Sub SetStartColumn(nCol As Integer)
Sub SetStartRow(nRow As Integer)
Sets one value of the local menu array.
Return value
True=successful, False=error, RF linlk lost.
Parameters
nCol
The horizontal position of the upper left side of the menu
rectangle (0 based).
nRow
The vertical position of the upper left side of the menu
rectangle (0 based).
nWidth
The width of the menu rectangle (the menu is surrounded by a
one character graphic character).
nHeight
The height of the menu rectangle (the menu is surrounded by a
one character graphic character).
Remarks
A menu has some global attributes that can be set or got by the application.
The values will be set individually or at once (SetCoordinates).
The default values are :
nCol=0, nRow=0
nWidth=the terminal width.
nHeight=the terminal height.
Example
' Set the menu rectangle area
wsRfMenu.SetStartColumn 0
wsRfMenu.SetStartRow 0
wsRfMenu.SetMenuHeight 8
wsRfMenu.SetMenuWidth 20
See also RFMENU, GetMenuXXX