Українська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 килобайт) — 2369 загрузок
page2.png (Тип файла: image/png, Размер: 86.62 килобайт) — 2401 загрузок
page1-widget.png (Тип файла: image/png, Размер: 146.23 килобайт) — 2396 загрузок
Сообщение создано: 27. 08. 2012 [07:57]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зарегистрирован(а) с: 12.12.2007
Сообщения: 3750
"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.



13815