Picture Class
A picture box control can display a graphic from a bitmap, icon, cursor, or metafile. It displays only as much of the graphic image as fits into the rectangle that you have drawn with the Painter Picture box tool, unless the stretch property is set.
In JADE thin client mode, all picture properties set by logic are cached on both the application server and in the form file on the presentation client. When a picture has been transmitted to the client, subsequent use of that picture is achieved by use of an identifier to that picture, eliminating the need to transmit the picture data.
When an image containing transparency is displayed in a browser as part of a Web-enabled application, the following conditions must be true for the transparency to be displayed:
-
The drawing methods of the Window class, such as drawLine, are not used on the control
-
The value of the caption property of the control is null
-
The client area of the control is the same size as the image, which is true when the stretch property of the control is set to Stretch_ToControl (1)
As the Picture class is a subclass of the Control class, it inherits all of the properties and methods defined in the Control and Window classes. The Picture control class provides the JadeMask subclass.
For a summary of the constants, properties, methods, and events defined in the Picture class, see "Picture Class Constants", "Picture Properties", "Picture Methods", and "Picture Events", in the following subsections.
For details about the support of mouse wheel requests to scroll up, down, or across a picture control, see "Window Class", earlier in this document.