Chau Chee Yang Technical Blog

Sunday, February 24, 2008

Resize Form even if it is borderless

›
We may make a form without borders to show some additional information using some popup windows. However, a borderless form will no longer ...
2 comments:

Move a form without dragging on the title bar

›
We usually use mouse to drag the windows form title bar to move the window on our desktop. There is a new way to move the form by just drag...
Thursday, February 21, 2008

TListBox review

›
TListBox is a simple visual component that always use for display a list of items but it has some nice features that we always neglected. U...
Saturday, February 09, 2008

Create home directory manually

›
When we use /usr/sbin/useradd to create a user, it's home directory may contain some default files or folders (it is hidden usually). H...
Thursday, January 31, 2008

Color MDI Form

›
If we want to change background color of a form: we usually do like this: Form1.Color := clYellow; However, if a Form's FormStyle i...
1 comment:
Thursday, January 24, 2008

How to avoid creation of ~BPL files in Delphi 2007

›
There is only one way to prevent creation of ~BPL in Delphi 2007 IDE: patch delphicoreide100.bpl in C:\Program Files\CodeGear\RAD Studio\5.0...
Thursday, January 17, 2008

Setup Visual Studio 2005 to build Firebird source

›
Due to I/O redirector problem in GBAK.EXE ( http://tech.groups.yahoo.com/group/firebird-support/message/90995 ), I download Firebird source...
Wednesday, January 16, 2008

Embed out of process windows into Delphi Control

›
We may easily embed a Delphi GUI control into another container control like TForm or TPanel: var F: TForm; B: TButton; begin F := TForm....
Saturday, December 22, 2007

Connect to Firebird 1.5 database on Windows Vista using Local Protocol

›
Using Local Protocol to connect to Firebird database no longer works in Windows Vista when we install firebird server using setup file's...
Saturday, December 08, 2007

Create a I/O redirection console application

›
Typical DOS application that may perform great function are GREP, MORE, SORT. These functions chain together via command redirection operat...

Scrolling TMemo and TRichEdit control at runtime

›
Here is the code to scroll TMemo control to bottom at runtime: var M: TWMVScroll; begin M.Msg := WM_VSCROLL; M.ScrollCode := SB_BOTTOM; ...
Friday, December 07, 2007

Capture the output of console process and display on your GUI application

›
I use GBAK.EXE to perform backup and restore operation of Firebird database in my GUI application design. The reason I use GBAK instead of...
Friday, November 02, 2007

Enumerate Optional Parameters of TClientDataSet instance

›
We may use GetOptionalParam and SetOptionalParam methods to access the optional parameters in TClientDataSet instance. However, if we do n...
Friday, October 26, 2007

Understand HANDLE allocated to Delphi Packages in Windows environment

›
We may seldom need to deal with Windows API when using Delphi VCL to develop a Win32 application. The most common information we may want t...
Thursday, October 25, 2007

Make non TWinControl descendant response to windows messages

›
Although using SendMessage and PostMessage isn't a good practice in OO design. However, I do need it in some situation. All the while ...
Wednesday, October 24, 2007

Improve the loading speed of Delphi application built with runtime package

›
I just come across with the article The ultimate Delphi IDE start-up hack When we use SysUtils.LoadPackage in Delphi, the following proced...
Monday, September 24, 2007

How to install Firebird ODBC Drivers

›
The Firebird ODBC drivers may obtain from http://www.firebirdsql.org/ I haven't try the Windows Full Install .exe file yet. The follo...
3 comments:
Sunday, September 23, 2007

Problems running a "LARGE" win32 application compiled by Delphi in Windows 98

›
Windows 98 kernel is not NT kernel. There are limitations on the application resource (*.RES) size and EXE file size. Application Resource...
Tuesday, September 11, 2007

Using TPopupMenu control in Delphi

›
Imagine a form that has several controls. If we right click on the control especially controls like TEdit or TMemo, a default popup menu wi...
Sunday, September 02, 2007

Install and Configure Fedora Core 7

›
I love the distribution of Fedora Core 7 in DVD ISO format. Once download it, I can mount the ISO file access the contents of the FC7 files...
‹
Home
View web version

About Me

My photo
Chau Chee Yang
View my complete profile
Powered by Blogger.