Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Mouse interface routines - <b>removebutton()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 REMOVEBUTTON()
 Remove a mouse screen button with associated function key
------------------------------------------------------------------------------
 Syntax
      RemoveButton(<aId>, <lRestore>) -> NIL
 Arguments
     <aId> which is the id information provided by Button() of the button
           to be removed
     <lRestore> which signifies if you wish to restore the screen. The
           default is .T.
 Returns
      NIL
 Description
      This routine provides a method to delete a button from the screen
      and restoring the screen to the original state if requested.
 Examples
     aId1=Button(0,0,0,6,"Help",K_F1,{|| MyHelp()},MREAD,"W/N")

     <Some Code>

     ButtonCool(aId1)

     <Some Code>

     ButtonWarm(aId1)

     <Some Code>

     RemoveButton(aId1, .F.)
 Header File: MOUSE.CH


 Source: MBUTTON.PRG

 Author: Leo Letendre

See Also: Button() ButtonCool() ButtonWarm()

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