Movicon Help on Line - Rel. 11.7.1301
The Style properties of draws and control elements are used to set some of their graphical aspects.
To edit the Style properties, select the object with the mouse and use the Movicon 'Properties Window'.
Only the Style properties that are common to a major part of the draws and controls are described below. Please refer to the appropriate sections for objects predisposed with specific properties.
Enabling this check-box will make the selected component clickable. This property is available only in controls such as Buttons, Selection Buttons (Check-box), Option Buttons (Radio Buttons) etc, being those controls already predefined to execute commands when clicked.
This option box is used to define whether the operator can interact with the Viewer window or not. If this option is not selected, the user will not be able to manage the control by using the mouse or keyboard. In this case, for example, the user will not be able to put the columns into a specific order, view help documenation, or execute commands displayed in the window.
This property is only available for Viewer type controls such as the "Alarm Window", "Log Window", "DataLogger Window", and the "TraceDB Window".
Enabling this will set the list layout automatically. This means that the table columns will be resized automatically so that they can all be seen in the Viewer window area. However, when disabling this option, the window will open displaying the columns with the sizes set when programmed and, therefore, the horizontal scroll bar may have to be used to view the ones on the right not showing in the window.
This property is only available in Viewer type controls such as the "Alarm Window", "Log Window", "DataLogger Window", and the "TraceDB Window".
This option consents the Numeric or Alphanumeric Pad to show when the user clicks on the input field. The Numeric Pad will show if the variable is numeric type, otherwise the Alphanumeric Pad will show. The Pad will open in the center of the screen showing the variable's current value with the minimum and maximum limits which have been set in the object (i.e. displays) or in the variable's properties. In addition, the format of these values is the one set in the object (i.e. display) or in the variable's properties.
This property results very handy when using devices that do not have the use a keyboard.
This option will be enabled automatically by Movicon if the system being used has a Touch-Screen. Movicon will run a check to see whether the operating system has been equipped with a mouse or not, or one with the use of just one button, to determine whether a Touch-Screen exists. |
This property can be set for the following Movicon objects:
Numeric and Alphanumeric pads can nevertheless be used in systems with keyboards and may be easier to use when needing to enter data directly on screen by moving the mouse pointer from one cell to the next in a "Window" object, activating the Pad by using the keyboard's Enter, Space Bar or any other key except for the F1 key or any other used as an accelerator command.
Events:
The above listed Movicon objects offer advanced features that can be obtained through their basic script interfaces (DisplayEditCmdTarget, GridWndCmdTarget, HourSelectorCmdTarget e RecipeWndCmdTarget), that provide Basic Script Functions, Properties and Events for configuring the object with. The "OnTextChanging" and "OnTextChanged" events can be used to intercept the instance prior to editing or the one immediately after in the following ways:
When the "Prompt Pad" option is disabled, the "OnTextChanging" event is notified before the cells enter into edit mode. When set at False, the bRet parameter will impede cell value modifications from going into effect. The "ChangedText" parameter reports the new value entered in the cell. Editing operations and any relative events can be aborted by using the Escape Button.
The "OnTextChanging" event is not notified with the 'Show Pad' option set. It is only notified when using the PAD's OK or Enter buttons and the "ChangedText" parameters shows the new value inserted in the cell. The edits are abolished when using the Pad's Cancel button or the keyboard's Escape key.
For further information on Movicon object VBA interfaces, please consult the section dedicated to "API Interfacce Basic" from the "VBA Language" topic.
System Registry:
A "ShowPad" value set at "1" for default is available in the "General" registry key. This value is also usable in Windows CE. This key is only used in Touch-Screen systems and is managed together with the "Prompt Pad" property in the following ways:
"ShowPad=0" and "ShowPad=false": will not open the Numeric or Alphanumeric Pad
"ShowPad=0" and "ShowPad=true": will open the Numeric or Alphanumeric Pad
"ShowPad=1" and "ShowPad=false": will only open the Numeric or Alphanumeric Pad in Touch systems that do not support the use of the mouse otherwise will not open.
"ShowPad=1" and "ShowPad=true": will open the Numeric or Alphanumeric Pad
Caution: If the "ShowPad" key is set to "1" in Touch-Screen systems, the "Prompt Pad" property will automatically set to "True" when the object is loaded so that the Pad is enabled and ready for use when needed. At this point, however, you can disable the "Prompt Pad" again by using the object's appropriate "PromptPad" basic script property. |
This property is only available for objects defined as "viewers", such as the "Alarm Window", "Log Window", "DataLogger Window", and "TraceDB Window", as well as "List" objects.
When enabling this property, you will be able to resize the object's columns. Furthermore, the viewer will become an active window in Development mode, just like it is in Runtime mode, and therefore you will not be able to move it but only resize it.
The "Show Control Wnd" option will always activate automatically when the project runs on the Window CE platform, independently from the settings defined in design mode. The Grid object is the only Movicon object that recognizes this option in Window CE. In this case, the "Show Control Wnd" option is used to select whether to enable column resizing possible at runtime or not. When this option is disabled, it will not be possible to resize columns at runtime. |
This selection enables the command button to refresh data in the Display window in question. The refresh is performed based on the filter's active settings.
This selection enables the command button to filter data to display in the Display window in question. For further information on filter settings, please refer to the following sections:
This selection enables the command button to print data displayed in the Display window in question. Printing will be executed using the report field which must be specified in the "Report File" property. Movicon passes the same filter settings to the report for printing data that coincide with the data shown in the window in question.
This is used to enter name of the report file name to be used for printing the data displayed in the Viewer window in question. The Report files, which contain the print matrix, can be created with the Report Designer or Crystal Reports©. When this field is left blank, Movicon will use the default Report file created by the project.
This command runs the Report Designer that is used to create or edit the report to be associated to the viewer window.
The text to appear on the "Refresh Button" is entered in this edit box. When this field is left blank, the default text will be used instead.
The text to appear on the "Filter Button" is entered in this edit box. When this field is left blank, the default text will be used instead.
The text to appear on the "Print Button" is entered in this edit box. When this field is left blank, the default text will be used instead.
When enabling this option, milliseconds will also be included in the 'Time' format in the column of the window which supports this type of data.
This property is only available for Viewer type controls such as the "Alarm Window", "Log Window", "DataLogger Window", and "TraceDB Window".
This selection allows the proportional dimensions of the object to be preserved. When enabling this option, you will get geometric square shapes instead of rectangle ones and circular shapes instead of elliptic ones.
This setting allows you to select the size of the buttons which are to be displayed in the Alarm Window. The options are:
small
medium
big
This property is also available for the "Option Buttons" and "Selector Buttons" and can be used to re-proportion the text size on the control when necessary.
This setting allows you to select which position to display buttons within the Alarm Window. The options are:
left
top
right
bottom
This property is only available for the "Line" and "Connector" object types, and is used to draw the line with an arrow type ending. When enabled, you will be able to set where to place the arrow type ending (left-top, right bottom, or both).
This property is available only for the "Line" and "Connector" object types and is used to set the length of the arrow shown when the "Arrow type" property has been set.
This selection enables the component to be shown with a border frame according to the style selected. The border frame will always be a rectangle shape regardless of object's actual shape.
The options are:
none
bump
etched
raised
sunken
This property allows you to set the control button's display style. The button can in fact be displayed with different style types, e.g. lights or selectors. Please keep in mind that this setting is only a graphical representation.
The Style property is only available for Button type objects.
This selection allows Button objects to be displayed with a rounded look in 3D.
This Rounded Style is only available for Button type objects.
This setting allows the component to be displayed in 3D. This property is only available for "Rectangle" objects and gives the Rectangle a button effect.
This setting allows the component to be displayed in a 3D pressed down look. This property is only available for "Rectangle" objects and gives the Rectangle a button effect.
This property can be used by the Movicon "Alarm Window", "Alarm Banner" and "Historical Log Window", objects and "Report" resources, and allows you to set a custom format to display in the date and time fields. When using this property for the "Alarm Window' and "Alarm Banner"and "Historical Log Window" objects, you will be allowed to define a date and time format to be displayed in the "On Time ", "Ack Time", "Off Time " and "Reset Time" and "Event Time". When used for the "Report" resource, you will be able to define the format to be displayed in the Report's Date and Time fields.
For example, this custom format could be set as:
%d-%m-%Y %H:%M:%S
If a custom format is not set for the "Report" resource, the following fixed format will be used instead:
%04d-%02d-%02dT%02d:%02d:%02d.%03uZ
All the format codes that can be used in this property are listed in the "Data Formats" paragraph from the "Data Format" Section.
This property can be used by both the Movicon "Alarm window"and "Historical Log Window" objects, and "Report" resource, and allows you to set a custom format to display in the "Duration" field. When using this property for the "Alarm window" and "Historical Log Window" objects,x the duration format can be defined to display times in the "Duration" and "Total Time ON" columns. The field in this case will only be updated on an "Alarm Off" event. When dealing with the 'Report' resources, a format and be defined to be used in the Report fields which express durations.
This format can only include the following special codes:
%D = Day of event duration
%H = Hour of event duration
%M = Minutes of even duration
%S = Seconds of event duration
If this entry field is left empty, Movion will automatically insert the total event duration in the following format:
%D,%H:%M:%S
which will display as "0,00:00:00" indicating the even duration in days, hours, minutes and seconds.