GeekArticles
Programming
Delphi
Programming
DelphiNo Access Violation For Me - Return a Property Value From a Nil Delphi Object
in <a in Delphi</i></a> :: <a /></a>
When a Delphi object type variable is nil, accessing any of the object properties would blow an access violation exception to the user. Sometimes you simply need nil objects to return some kind of a default value. how to have an object return simple values even when it has not been assigned.
<p>Read the <b>full article</b> to learn how to <b><a Check For Assigned - Ensure Your Nil Delphi Objects Return Property Values</a></b>
<p><b>Related:</b>
<ul NIL value and the Assigned RTL Function</a></li>
<li><a class properties in (Win32) Delphi</a></li>
<li><a Access Violations</a></li>
</ul>
<p 1px solid Access Violation For Me - Return a Property Value From a Nil Delphi Object</a> originally appeared on <a Delphi Programming</a> on Tuesday, December 15th, 2009 at 07:31:12.</p><p><a | <a | <a Access Violation For Me - Return a Property Value From a Nil Delphi this</a></p>
Sponsored Links
Related Topics
Delphi Programming Almanacs: 1998. - 2011. Something for Every Delphi Developer: Beginner or a Guru!
Subscribe via RSS
Delphi
- A load of ASP.NET related tutorials, articles, tips and tricks!
- How to move PageControl's tabs using drag'n'drop
- Charts in database applications
- Creating Components Dynamically (at Run-Time)
- The role of the "AOwner" parameter in the Create constructor
- Creating a roll up form (with animation)
- Poll: Do you already have some experience with Delphi?
- Creating a database from Delphi code
- TMemoBar - T(Custom)Memo extender
- How to click-and-select a line in TMemo
