Language Reference Guide : System Classes : SpriteDescriptor Class : DescriptorString Attribute
 
Share this page          
DescriptorString Attribute
Data Type: StringObject
4GL Access: RW
The DescriptorString attribute specifies the text encoding equivalent to this descriptor's property settings.
The text encoding is required by the SpriteMap parameter of the ActiveField UpdBackground Method) in order to display sprites on the field background.
It is not necessary to work directly with this attribute. The following examples illustrate how a set of sprites can be displayed without explicitly accessing this attribute (in the code, mydescriptors is an array of SpriteDescriptor objects):
mydescriptor.ApplySpriteMap(targetfield=myfield, descriptors=mydescriptors);
field(myformfield).UpdBackground(cornersize=5,
spritemap=mydescriptor.SpriteMap(descriptors=mydescriptors));
Default: NULL