property Editor.Picture as Variant
Assigns a custom size picture to an editor.

 TypeDescription 
   Variant A Picture object that indicates the picture being assigned, a string expression that may indicate the path to a picture file or a string expression that indicates the base64 encoded string that holds a picture object. Use the eximages tool to save your picture as base64 encoded format.   
The Picture property assigns a custom size picture to an editor. Use the Image property to assign an icon to the editor. The picture is displayed on the editor's label, if it's width is less that the label's width. Use the LabelSize property to enlarge the label's size. Use the Picture property to display a picture to the control's background. You can load a transparent picture ( a GIF file with transparency but set ) in order to display a transparent picture. 

The following VB sample loads a list of icons from a BASE64 encoded string:

The following VC sample loads a list of icons from a BASE64 encoded string:


Send comments on this topic.
© 1999-2007 Exontrol Inc, Software. All rights reserved.