• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

ImageButtons

You already know how to add images to your interfaces, as icons and image buttons in forms. By taking advantage of the ImageButton object class, defined in ImageButtonClass.js, you can take those images to the next level of sophistication, adding multiple states like normal, selected, highlighted, and disabled. You can create graphic toggles, radio buttons, and push buttons, and have them behave on cue, with just a little scripting setup.

Specifications

Creating a scriptable ImageButton involves linking to the ImageButtonClass.js file, creating and correctly naming the desired button graphics, and adding an ImageButton constructor statement to the code of your extension file.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint