Visit site About Delphi Programming

March 2010

1
vote
Vote UpVote

Selecting Delphi's TListView Item When the Item's Checkbox is Checked

About Delphi Programming – in TListView Tips and Tricks :: When the Checkboxes property is True, ListView includes a check box next to the items in the list. To get the "checked" state for an item in the list view, read the Checked boolean property. You will notice that checking or unchecking the item in a list view will ...
Details Favorite? Off-Topic? 2010-03-09 06:29
3
votes
Vote UpVote

Adding Custom Properties to Delphi Forms; Overriding the Create Constructor

About Delphi Programming – in Delphi Tips :: If you need to add a custom property to a form and have it initialized *before* the OnCreate event, you will need to override the form's constructor. Read the full article to learn about Adding Custom Properties to Delphi Forms; Overriding the Create Constructor. Related: Delphi ...
Details Favorite? Off-Topic? 2010-03-08 02:00
1
vote
Vote UpVote

Display Custom TTreeView Item Hints

About Delphi Programming – in Delphi VCL :: The TTreeView Delphi control wraps the Windows tree view control. TTreeView is comonly used when a hierarhical structure needs to be displayed to the user. To display different hints for every node in a tree view, you need to change the Hint property of the TTreeView control ...
Details Favorite? Off-Topic? 2010-03-05 02:00
1
vote
Vote UpVote

Disable Automatic Hint Feature for the TTreeView

About Delphi Programming – in Delphi TIPS :: By Windows design, when you hover your mouse over an item, a hint (tooltip) window appears containing the title of the item under the mouse cursor, if the entire title is not currently visible. Sometimes, you might want to disable such tree view behavior in order to show, for ...
Details Favorite? Off-Topic? 2010-03-04 02:00
4
votes
Vote UpVote

Understanding Unicode Support in Delphi

About Delphi Programming – in Coding Delphi Applications :: If you are preparing to move / migrate your "old" Delphi applications to any Delphi version later than Delphi 2009, you must have heard that a default Delphi string type is now (where "now" means in Delphi versions >= 2009) Unicode. What does this mean? Will you ...
Details Favorite? Off-Topic? 2010-03-02 08:08
2
votes
Vote UpVote

An Easy Way to Programmatically Generate Strong Passwords

About Delphi Programming – in Delphi Ideas :: One method of generating a long password, without storing it anywhere is to select a file (either binary or text), do a little bit of processing on it then force the resulting values into the ASCII range 32-127 and output them as characters. Here's how to do it in Delphi. Read ...
Details Favorite? Off-Topic? 2010-03-01 03:00

February 2010

2
votes
Vote UpVote

How to Debug Delphi VCL Source Code (Set a Breakpoint in the VCL)

About Delphi Programming – in Delphi TIPS :: One way to locating errors while designing your code is to use the integrated debuger. If you set a breakpoint on a line in your source code, the line that contains the breakpoint appears in the Code editor highlighted. What if you need to "dive" into the source code Delphi ...
Details Favorite? Off-Topic? 2010-02-26 03:00
3
votes
Vote UpVote

Tabbed Interface (MTI) For Your MDI Delphi Applications

About Delphi Programming – in MDI Tips and Tricks :: MDI, as a preferred user interface for applications that allow multiple documents to be contained within a single window, is being abandoned by Microsoft during the last few years. Microsoft started to promote a different user interface for such applications - TDI: Tabbed ...
Details Favorite? Off-Topic? 2010-02-23 09:47
1
vote
Vote UpVote

Parsing Command Line Parameters with Delphi

About Delphi Programming – in Delphi TIPS :: Delphi's ParamStr and ParamCount functions are designed to help operate the parameters (command-line arguments) passed to the application. Due to the way ParamStr function is implemented in Delphi, parameters passed using double quotes ("") will not be parsed correctly (quotes ...
Details Favorite? Off-Topic? 2010-02-22 03:00
2
votes
Vote UpVote

Disabling Container Child Controls when the Enabled property changes

About Delphi Programming – in Delphi VCL :: When an edit box or a label is placed on a panel, in a Delphi application, if the Enabled property for the panel is set to False, the label and the edit box will *not* appear grayed - as you would expect! Here's a quick fix. Read the full article to learn how to Disabling Container ...
Details Favorite? Off-Topic? 2010-02-18 03:13
2
votes
Vote UpVote

Redirect Mouse Wheel Message To A Control Under The Mouse in Delphi Applications

About Delphi Programming – in Delphi Tips ::Mouse wheel is used for scrolling. When a scrollable control (TMemo, TListView, TTreeView, ...) has the input focus, moving the wheel will result in vertical scrolling of the content of the focused control. Many Windows applications (Delphi IDE including) have changed the default ...
Details Favorite? Off-Topic? 2010-02-16 07:49
1
vote
Vote UpVote

How to Display the & (Ampersand) Character on Labels and Buttons

About Delphi Programming – in Delphi TIPS :: By Windows design, accelerator keys enable the user to access a menu command from the keyboard by pressing Alt along the appropriate letter, indicated in your code by the preceding ampersand (&). The character after the and sign (&) appears underlined in the menu. Read ...
Details Favorite? Off-Topic? 2010-02-15 08:00
1
vote
Vote UpVote

Implement a Button with a Drop Down Menu in Delphi

About Delphi Programming – in Delphi VCL Ideas :: A "Button with a Drop Down Context Menu" appears as a normal button with an additional down arrow on the right side of the button. You will usually find such buttons on toolbars. The "arrow button" displays a drop down (popup) menu. Here's how to implement such user interface ...
Details Favorite? Off-Topic? 2010-02-11 03:00
4
votes
Vote UpVote

ORM - Object Relational Mapping / Persistence Frameworks for Delphi

About Delphi Programming – in Delphi Tools / Components :: Working with database data in Delphi can be really simple. Drop a TQuery on a form, set the SQL property, set Active and, voila, here's your database data in a DBGrid. Ok, you do need a TDataSource and a connection to a database, but that's just a few clicks away. ...
Details Favorite? Off-Topic? 2010-02-09 03:47
2
votes
Vote UpVote

Delphi's NIL value and the Assigned RTL Function

About Delphi Programming – in Delphi TIPS :: In Delphi, the NIL constant (also a reserved word) is a pointer value defined as "not-assigned" or "pointer to nothing" or "undetermined". Understand NIL before you use it... Read the full article to learn about Delphi's NIL value and the Assigned RTL Function. Related: ...
Details Favorite? Off-Topic? 2010-02-08 03:00
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Delphi Tage Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)