Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== COUNT property (Image) ====== ==== Description ==== Specifies the number of individual images in an image file. For an object that can support many images (like a TOOLBAR), or several image states (like a PUSHBUTTON), it is often better to have a single file containing all the required images arranged in a horizontal strip rather than loading individual files. The INDEX property is then used to display the desired image. For example the following image file would have a COUNT property of 6, and setting the INDEX property to 4 would display the "search" image: {{Count.png?192x24}} ==== Property Value ==== This property is an integer value, greater than 0. ==== Property Traits ==== ^Development^Runtime^Indexed^Scaled^Synthetic^ |Get/Set|Get/Set|No|No|No| ==== Remarks ==== This property supersedes the deprecated IMAGECOUNT property in previous versions of OpenInsight. ==== Example ==== <code> // Set the number of images in the IMAGE object and display the // the 4th image ObjxArray = @Window : ".IMAGE" PropArray = "COUNT" DataArray = 6 ObjxArray := @Rm : @Window : ".IMAGE" PropArray := @Rm : "INDEX" DataArray := @Rm : 4 Call Set_Property_Only( ObjxArray, PropArray, DataArray ) </code> ==== See Also ==== Image INDEX property. guides/oi10/presentation_server/count_property_image.txt Last modified: 2023/10/25 10:49by 127.0.0.1