delphi-7 Questions

1

Solved

I have a custom form which does not have any type of border. I'm drawing some custom borders of my own instead, which do not extend up to the far edges of the form. Instead, whatever's outside this...
Abbotsun asked 5/12, 2011 at 20:5

6

Solved

I'm using delphi 7 and I'm trying to make a wizard interface. I don't know if there is an easier way to make a wizard, so I was thinking of making separate forms for each step of the wizard, and wh...
Cultch asked 5/12, 2011 at 11:33

2

Solved

I got the crazy idea one day to make a completely new replacement of TApplication for experimentation. I got everything to compile and run, and it does show the main form properly, everything respo...
Grant asked 4/12, 2011 at 5:1

3

Solved

I need to know, when working with a thread (TThread) in Delphi 7, if I forcefully kill the process, will the thread be terminated or will it keep on going? My execute procedure looks like this be...
Contribution asked 4/12, 2011 at 5:10

2

Solved

I have seen on our cloud servers, there is some text printed on the desktop dynamically, showing how much memory is available, hard drive space, etc. This is not like a window or gadget or anything...
Halloo asked 1/12, 2011 at 23:24

1

Solved

I am trying to retrieve a large number of images from the web using a TidHttp component. The problem is that there is a number of images that are missing (Example: 7403, 7412, etc) How do i test ...
Premillenarian asked 1/12, 2011 at 1:0

1

Solved

I have a DLL which takes care of custom drawing for some special glass effects. I'm putting it in a DLL for three reasons: 1) So it can be easily re-used and distributed of course without weighing ...
Ferrosilicon asked 28/11, 2011 at 4:55

2

Solved

How can I fill a selected area with color? var Rect: TRect; Color: TColor; begin //fill area with color end;
Parodist asked 27/11, 2011 at 17:36

2

Solved

I'm making a small collection of types/functions related to gradients for future use. I would like to make sure there's at least two procedures: ColorBetween and ColorsBetween. I may want to just g...
Stephenstephenie asked 24/11, 2011 at 6:30

2

Solved

In the help of Delphi 7 command line compiler, I just see an option to define a conditional compiling directive: -D<syms> = Define conditionals Is it possible to undefine a conditional? I...
Twoup asked 22/11, 2011 at 22:53

2

Solved

I have been experimenting a lot with some glassy images, such as the one below, and I got to thinking there's gotta be a way I can put this into code, so I can color it anything I want. It doesn't ...
Corelli asked 22/11, 2011 at 6:59

1

Solved

I'm trying to do something like this: function CreateIfForm ( const nClass : TClass ) : TForm; begin if not ( nClass is TFormClass ) then raise Exception.Create( 'Not a form class' ); Result :...
Roeser asked 22/11, 2011 at 14:39

3

Solved

I'm converting some functions into a DLL which relate to Windows 7 functionality. I can't pass a TForm through DLL, so I need to pass its handle instead. except, once I have that handle on the othe...
Steffaniesteffen asked 18/11, 2011 at 23:3

3

Solved

I am using the code below to create a messagebox in Delphi 7. However I also have another form on screen who's FormStyle is set to fsStayOnTop and the messagebox appears behind this form. Is ther...
Slog asked 4/11, 2011 at 9:55

2

Solved

In Windows when one is in Windows Explorer and right clicks a file or directory, a Windows context menu appears with all of the actions that one can do regarding this file or directory. Way back i...
Gunsmith asked 3/11, 2011 at 3:52

2

Solved

I have a thread, called TAlertThread. The thread interacts with its owner by triggering events. For example, when certain data is available inside the thread, it sets some temp variables and calls ...
Ecg asked 28/10, 2011 at 23:26

1

Solved

I have a program that simulates dice rolls and compares them to values in a chart (set of String lists). I currently get the value from a TEdit. If the box is empty, it raises an EConvertError that...

1

Solved

delphi 7 and mssql 2008 are requirements I can't change for a new project I'm starting to work and if possible I'd like to get notifications/events if data changes on the server so I don't have to ...
Yolandayolande asked 20/10, 2011 at 22:28

1

Solved

Hello I have a list of type TList. I fill it with pointer to records which are created with new. One of my coworkers told me that freeing the list will free all elements, but I have my doubts bec...
Frater asked 19/10, 2011 at 19:48

3

Solved

I am trying to extract URLs from Google search results. I use Indy IdHTTP to get HTML results from Google, and I use Achmad Z's code for getting the link hrefs from the page. How can I get the real...
Chrissy asked 11/10, 2011 at 19:28

3

Solved

I am trying to build a delphi project from the command line compiler Example: C:\dcc32 -B C:\BD\Delphi7\work\MyProject.dpr Aside from the the standard evironment pathing: $(DELPHI)\Bin; $(DELPHI...
Charil asked 18/11, 2010 at 16:45

6

Has anyone ever managed to compile their Delphi 6 & 7 (NOT any Delphi > 7 ) projects using the command line? All the instructions I see are not very clear on what exactly needs to go where! A...
Leggy asked 3/12, 2009 at 5:25

2

Solved

I use the below command to delete some files after reboot the machine: MoveFileEx(PChar(File_Address), Nil, MOVEFILE_DELAY_UNTIL_REBOOT); How can i cancel execution of this command and prevent f...
Impracticable asked 15/10, 2011 at 12:40

13

Solved

I am a Turbo pascal/Borland pascal/Delphi developer, since 1987. I currently only use Delphi for maintaining old tools that I (and some friends of mine) use privately. Unfortunately all my professi...
Gayn asked 2/2, 2011 at 21:34

1

Solved

I'm using Delphi 7. I'm more than familiar with using a canvas and drawing text to a canvas, and also using TCanvas.TextHeight etc. The problem arises when I want to implement Word Wrap. Not only d...
Stranglehold asked 10/10, 2011 at 21:40

© 2022 - 2024 — McMap. All rights reserved.