Detect which button is clicked in a dw (PB6)Tag(s): Datawindow


[ButtonClicked event]
string button_name
button_name = dwo.name
CHOOSE CASE button_name
   CASE "cb_ok"
    MessageBox("Testing", "cb_test is clicked")
   CASE "cb_cancel"
    MessageBox("Testing", "cb_test2 is clicked")
END CHOOSE

blog comments powered by Disqus