[Migrated content. Thread originally posted on 16 May 2012]
In adding other dialogs to my initial form group for questions & things I have code in my main form that reads as follows...* The DELETE button gets pressed.
*//////////////////////////////////////////////////////////////////////////////
method-id DelButton_Click final private.
local-storage section.
01 Result type DialogResult.
01 MessageDialog type BankSetup.ConfirmMessage.
procedure division using by value sender as object e as type System.EventArgs.
set MessageDialog to new BankSetup.ConfirmMessage
invoke MessageDialog::ShowDialog() RETURNING Result
My question is how do I check the value of RESULT?
Have tried...
if MessageDialog::DialogResult = Result::OK but I get an error stating that 'Could not find method OK with this signature'.
Have looked all over the msdn stuff and it says that OK at the end should work. What am I missing?