Siemens A31003-51730-U103-7619 Benutzerhandbuch

Seite von 336
BHB_DCO_06.fm
07/2010
OScAR-Pro Customized Operator, User Manual
6-19
   
  
  
For internal use only
The planning and implementation of a DCO Project
Create Frames and Controls
6.3.5
Add Buttons to the "Main page"
This section shows you how to create:
the Event Buttons,
the Area Buttons and
the Invoke Button.
Also, texts and images are assigned to of these Buttons.
Insert "Event" Buttons
Follow the below instructions to insert Event Buttons through the Layout window:
No. Task
References
1.
Go to the tree view of the Structure Window and open 
the node "Frames".
2.
Now open the node "Main page" under the parent 
node "Frames", still in the tree view of the Structure 
window.
3.
Insert a Button with the following attribute values:
Name:
Fire alert
Left:
150
Text:
Fire alert
Font:
Microsoft Sans Serif
Font style:
bold
Size:
10
Image scaling in %:40
Image:
FIRE.GIF
4.
Now click
 to switch to the Layout window.
5.
Select the tool 
 and click the Static element 
"Events:".
Press the Ctrl key, keep it pressed and click the But-
ton "Fire alert".
Both Control elements are now marked, with the 
Static element "Events:" now having a double border 
Frame.
6.
Use the menu item "Layout
Make same 
size
Both" to bring both Control elements to the 
same size.
Table 6-8
Insert "Event" Buttons