![]() |
<< Index >> |
FutureBasic |
ImageView | statement / function | |
|
image = imageview (tag )
Description
The ImageViewImage
.
Parameters
Parameter |
Description |
tag | A number (1 through 1000000) that you assign when you create the imageview and that you refer to when altering the view. The number you assign must be different from the tag value of all other existing widgets in the current window. A negative tag hides the imageview. |
enabled | A boolean value which specifies whether the imageview should be enabled or disabled. |
image | This parameter can be NULL or one of the following: |
rect | The imageview's enclosing rectangle. This can be specified in either of two ways:
(i) (x,y,w,h) where x,y are the origin and w,h the size of the view.(ii) A |
scaling | The scaling mode applied to make the cell's image fit the frame of the imageview: NSImageScaleNone NSImageScaleProportionallyUpOrDown |
alignment | The alignment of the cell's image inside the imageview: NSImageAlignTopLeft NSImageAlignTopRight NSImageAlignLeft NSImageAlignBottom NSImageAlignBottomLeft NSImageAlignBottomRight NSImageAlignRight |
frameStyle | The style of the frame that appears around the image: NSImageFrameGrayBezel NSImageFrameGroove NSImageFrameButton |
wndTag | An optional parameter for when the imageview's window is not the current output window. Note specifying this parameter does not bring the window to the front or make it the output window. |
Dialog event
Apple documentation
NSImageView