Українська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
Сообщения: 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.
Сообщение создано: 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
Сообщения: 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.
Сообщение создано: 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 килобайт) — 3174 загрузок
Сообщение создано: 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
Сообщения: 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.



12243