cancel
Showing results for 
Search instead for 
Did you mean: 

Datawindow UserObject

Former Member
0 Kudos

What event of datawindow userobject is triggered when the X clicked from the control menu?

thx in advance!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The only event I found which is triggered is pbm_syscommand (commandtype, x, y).

When you click on the datawindow 'X', this event is triggered with commandtype=61536.

Try this :

create a custom event mapped to pbm_syscommand.

In the script of this event, add :

if (commandtype=61536) THEN .....do your job

Note that the datawindow is not destroyed but just hidden. You can reactivate it by

dw_1.show().

HTH.

Abdallah.

Answers (0)