Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

 %OBJ%:W_KEYBOARDMETHODS contains the array of the keys of the current
 object

 The varieties for movement, freeze of columns,  tag, untag, cell modification
 are contained in this array.

 Each element of %OBJ%:W_KEYBOARDMETHODS are in turn an array of
 values composed in the following way:

 +------------------------------------------------------------+
 | Value     | Description                                    |
 |-----------+------------------------------------------------|
 | MTD_ACT   | Action                                         |
 | MTD_WHEN  | Condition of ability                           |
 | MTD_RUN   | Condition of runtime                           |
 | MTD_BLOCK | Function to perform                            |
 | MTD_MSG   | Message                                        |
 +------------------------------------------------------------+

 The following cycle shows all the actions with the relative messages
 in relationship

 LOCAL nMes

 FOR nMes := 1 TO LEN(%OBJ%:W_KEYBOARDMETHODS)
     ? %OBJ%:W_KEYBOARDMETHODS[nMes][MTD_ACT]+"-"
       %OBJ%:W_KEYBOARDMETHODS[nMes][MTD_MESSAGE]
 NEXT

 to modify a key it is sufficient to perform the following code

 LOCAL nMes

 // If found the key changes the page
 nMes := AEVAL( %OBJ%:W_KEYBOARDMETHODS, {|aMtd|aMtd[MTD_ACT=="Atb"]} )

 // Comes replaced with CTRL+ T
 IF nMes > 0
    %OBJ%:W_KEYBOARDMETHODS[nMes][MTD_ACT] := "C_t"
 ENDIF


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson