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



If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2012
[ home ]