AddDelphi Tips
Tips 71-80 of 94
Go to << Prior 1 2 3 4 5 6 7 8 9 10 Next >> page 
Why freeze you program? Allow the user to cancel a long process! - 18 June, 2002 - Preecha Warapapong

Don't freeze your program.
If your main thread goes in a loop, your application will be frozen.
What if the user want to cancel the running activity?
So make it a thread and make the termination of the loop depend on the...

Drag the form by the client area, NOT the title bar - 12 June, 2002 - Preecha Warapapong

This lets the user drag the form by the client area, but not the title bar.
To mannually disable such dragging, set Form1.AllowDrag to false.
To enable draggin, set the property to true.
...

Calculate / find the points on a line. - 06 March, 2002 - Brent Duguay

This function will return the list of points found on a line from (x1,y1) to (x2,y2).
The procedure will calculate the points in the direction the line is drawn. For the line (x1,y1)--------(x2,y2) or the line (x2,y2)-------(x1,y1) the...

to calculate a checksum by modulus 10 which is used in barcodes - 27 December, 2001 - Mike Shkolnik

I want to publish a code for checksum calculation by modulus 10 which is used in the barcodes. I must say that this "mod10" is specifical so readf an article if you're interested.

This algorithm is very popular for UPC barcodes...

to use extended Windows dialogs - 27 December, 2001 - Mike Shkolnik

Today I want to show a few samples how you can use the extended dialogs from MS Windows (Find Files, Find Computer, Select Icon etc) in own code.

Usually the MessageDlg is most used from standard dialogs but inside of Windows...

Shaking a Form ! - 21 December, 2001 - Babak Sateli

Hi

Just put a button in your form and insert
these commands in the OnClick Event !

Have Fun ;)

------------------------------------------------------------------------

procedure...

A tip for placing new links on desktop... - 14 December, 2001 - Joseph Bernath

I've read several articles about this problem,
and each of them use ishelllink object, to which
they give the .setarguments method to give
path and filename.
It gives the string, as they say.
Well, i tried it,...

Opaque Window - 26 October, 2001 - Ricardo Arturo Cabral Mejia

1.create a form.
2.Insert a shape(choose the shape you like).
3.In the object inspector, brush property, select the color you want to be opaque.
4.In the pen property, set mode to pmMask.

Make the form...

to create an appointment in MS Outlook - 23 October, 2001 - Mike Shkolnik

Today I want to continue a serie of tips for MS Outlook
automatization from Delphi.

If you want to create a new appointment, you can use a code sample
below:

uses ComObj;

procedure...

strings with more than 255 characters - 14 October, 2001 - Ricardo Arturo Cabral Mejia

use this
variablename : AnsiString;
not
variablename : String;

Tips 71-80 of 94
Go to << Prior 1 2 3 4 5 6 7 8 9 10 Next >> page 
Latest News
Submit News Form Past News
Latest Forum Entries