This member of Class WaveLinkMenu is supported on Windows Mobile, Windows CE, Palm, and DOS.
The SetCoordinates Method sets the position and size of a WaveLinkMenu object.
Syntax
public void SetCoordinates(int mnuCol, int mnuRow, int mnuWidth, int mnuHeight)
throws IllegalArgumentException
Parameters
mnuCol |
The on-screen column coordinate where the top left corner of the menu begins (starting with column 0) |
mnuRow |
The on-screen row coordinate where the top left corner of the menu begins (starting with row 0) |
mnuWidth |
The width of the entire menu. Pass a value of 0 to automatically set the width of the menu |
mnuHeight |
The height of the entire menu. Pass a value of 0 to automatically set the height of the menu |
Throws
IllegalArgumentException
Remarks
When defining the coordinates for a menu, keep in mind the limited size of an RF device's display.
If the menu coordinates are set to zero or not passed, the Wavelink Studio automatically scales the menu to either the size of the screen or the sum of the number of options and title lines (whichever is smaller).
Example
See the DoMenu Method
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other