spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Scripting
    * GUI Slider properties

BackgroundGraphic property (slider)

int Slider.BackgroundGraphic;
Gets/sets the sprite used to draw the slider background. This image is tiled along the length of the slider.

The background graphic can be set to 0, which will draw the default grey slider background.

Example:

Display("sldHealth's background is sprite %d", sldHealth.BackgroundGraphic);
displays the sldHealth slider's background image

Compatibility: Supported by AGS 3.1.0 and later versions.

See Also: Slider.HandleGraphic


User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.