Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-05

Lazarus RC1 - Test

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael W. Vogel
to Joe: I am using a TSQLQuery named Query on a Form. Code Completion offers a property…
Joe wrote 5 lines
I am using a TSQLQuery named Query on a Form. Code Completion offers a property 'RecordCount' for Query. See first Screen Shot 'Offer.png'. But the "Liste der überwachten Ausdrücke" says: "Type TSQLQUERY has no component named RECORDCOUNT".

Maybe the hint is a bit misleading (imho "property" would be better than "component"), but yes, "currently the debugger does not support any method execution. Therefore only properties that refer directly to a variable can be inspected", see also:
http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Properties

Kind regards

Michl

Reply by email

Joe

I am using a TSQLQuery named Query on a Form.
Code Completion offers a property 'RecordCount' for Query. See first Screen Shot 'Offer.png'.
But the "Liste der überwachten Ausdrücke" says: "Type TSQLQUERY has no component named RECORDCOUNT". See second screen shot 'refusal.png'.

Regards - Joe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Offer.png
Type: image/png
Size: 12033 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170519/61652eba/attachment-0002.png> -------------- next part --------------
A non-text attachment was scrubbed...
Name: refusal.png
Type: image/png
Size: 12594 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170519/61652eba/attachment-0003.png>

Reply by email