Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2003
    Posts
    26

    Grin Disable buttons/objects

    Is there a way to disable a button after its been click so it can not be clicked again untill you restart the menu? Thanks In advanced

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746

    Re: Disable buttons/objects

    Sure, use a variable and an IF statement. Generally speaking IF statements work best in situations where you only want an event to occur under a specific set of circumstances, i.e. a button which checks a variable you create such as %buttonState% to see if it's active before firing an attached action.

    Here, I built you a sample project which demonstrates this http://www.indigorose.com/temp_web/ifbutton.zip check it out...

    Corey Milner
    Creative Director, Indigo Rose Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts