Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   No Access Violation For Me - Return a Property Value From a Nil Delphi Object (https://www.delphipraxis.net/164153-no-access-violation-me-return-property-value-nil-delphi-object.html)

DP News-Robot 31. Okt 2011 10:20

No Access Violation For Me - Return a Property Value From a Nil Delphi Object
 
in OOP in Delphi :: 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. Here's how to have an object return simple values even when it ...http://feeds.feedburner.com/~r/delph...~4/TSBV0Z8P6sk

More...


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:25 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz