Read the full article to learn how to Create a Custom Message Dialog with Standard Windows Icons
Related:
Explore Delphi applications from games and AI simulations to application launchers and system tools. Submit your own!
Delphi programming language is packed with features to help you make robust OOP style applications. If you are still using Delphi 7 (and prior) you might be missing some really nice language constructs.
Read the full article to learn how to Create a Custom Message Dialog with Standard Windows Icons
Related:
Read the full article to learn how to Create Star Shaped Forms
Related:
The results so far (some 2 weeks after the poll has been posted) are, at least for me, strange:
48% answered "YES"
37% answered "NO"
13% answered "I do not know"
I guess the problem here, if there is a problem, is what is meant by a "default property value"?
Picture a class you can instantiate to have an object. The object exposes properties and methods. Never mind the language the class was developed in. Be it Delphi, C++, .Net or whatever. But do mind the fact that you can use it (the class) from Delphi.
For me, the meaning of "default value" is the following: When I first read (get) the value of the property, after instantiating the object, what I receive (from the object) is for me the default value of the property..
Let's say there's a boolean property "OpenInDefaultProgram" for an object that has a method "Save". Let's say the object can "export" your report in various formats: doc, pdf, txt, rtf ... Once the report has been generated and saved, the value of the "OpenInDefaultProgram" determines should the associated application for the selected file type be started (and document loaded).
No, the Save method does not have a parameter "openInDefaultProgram" - it relies on the value of the "OpenInDefaultProgram" property.
Back to "property default value and does every property have a default value" ... if, when I read the OpenInDefaultProgram, sometimes I receive false and sometimes I receive true - this for me is a BUG.
Of course, never mind the type of the property be it string, int, enumeration or whatever.
For me, there's always a "default" value for a property - but if it is not consistent (always the same "get" value) - it's a bug. Would you agree?
Read the full article to learn how to Format a File Size in Bytes for Display
Related:
What fun is Christmas without a new toy? We have suggestions at every price point. More
Five stocking stuffers any computer user would love to wake up to. More
©2010 About.com, a part of The New York Times Company.
All rights reserved.