On 12/09/12 15:03, Mattias Gaertner wrote:

TModalResult = low(Integer)..high(Integer);

I changed the result type to TModalResult.

OK, that makes more sense.


Now what return result is TWidgetSet.PromptUser() supposed to return? Also a TModalResult?

The reason I ask, is because in fpGUI the return result of a TfpgMessageDialog is a button type (the button the user clicked), and I need to know how to map that button type to a LongInt (or LCL TModalResult) or whatever PromptUser() must return.


Regards,
  - Graeme -


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to