This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
bExit :=LMDTaskDialog1.Execute ;
if bExit then ShowMessage('OK') else ShowMessage('no');
Why is bExit True for both OK & No ?
Have just checked but there is no such TaskDialog Demos in the LMD SE :-(
Can you assist ?
Thank you.
I tried
if LMDTaskDialog1.execute then
ShowMessage(IntToStr(LMDTaskDialog1.ResultRadioButtonId)) ;
The LMDTaskDialog1 has 2 buttons, Ok & Cancel. The return value is 0 for both buttons.
I need to know which button is clicked to process the results of the btn click
Thank you
[Error] d_LMDTaskDlg.pas(157): Types of actual and formal var parameters must be identical
ShowMessage(IntToStr(LMDTaskDialog1.ResultRadioButtonId)) ;
if LMDTaskDialog1.execute then
ShowMessage(IntToStr(LMDTaskDialog1.ResultButtonId))
works :-) Yes returns 1 and No returns 7
Thanx