- - * - WhiteUnicorn - * - -




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >


Frequently Asked Questions

Using a TQRExpr component at run-time

Question:

How do I check the value of QRExpr control at runtime?

Answer:

The Value property of a TQRExpr component is of type 

TQREvResult. You can check Value.Kind to see what the 

data type is. The following table shows how to retrieve the 

results of the expression based on the value of Value.Kind:



  Value.Kind   The result is in

   resInt       Value.IntResult

   resDouble    Value.DblResult

   resString    Value.StrResult

   resBool      Value.BooResult

   resError    there was an error



The constants are defined in the QRPrntr unit.




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >



- - * - Anastasija aka WhiteUnicorn - * - - LJLiveJournal
PFPhotoFile