Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Panel - page of item PmiRoot

Description:
Panel size setup.
Configuration items:
Panel widthPanel width (in pixels).
Panel heightPanel height (in pixels).
Extend subitems By this button it is possible to do a continuous extension of the panel area size (position and size of all graphic items) in order to make all graphic items to fit into the entered panel size.
Display resolutionThe information regarding resolution of the display that is currently being used. The value represents "width x height" (in pixels).
Control enabledIf checked (default), actions over the item as for example mouse clicking, editing, etc. are functional.

If not checked then the item (and its subitems) does not get the focus and the events will not be called for example: onFocusIn, onFocusOut, onKeyPress, onMousePress, onMenuFill, onButtonUp ...

This configurator sets the initial value of the property Enabled.

Item parametersList and configuration of user defined item parameters.

It is a text in format PmNamedValues.

These parameters (opposed to the parameters in other graphic items) can be modified when the panel is opened. Then, after the panel is open, these parameters are static and cannot be modified. The parameter values of panels that are being open can be defined in two ways:
- while calling the OpenView method in the sParams parameter or
Panel background pictureIf checked, then the background image is enabled. The background of a panel does not have to be only single-color area, an image can be used instead, for example an operational scheme.
EditThis button opens a configuration window for editing the PmiRasterImage item that will be used as panel background. The button is displayed only if the background image is enabled.
Show gridIf checked then the grid will be displayed in the development environment of the panel. The grid configurators affect only the development mode. These are not used in runtime.

The grid (or raster) can be rendered in the panel. This grid (if turned on) allows to place the items on the desktop easily by sticking the edges to the grid intersection points thus aligning them. If the grid is visible then the editor would not allow the user to place or resize an object arbitrary not respecting the grid intersections - thi item sticks. (this is not true for items embedded into other items).

The grit can also be set in

- a menu item View / Raster or
- a toolbar in the item (Raster)

Raster colorGrid color
Raster sizeThe raster size (dimension between lines) is defined (in pixels).
Note:
The panel size is presented graphically by the horizontal and vertical line for better orientation when placing graphic items. The entered value of the panel size is not an option of the monitor resolution but the option of the total size of the area where items are drawn. If the value entered here is greater than the size of the client window area in OS Windows then the scrollbars are displayed in this window in the runtime mode. If it isn't required to show the scrollbars in the window, it is necessary to enter the panel size equal to the size of the client window area (into which the panel is drawn in the runtime).
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice