Siemens A31003-51730-U103-7619 用户手册
The planning and implementation of a DCO Project
For internal use only
07/2010
6-14
OScAR-Pro Customized Operator, User Manual
BHB_DCO_06.fm
Create Frames and Controls
6.3.2
Add a background image to the "Main page"
In the next step, you need to place the map of the company plant as a background image onto
the Main page. To do so, you first need to add a "Static element" that can be used to place im-
ages, captions or info texts anywhere in the Frame.
the Main page. To do so, you first need to add a "Static element" that can be used to place im-
ages, captions or info texts anywhere in the Frame.
Follow the below instructions to create the map of the plant through the Structure window:
No. Task
References
1.
Go to the tree view of the Structure Window and open
the node "Frames".
the node "Frames".
2.
Now open the node "Main page" under the parent
node "Frames", still in the tree view of the Structure
window.
node "Frames", still in the tree view of the Structure
window.
3.
Under the parent node "Main Page", open the node
"Controls".
"Controls".
4.
Now add a new Static element with the following at-
tribute values:
tribute values:
●
Name:
Plant map
●
Left:
0
●
Top:
0
●
Width:
1280
●
Height:
1024
5.
Next, go back to the tree view and select "Image".
6.
In the list view of the Structure window, open the ed-
itable combobox of the attribute "File name" and click
"Select image...".
itable combobox of the attribute "File name" and click
"Select image...".
7.
In the window "Project images list" click the file
MAP.JPG to add the image to the image list of your
project and then close the dialog with "Ok".
MAP.JPG to add the image to the image list of your
project and then close the dialog with "Ok".
8.
In the list view of the Structure window, change the
value of the attribute "Position" to left, bottom.
value of the attribute "Position" to left, bottom.
9.
Finally, click
to save the project.
10.
Next, click
to switch to the Layout window and ver-
ify the result.
Table 6-5
Add a background image to the Main page