home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
CLIPPER
/
PDHM
/
API.HM
next >
Wrap
Text File
|
1993-01-14
|
3KB
|
86 lines
/*
API.HM
*/
ADhm_col( <nEngine> ) --> <nColumnPosition>
-------------------------------------------
Retyrns the column position where the currently highlighted option starts.
ADhm_colors( <nENgine>, [aColors] ) --> <aCurrentColors>
--------------------------------------------------------
Sets/Gets the menu colors. [aColors] is an array of three elements:
1 - the standard color
2 - the enhanced color
3 - the forgroud part of the trigger color
ADhm_current( <nEngine> ) --> <nCurrent>
----------------------------------------
Returns the index position of the currently highlighted option.
ADhm_escape( <nEngine>, <bEscape> ) --> nil
-------------------------------------------
Defines a codeblock that gets EVALuated when the Esc key is pressed,
or when the right mouse button is clicked. If the Esc key is currently
not active (may be inactivated with ADhm_setescape()), this codeblock
never gets EVALuated.
ADhm_exit( <nEngine>, [nExitCode] ) --> nil
-------------------------------------------
Exits the menu, optionally setting the exit code to [nExitCode]. If
[nExitCode] is not passed, the exit code is set to HMX_EXIT, #DEFINEd in
Hormenu.ch.
ADhm_extra( <nEngine>, [bBeginDisp], [bEndDisp], [bUndisplay] ) --> nil
-----------------------------------------------------------------------
Same description as ADvm_extra().
ADhm_keys( <nEngine>, [aKeys], [bKeysHandler] ) --> nil
-------------------------------------------------------
Same description as ADhm_keys().
ADhm_lbuttons( <nEngine>, [aSpots], [bSpotsHandler] ) --> nil
-------------------------------------------------------------
Same description as ADvm_lbuttons().
ADhm_pulldown( <nEngine>, <aPullDown> ) --> nil
-----------------------------------------------
Specifies which options in the horizontal menu gets automatically "pulled
down" when the highlight is moved to it. <aPullDown> is an array of these
index positions.
ADhm_row( <nEngine> ) --> <nRowPosition>
-----------------------------------------
Returns the row position of the horizontal menu. Currently, this is
always the top row (zero)
ADhm_setescape( <nEngine>, <lActivate> ) --> nil
------------------------------------------------
Activates/deactivates the Esc key or the right mouse button as an
exit key. Its default status is FALSE (not active).
ADpulldown( <nEngine>, <aVMMenu>, [aVMTrigger], [xVMProcess] )
--> <nVMSelection>
--------------------------------------------------------------
Implements a pulldown ADvermenu().
<aVMMenu>, [aVMTrigger] and [xVMProcess] are the vertical menu's
options array, triggers array, and options processor. Their
meanings are similar to the corresponding <aMenu>, [aTrigger] and
[xProcess] parameters of ADvermenu().
<nVMSelection> is the return value similar to that of ADvermenu().