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

Button - Events process


Author Message
Written on: 28. 04. 2014 [19:01]
fgdevel
fg fg
Topic creator
registered since: 28.04.2014
Posts: 13
Hello,

With a button placed on my first window, I'd like to know the solution to open another window when I press this button.

I guess I have to fill the "Events process" field with "ws_BtPress..."

Thanks.
Written on: 29. 04. 2014 [10:10]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"fgdevel" wrote:

With a button placed on my first window, I'd like to know the solution to open another window when I press this button.
I guess I have to fill the "Events process" field with "ws_BtPress..."

Sure, read documents: http://wiki.oscada.org/HomePageEn/Doc/VCAEngine#h887-7 , http://wiki.oscada.org/HomePageEn/Doc/VCAEngine#h887-9
And see examples into DemoDB: http://wiki.oscada.org/HomePageEn/Doc/QuickStart

Learn, learn and learn better than work, work and work.
Written on: 29. 04. 2014 [10:43]
fgdevel
fg fg
Topic creator
registered since: 28.04.2014
Posts: 13
I've already seen these documents. This is why I post this message...

I don't understand "/curtime" in this example : "ws_BtPress:/curtime"
Written on: 29. 04. 2014 [10:51]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"fgdevel" wrote:

I don't understand "/curtime" in this example : "ws_BtPress:/curtime"

It is path to included widget — source of the event.

The document written in clear:
Event itself represents little information, especially if its processing occurs at higher level. For the unequivocal identification of the event and its source in the whole the event is recorded as follows: "ws_BtPress:/curtime". Where:
ws_BtPress — event;
/curtime — the path to the child element that has generated the event.


For what events pass to place/uncomment print events line and see to the console or the messages archive.

Learn, learn and learn better than work, work and work.
Written on: 29. 04. 2014 [11:56]
fgdevel
fg fg
Topic creator
registered since: 28.04.2014
Posts: 13
See attachment file. I've a "Alarmes" button on my first window "SynoptiqueTest". And I would like to open an other window (for example here, "KCH_MN1").

This is the good path ?
Where I put the code to open another window ?
Attachment

screenshot.jpg (File type: image/jpeg, Size: 142.22 kilobytes) — 3132 downloads
Written on: 30. 04. 2014 [14:41]
fgdevel
fg fg
Topic creator
registered since: 28.04.2014
Posts: 13
Anyone ?
Written on: 30. 04. 2014 [15:11]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"fgdevel" wrote:

Anyone ?

Read documents and learn examples into DemoDB.
All the questions there described!

Learn, learn and learn better than work, work and work.



15390