delphi-7 Questions

1

Solved

From the documentations: Specifies whether the drop-down closes up automatically when the user selects an item. I have played with this property (combined with AutoComplete and AutoDropDown) ...
Amman asked 27/5, 2016 at 7:21

5

Solved

First of all, please forgive me for not knowing the proper terminology, I'm sure there's a very common technical name for this which I could simply Google for help - but I can't find help if I don'...
Mapel asked 13/12, 2011 at 22:5

6

Solved

I use C# basically. There I can do: string trimmed = str.Trim('\t'); to trim tabulation from the string str and return the result to trimmed. In delphi7 I found only Trim, that trims spaces. ...
Hellenic asked 21/11, 2012 at 4:39

1

Solved

I faced a problem while working with procedures and strings in Delphi. The fact is that I expected to see the output string "1S2S3S4S5S6S" but the actual output is "1234S5S6". During the debug proc...
Binny asked 10/3, 2016 at 20:30

6

Solved

In the Delphi IDE, the path to the Delphi installation is specified as $(DELPHI). I am wondering if there is a way to create my own path indicators, such as $(MY_LIBRARY) or something similar. I th...
Mesitylene asked 10/5, 2010 at 14:40

3

Solved

Since Delphi does not have any regular expressions library built-in, have you seen a good function to validate email addresses at least to some degree in using only Delphi RTL/VCL? I don't want t...
Opah asked 25/8, 2010 at 12:16

3

Solved

I want to write a small utility which will help me load a single 32bit bitmap (with alpha) from a EXE resource: ImageList1.DrawingStyle := dsTransparent; ImageList1.Handle := ImageList_LoadImage(M...
Pleading asked 21/10, 2014 at 12:15

1

When compiled under Delphi 7 or Delphi XE, the code below complains [DCC Error] Project1.dpr(25): E2010 Incompatible types: 'array of Char' and 'TAChar' According to Rudy's article, it should b...
Culp asked 30/12, 2015 at 12:17

2

Solved

How can i send parameters to CMD? for example send a path and start it from that path? How can i execute CMD commands? Thanks
Tailgate asked 18/8, 2010 at 19:26

2

Solved

I have just spent quite a lot of time trying to make the Tools/Environment Options dialog of the Delphi 6/7 IDE sizable from within GExperts. Everything seemed to work fine until I found that chang...
Sandor asked 13/12, 2015 at 18:15

2

There are quite a few API routines that take a pointer to some variable as a parameter that were translated to var parameters, yet can be specified as nil pointers according to the Windows help fil...
Graeco asked 22/11, 2015 at 21:17

3

Solved

I have a question (or more likely a bug report) about bit shifting behavior in Delphi (tested in Borland Delphi 7). Target: perform an "Arithmetic" bitwise shift right with any number. This means...
Adore asked 24/8, 2015 at 18:45

1

Solved

I'm using lkJSON-1.07 in delphi 7, in their example js := TlkJSONobject.Create; js.Add('namestring','namevalue'); // get the text of object s := TlkJSON.GenerateText(js); writeln(s); writeln; wr...
Mainz asked 6/10, 2015 at 11:34

3

My Delphi-7 application displays : Screen.DesktopWidth Screen.DesktopHeight Screen.Monitors[0].Width Screen.Monitors[0].Height and , if there's a second monitor selected , also : Screen.M...
Yonina asked 23/6, 2012 at 7:31

1

Solved

I am bit curious about the two properties of a Delphi VCL control. Each component has 2 properties as Owner and Parent at runtime. Can anyone help me to understand the difference between both? And...
Worldly asked 27/8, 2015 at 5:54

3

I have developed a Delphi 7 application that is using Firebird 1.5.6 database in client server environment. The application is running on Windows 7 32 bit on notebook computer an the database is ...
Totem asked 30/6, 2011 at 12:19

4

Solved

I need a way to pause the execution of a function for some seconds. I know i can use the sleep method to do it, but this method 'freezes' the application while its execution. I also know i can use ...
Polivy asked 24/6, 2015 at 12:22

6

Solved

My application is based on modal forms. Main form opens one form with ShowModal, this form opens another with ShowModal, so we have stacked modal forms. There is sometimes a problem that when we ca...
Occultism asked 28/10, 2009 at 18:20

2

Solved

After looking for a way to resize TPngObject and maintain the transparency + alpha channels to no avail, I'm trying to use GDI+ Here is my code, and it seems to work fine. it will down/up scale a ...
Overburden asked 7/7, 2015 at 14:34

1

Solved

I have a form with both a TImage and a TButton control. I noticed the rate of responding to the OnClick event seemed a bit slow for the TImage (rapid clicking!) so I measured it. For 100+ clicks (a...
Colatitude asked 1/6, 2015 at 11:26

1

Solved

I want to access the Printers Unit in Delphi XE7. I am not able to do this, because „the Printers Unit cannot be resolved“ as shown on this image: As a beginner in Delphi, I don’t know what to d...
Batiste asked 7/4, 2015 at 9:19

3

I created a console application in delphi 7, which is supposed to show messages after you press the enter button: begin writeln ('Press ENTER to continue'); readln; writeln ('blablabla'); writ...
Minos asked 15/4, 2013 at 18:21

1

Solved

How can I best maintain compatibility for namespaces in uses between Delphi 7 to Delphi XE7 ? Delphi 7 use SysUtils while Delphi XE7 use System.SysUtils. It clutter the code a lot with many ifdef...
Lancashire asked 22/3, 2015 at 17:11

4

Solved

I know you can mark a single constant as deprecated using const NotDeprConst1 = 1; DeprConst = 2 deprecated; NotDeprConst2 = 2; But, can you mark a whole const block as deprecated without mar...
Gallaher asked 4/12, 2014 at 14:7

2

Solved

Continue of this topic: Drop down menu for TButton I have wrote a generic code for DropDown memu with any TControl, but for some reason it dose not work as expected with TPanel: var TickCountMe...
Rosie asked 15/11, 2014 at 11:23

© 2022 - 2024 — McMap. All rights reserved.