March 18, 1999

DevX - Software Development Resource

Descendants of TTreeNode Not Compatible

Question: I am having troubles with the TTreeView component and adding custom derivations of TTreeNodes to it. I want to define a new type of TTreeNode with a lot of

DevX - Software Development Resource

Load a Text File Into a Memo

Question: How do I read a file on the A: drive into my program and then display the contents into an edit box? Answer: I’m not sure you’d want to

DevX - Software Development Resource

Type-Declaration Characters

Question: I’m having problems passing variables to an API function. I always receive a Type mismatch error. I reproduced the situation in Visual Basic and found that if I used

DevX - Software Development Resource

Different Versions of Delphi and the BDE

Question: Is it possible to have two different versions of the Borland Database Engine (BDE) installed on the same machine? I’ve been developing in Delphi 3, recently went to Delphi

DevX - Software Development Resource

Refreshing the Desktop

Question: How do I refresh the desktop after I draw on it? Answer: Simple: call the Invalidate method for your form, and the window will refresh.

DevX - Software Development Resource

Open Database Error

Question: I am updating an application that was developed to make an executable test version. However, the live database is opened, not a test database. I have made a test

DevX - Software Development Resource

Drop Word Documents Into FrontPage 98

If you have a Microsoft Word document that you want to insert into an HTML page in FrontPage 98, you don’t have to open Word to convert to HTML. With

DevX - Software Development Resource

Writing an Event Producer

An event producer is also known as the “source” of the event. Java does not define a base class or an interface for the event producer. However, the Listener design