how to find the name of a parent dialog box that contains a control drawing
Posted: 10 Jan 2016 14:59
Hello
I draw control uses to draw playing cards.
These controls appear in multiple dialog boxes or shapes.
When I pass the mouse over the cards, I need to know what it comes dialog that will give a different event on.
How to get the name of this dialog which contien my card?
I tried with
but these codes do not refer me the same references for the different calls
thank you for your help
I draw control uses to draw playing cards.
These controls appear in multiple dialog boxes or shapes.
When I pass the mouse over the cards, I need to know what it comes dialog that will give a different event on.
How to get the name of this dialog which contien my card?
I tried with
Code: Select all
onMouseDown(Source, _Point, _ShiftControlAlt, _Button):-
stdio::write("source ",Source,"\n"),
stdio::write("label ",getLabel(),"\n"),
Parent=getContainer(),
stdio::write("container ",Parent,"\n"),
...
thank you for your help