How to Start and Control Netscape Navigator

Posted December 15th @ 9:26 pm by m3Rlin

If you want to include a link to a web page and you want Netscape Navigator to do it you may want to look at this code. This should work with Netscape Navigator. This function has not yet been tested with Netscape Navigator 6.0.

uses
DDEMan, Registry;

procedure StartNetscape(const sURL: string);
const
sNETSCAPE = ‘Netscape’;
var
[...]

How to Clear Multiple Edits Without Refering to Them One by One

Posted December 15th @ 9:23 pm by m3Rlin

Let’s say you have a data entry form or a MP3 ID3 tag editor form. The user clicks the “Clear” button. The more edit controls you have the less you want to write the code to clear them Well, here’s a better idea:

procedure TMainForm.btnClear(Sender: TObject);
var
iI: Integer;
begin
for iI := 0 to [...]

« Previous EntriesNext Entries »