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?
It would be a bad idea to put that code into the control. You should handle the control in the dialog rather than handling the dialog in the control.
Think of a button, the only thing it does when it is pressed is to invoke the clickResponder. The clickResponder is implemented in the dialog, because it is the dialog that knows what the button click should mean.
clauses
onMouseDown(_Source,_Point,_ShiftControlAlt,_Button):-Saisie=annonceJoueur::boite(),ifSaisie=true then% acquisition phase maps, tip shape on the move
Novice, very novice in Visual Prolog and even poorer in English