УкраїнськаEnglishmRussian
Вхід/Новий
У темі немає нових постів

Opening project pages control


Автор Повідомлення
Повідомлення створено: 26. 08. 2012 [07:27]
OPMOTOR
OP MOTORS
Автор теми
Зареєстрован(а) с: 21.01.2011
Повідомлення: 13
Hi OpenScada friends.

I need to learn to link the different pages of a project , so as I understand it is done by the use of the processing of events, I want to do something basic, I want to open a project page (see image: page 2) by “click “ a button ( Figuras ) on the Main page ( see image: page 1).

I need to know how and were enter the event processing that occur when I do “click”, reading the VCA concepts file I know that the format is :


The mechanism "Scenario of the opening pages control" is based on the core attribute of the widget "evProc", which contains the list of scenarios of operations of the opening
pages with the following syntax:<event>:<evSrc>:<com>:<prm>. Where:
event - the expected event;
evSrc - the path of the nested widget-source of the event;
com - session command;
prm - parameter of the command;


I have the follow code inside the event processing

ws_BtPress:/Selector21:open:/pg_so/figuras/*/*

But, where I must enter it:
In the Event processing of the page inside the projects tab?
or
I the Event processing of the widget inside the widgets tab? ( see image : page1-widget )


But I really don't found the way to open a new page by just do click on the Main page of my project, so my request is, do you have some example about how to do it?, could you guide me where to review this configuration?
Thanks a lot.

[Повідомлення редагувалось 1 раз(ів), останній раз 26.08.2012 в 07:28.]
Вкладений файл

page1.png (Тип файлу: image/png, Розмір: 117.61 кілобайтів) — 2296 завантажень
page2.png (Тип файлу: image/png, Розмір: 86.62 кілобайтів) — 2327 завантажень
page1-widget.png (Тип файлу: image/png, Розмір: 146.23 кілобайтів) — 2325 завантажень
Повідомлення створено: 27. 08. 2012 [07:57]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зареєстрован(а) с: 12.12.2007
Повідомлення: 3747
"OPMOTOR" wrote:

I need to learn to link the different pages of a project , so as I understand it is done by the use of the processing of events, I want to do something basic, I want to open a project page (see image: page 2) by “click “ a button ( Figuras ) on the Main page ( see image: page 1).

See to DemoDB for "Control panel" call from different frames and widgets.

"OPMOTOR" wrote:

But I really don't found the way to open a new page by just do click on the Main page of my project, so my request is, do you have some example about how to do it?, could you guide me where to review this configuration?
Thanks a lot.

See to DemoDB for "Regulator's control panel" processing click into frame for "Control panel" call.

Learn, learn and learn better than work, work and work.
Повідомлення створено: 28. 08. 2012 [14:35]
OPMOTOR
OP MOTORS
Автор теми
Зареєстрован(а) с: 21.01.2011
Повідомлення: 13
Just to inform that i got it working right now, thank you.



41743