Is it possible to use uiConnect() to connect to the standard shape events?
For instance I would like to connect to the "selectionChanged" event of a table. However, the selectionChanged event is not recognised despite being shown in the results of the .event() function.
Source Code:
main()
{
DebugN("myTable events:", myTable.events());
uiConnect("selectionChangedUiCB", "myTable", "selectionChanged");
}
void selectionChangedUiCB(mapping event)
{
DebugN("selectionChangedUiCB");
}
Log Result:
WCCOAui (7), 2019.10.17 10:030:21.202, CTRL, WARNING, 72, Function not defined,
Module: _QuickTest_
Panel: C:\WinCC_OA_Projects\myProject\panels\examples\myPanel.pnl
Script: Initialize
Line: 4, uiConnect, selectionChanged
WCCOAui6:["myTable events:"][dyn_string 15 items
WCCOAui6: 1: "scrolledCB"
WCCOAui6: 2: "selectionChanged"
WCCOAui6: 3: "headerClickedCB"
WCCOAui6: 4: "textFieldOut"
WCCOAui6: 5: "message"
WCCOAui6: 6: "dragDropCB"
WCCOAui6: 7: "dragEnterCB"
WCCOAui6: 8: "dragStartCB"
WCCOAui6: 9: "langChanged"
WCCOAui6: 10: "onMouseOver"
WCCOAui6: 11: "onLosingFocus"
WCCOAui6: 12: "onFocus"
WCCOAui6: 13: "doubleClick"
WCCOAui6: 14: "rightClick"
WCCOAui6: 15: "alertConfirm"
WCCOAui6:]
Thanks,
Louis
uiConnect() - Can it connect to standard shape events?
Search
-
- Posts: 20
- Joined: Tue Oct 03, 2017 12:33 pm
Re: uiConnect() - Can it connect to standard shape events?
You can use the uiConnect() function to connect to a function which called by the CTRL function triggerEvent().
Reacting on a standard event of a UI shape is not possible.
Best Regards
Leopold Knipp
Senior Support Specialist
Reacting on a standard event of a UI shape is not possible.
Best Regards
Leopold Knipp
Senior Support Specialist