Gets or sets the file name of the image to display in the control or form.
This property supports SVG, PNG, JPEG, GIF (including animated GIFs), BMP and ICO file types.
object.Picture = [picture]
Where object is an object expression that evaluates to one of the controls in the Applies To list, and pictureis a string expression specifying the image file.
Newlook Smartclient
Newlook Server
The Picture property is used to specify the default background image for the command button, regardless of its state. If the button contains text then the image will be displayed behind the button text.
To display an alternate image when the control is clicked, specify an image in the DownPicture property of the control.
To display an alternate image when the control is hovered over, specify an image in the HoverPicture property of the control
To display an alternate image when the control is disabled (the Enabled property is set to False), specify an image in the DisabledPicture property of the control.
Newlook Smartclient
Newlook Server
The Picture property is used to set a background image for a form. The PictureOpacity, PictureAlignment and PictureSize properties can be used to position the image on the form. If you wish to display a background image on every form in your application, set the Background Picture option in Display Settings.
Newlook Smartclient
Newlook Server
The Picture property is used to specify a background image for the frame. The PictureOpacity, PictureAlignment and PictureSize properties can be used to position the image in the frame.
The Picture property is only supported for the Frame control in Newlook Server if the Style property is set to FramePanel.
Newlook Smartclient only.
Introduced for the FunctionKey object in version 11.0.5.
The Picture property is used to specify a custom image for a function key. Any image specified in this property will be scaled uniformly to the height of the function key bar.
Newlook Smartclient
Newlook Server
The Picture property is used to specify the default image for the control.
To display an alternate image when the control is clicked, specify an image in the DownPicture property of the control.
To display an alternate image when the control is hovered over, specify an image in the HoverPicture property of the control.
To display an alternate image when the control is disabled (the Enabled property is set to False), specify an image in the DisabledPicture property of the control.
Newlook Smartclient
Newlook Server
The Picture property is used to specify a custom icon for the menu item. It will appear to the left of the menu text.
To display an alternate image when the menu item is clicked, specify an image in the DownPicture property of the control.
To display an alternate image when the menu item is hovered over, specify an image in the HoverPicture property of the control.
To display an alternate image when the menu item is disabled (the Enabled property is set to False), specify an image in the DisabledPicture property of the control.
Newlook Smartclient only.
The Picture property is used to specify a background image for an individual tab page. The PictureOpacity, PictureAlignment and PictureSize properties can be used to position the image in the page.
The image specified can be a local file or one stored on an http or ftp server.
If you are specifying a local file, the image path should be relative to the Newlook solution path, C:\ProgramData\Newlook 11.1.
For example if your image, Banner.png, was located in the folder C:\ProgramData\Newlook 11.1\@MySolution\Images, then you would specify the path @MySolution\Images\Banner.png
.
If your image file is located outside the Newlook solution folder then the full path must be specified.
For Smartclient deployments, it is important to note that any image file must reside in the same location on any user machine that you deploy your solution to. For this reason it is highly recommended that any images referenced in your solution are stored within your Solution folder.
To use a file on an http or ftp server, you will need to specify the full URL for the file, for example:
http://www.looksoftware.com/Images/ManWithHat.svg
This property may be specified as an expression in Designer, by preceding the expression with an equals (=) sign. The expression will be evaluated when the Form is initialized, and the property will be set to the result of the evaluation.
PictureAlignment property | PictureOpacity property | PictureSize property | HoverPicture property | DisabledPicture property | DownPicture property
© 2004-2021 looksoftware. All rights reserved.