Hello everyone,
I could not find the answer on the forum so I decided to post the question.
With NGInputTaskDialog, OnButtonClick event how do I check if the verification checkbox is checked or not checked.
I have tried tons of variation around the tdfVerificationFlagChecked flag, but was unable to distinguish a checked state from an un-checked state.
Thanks in advance
Cheers
Mathias
Comments
AModalResult: TModalResult; ACustomButton: TNGTaskDlgButtonItem;
var ACanClose: Boolean);
begin
if AModalResult = mrYes then
begin
if tdfVerificationFlagChecked then ShowMessage('checked') else ShowMessage('unchecked');
end;
end;
AModalResult: TModalResult; ACustomButton: TNGTaskDlgButtonItem;
var ACanClose: Boolean);
begin
if AModalResult = mrYes then
begin
if tdfVerificationFlagChecked IN NGInputDialog1.flags then ShowMessage('no more asking') else ShowMessage('ask me again');
end;
end;