Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>button_edt()</b> c_exam08 http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
BUTTON_EDT()                                                        C_EXAM08
   Modifies a button on the specified menu.

   Syntax
         BUTTON_EDT(nMenuNum,nButtonNum,nNonSelect,cButtonText)

   Arguments
         nMenuNum    Sets the number of the button's menu.
         nButtonNum  Sets the number of the button to edit.
         nNonSelect  Sets whether the button is available or not.
                     0 = Button is available for selection.
                     1 = Button cannot be selected.
         cButtonText Sets the new button text for the label.

   Returns
         None

   Description
         BUTTON_EDT() modifies certain attributes for a specifed menu button.
         The button's ability to be selected can be turned on or off and the
         button's label can be changed.

         If .F. is specified for any attributes, that item will not be
         updated.

   Examples

         Toggle a menu choice between on and off:

         IF _choice = ortho_button
            ORTHOGONAL(ABS(ORTHOGONAL()-1))
            _ortho_text = 'Orthogonal is ' + ;
               IF(ORTHOGONAL()=1,'ON ','OFF')
            BUTTON_EDT(menu_num, ortho_button, .F., ortho_text)
         ENDIF

See Also: BUTTON_ADD() BUTTON_CNT() BUTTON_CUR() BUTTON_HOT() CLR_BUTTON()

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