[Lazarus] Extending TRect breaks Lazarus
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Fri Nov 6 18:33:54 CET 2015
On 2015-11-06 17:19, Michael Van Canneyt wrote:
> With QMyVeryLongQueyObjectName as Q do
> try
> // Do things with Q
> finally
> Q.Close;
> end;
var
Q: TQuery absolute QMyVeryLongQueyObjectName;
begin
with Q do
try
// Do things with Q
finally
Q.Close;
end;
problem solved! ;-)
And because Q is such a short name, I wouldn't even both with the WITH
statement above. It would make for easier debugging too. eg: debug
tooltips evaluation etc.
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the Lazarus
mailing list