ban2/png

tutor/gif
Home

cell/gif

Gadgets and client-side sprites

cell/gif
1/gif Add a Sprites file to the resources directory of application 1.2
Any sprites file named Sprites, placed in a resources directory, is automatically loaded into memory when the application is run. Since this file is loaded into application memory space, the sprites they contain are referred to as client-side sprites. spr/gif
Contents of file Sprites
2/gif Edit the application's window

win/gif

Double-click the window's template and edit the window via its main edit dbox (opened by double-clicking). Open the gadgets prototypes window (Ctrl-G or via the popup menu). Drag button and action gadgets onto the window.
3/gif Edit button gadget
  1. Double-click the button gadget to open its edit dbox
    edit/gif
    a)Select the Sprite option
    b)Type the name 0 in the writable icon
    c)Deselect the border option
    d)Select Use client's sprite area.
  2. Open the window's Other properties... dialogue box and select the Sprites> radio button
    sp/gif
  3. You should now have a window like this
    fini/gif
4/gif Worked solution