×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 2511096, Entry date: 11/03/2010
(0)
Rate

How do you open the picture windows "@TOP01...@TOP16" in any position in the "@1001.pdl" picture?

  • Entry
  • Associated product(s)
You want to change the position of the picture windows "@TOP01...@TOP16" in the "@1001.pdl" picture. The pictures are to open always at the current cursor position. This picture position is permanently linked to the properties/events of the picture windows "@TOP01...@TOP16" in the "@1001.pdl" picture.

The functions "SSMOpenTopFieldFixedSize" and "SSMOpenTopField" do not offer you any parameters (x,y) to change the picture position of the window to be opened.

Procedure
For this you have to go to Object Properties and dynamize the event
"Event\Property Topics\Miscellaneous\Display"
of the picture windows "@TOP01-@TOP16" in the picture "@1001.pdl" using the following C functions:

C function:

Bildfenster.pdf (3 KB)

The function reads out the current cursor position and accordingly sets the X-position, Y-position properties of "@TOP01-@TOP16".

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.