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

Button - Events process


Автор Повідомлення
Повідомлення створено: 28. 04. 2014 [19:01]
fgdevel
fg fg
Автор теми
Зареєстрован(а) с: 28.04.2014
Повідомлення: 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.
Повідомлення створено: 29. 04. 2014 [10:10]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зареєстрован(а) с: 12.12.2007
Повідомлення: 3743
"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.
Повідомлення створено: 29. 04. 2014 [10:43]
fgdevel
fg fg
Автор теми
Зареєстрован(а) с: 28.04.2014
Повідомлення: 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"
Повідомлення створено: 29. 04. 2014 [10:51]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зареєстрован(а) с: 12.12.2007
Повідомлення: 3743
"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.
Повідомлення створено: 29. 04. 2014 [11:56]
fgdevel
fg fg
Автор теми
Зареєстрован(а) с: 28.04.2014
Повідомлення: 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 ?
Вкладений файл

screenshot.jpg (Тип файлу: image/jpeg, Розмір: 142.22 кілобайтів) — 3007 завантажень
Повідомлення створено: 30. 04. 2014 [14:41]
fgdevel
fg fg
Автор теми
Зареєстрован(а) с: 28.04.2014
Повідомлення: 13
Anyone ?
Повідомлення створено: 30. 04. 2014 [15:11]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зареєстрован(а) с: 12.12.2007
Повідомлення: 3743
"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.



46075