fgl_window_getoption() returns information about the current application window.
It returns a string value instead of integer value it used to return in earlier versions, since the new functionality requires it.
This function uses the syntax:
fgl_window_getoption (option)
This table summarizes some of the possible options:
|
name |
the name of the window |
|
x |
the column position |
|
y |
the line position |
|
width |
|
|
height |
|
|
border |
TRUE if window has a border |
|
formline |
the form line |
|
menuline |
the menu line |
|
commentline |
the comment line |
|
messageline |
the message line |
|
errorline |
the error line |
|
insertkey |
|
|
deletekey |
|
|
nextkey |
|
|
previouskey |
|
|
acceptkey |
|
|
helpkey |
|
|
abortkey |
|
|
inputwrap |
TRUE if input wrap option is used |
|
fieldorder |
0 if the field order is UNCONSTRAINED, 1 if field order option is CONSTRAINED, and 2 if the field order is FORM |
Values returned for keys are the same as the values returned by fgl_getkey().