EnglishУкраїнськаmRussian
Login/New
Topic with no new replies

Opening project pages control


Author Message
Written on: 26. 08. 2012 [07:27]
OPMOTOR
OP MOTORS
Topic creator
registered since: 21.01.2011
Posts: 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.

[This article was edited 1 times, at last 26.08.2012 at 07:28.]
Attachment

page1.png (File type: image/png, Size: 117.61 kilobytes) — 2337 downloads
page2.png (File type: image/png, Size: 86.62 kilobytes) — 2372 downloads
page1-widget.png (File type: image/png, Size: 146.23 kilobytes) — 2365 downloads
Written on: 27. 08. 2012 [07:57]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 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.
Written on: 28. 08. 2012 [14:35]
OPMOTOR
OP MOTORS
Topic creator
registered since: 21.01.2011
Posts: 13
Just to inform that i got it working right now, thank you.



10249