1. Computing & Technology

Discuss in my forum

Zarko Gajic

Delphi

By , About.com Guide

Follow me on:

Hide, Slide And Fade Away Controls On A Delphi Form

Tuesday May 15, 2012
in VCL Magic :: A simple "Panel1.Visible := false;" will make a panel invisible, but why not make it more eye candy by providing a hiding animation.

Read the full article to learn how to Use AnimateWindow API To More Nicely Hide and Show Delphi Controls

Related:

Why Delphi? - For Novice Delphi Developers and First Time Visitors!

Tuesday May 8, 2012
in For Beginners :: I've updated some of the oldies to include the latest info on what Delphi has to offer. If you are asking yourself "what is Delphi?", "what can I develop in Delphi?", "is there a future in Delphi?", "how do I start?" and alike ... here are some articles to guide you:

About Delphi Programming - for Novice Developers and First Time Visitors

What Is Delphi And What Can You Do With It (Better: What Delphi Can Do For You)

The Building Blocks Of A Delphi Application

Delphi History - from Pascal to Embarcadero Delphi XE 2

What Happened to "Borland Delphi"? What is CodeGear? What is Embarcadero?

Related:

Select XML Nodes Into IXMLNodeList Using XPath In XmlDom.Pas

Friday May 4, 2012
in Delphi and XML :: XPath uses a path notation, similar to that used in file systems and URLs, to specify and match pieces of the document. In Delphi, the XPath implementation in included in the xmldom.pas unit.

The IXMLNode does not have a way of selecting child nodes into a node collection by node name. You can iterate through all the nodes and if TXMLNode.NodeName matches "name" process it. A far better approach is to take advantage of the powerful node processing features in XPath.

Read the full article to learn how to Get IXMLNodeList Using XPath's IDomNodeSelect

Related:

Let Your Delphi Application Be Executed When A Folder Is Right-Clicked in Windows Explorer

Tuesday May 1, 2012
in Delphi TIPS :: When a users right-clicks on a folder in Windows Explorer a context popup appears. Beside standard items you can add an item for your application. When a user click the item - your application gets started and you can send it (as a parameter) the folder selected.

Read the full article to learn how to Add Your Delphi Application as Item to Windows Explorer Folder Shell Menu

Related:

Have a Tab Specific Hint for TTabSet or TTabControl Tabs

Friday April 27, 2012
in Delphi TIPS :: For TTabSet and TTabControl there's only "one" Hint property you can set and this hint will appear for the entire control - not taking into account the selected tab or alike. Here's how to have different hints when the mouse hovers over a specific tab of the tab control.

Read the full article to learn how to Implement Custom Hints For Each Tab in Delphi's TTabSet or TTabControl

Related:

Add A Grab Bar To The TSplitter

Tuesday April 24, 2012
in VCL Ideas :: The TSplitter Delphi control does a nice job of allowing the user to resize user elements like panels on a form to make the user interface more flexible. A nice to have for a splitter would be to have a grab bar - and here's how to easily paint one on all your splitters - without having to redesign your user interface.

Read the full article to learn how to Upgrade Your Delphi Application Resizable User Interface In Seconds

Related:

Faking HideSelection Property for a TCheckListBox

Monday April 23, 2012
in Delphi TIPS :: Even when you tab out of a check list box (where focus gets shifted to another control) there will still be a visual indicator for the selected item.

I am not interested in what is the selected item (if there is one) nor I want the visual indication of which item is selected when focus shifts to another control.

Read the full article to learn how to "Hide" The Selected Item When Focus Shifts Out Of A TCheckListBox

Related:

Shortcut Keys In Delphi MDI Applications - Predefined By Windows And User Defined

Thursday April 19, 2012
in MDI development :: Delphi MDI Applications Even though MDI as a concept was designed decades ago, there are still new applications being developed using MDI approach - or old applications that you need to maintain. Providing shortcut keys for some common actions in your MDI child forms is something that will make your application more user friendly. Do you know there are some shortcuts you cannot use?

Read the full article to learn about Predefined Windows MDI Shortcut Keys - Or "Why CTRL+F4 closes my child form?"

Related:

Implementing Floating / Dockable Forms Without Dragging Or Dock Sites

Tuesday April 17, 2012
in VCL Ideas :: There's a group of controls on a tab sheet of a page control. There's a group of controls on a panel. Here's how to undock the controls from their original parent and make them float in a floating form / window. And unfloat / dock again. No dragging, no docking sites, easy and scalable.

Read the full article to learn how to Dock And Float Forms In Delphi - No Dragging

Related:

Implementing OnStateIconClick In TListView - Radio Group Like ListView

Monday April 16, 2012
in TListView Ideas :: I needed to have a way to allow a user to select / check / mark one item from the list. I could not use the Selected property as it was also needed that one item can be selected while the other can be checked. The Checkboxes property was not of help. Checkboxes allows checking several items at a time. What I needed is something like a radio group where only one list item in a list view can be checked at a time. I also needed for some items to be non-checkable.

Read the full article to learn how to Change the State of a List Item By Clicking on the State Image (htOnStateIcon)

Related:

©2012 About.com. All rights reserved.

A part of The New York Times Company.