delphi-2007 Questions

3

Solved

So I have a TMenuItem attached to a TAction on a TPopupMenu for a TDBGrid (actually 3rd party, but you get the idea). Based on the selected row in the grid, the TAction is enabled or disabled. What...
Plosive asked 22/1, 2009 at 20:37

6

Solved

I'm a bit puzzled of what to use for storing objects in a list. Until now I have used TList and freed each item in a loop. Then I discovered TObjectList that do this automatically from Free. Then I...
Derisive asked 2/5, 2012 at 8:15

10

Solved

What is the best way to make a Delphi application (Delphi 2007 for Win32) go completely full screen, removing the application border and covering the Windows Taskbar? I am looking for something sim...
North asked 18/8, 2008 at 10:56

2

Solved

I have a Delphi 2007 application that has a TAnimate control with a FindFile Common AVI. It works perfectly when the application is run on Windows XP, but nothing ever appears on Windows 7. I've he...
Euthanasia asked 29/9, 2009 at 14:9

4

Solved

I'm just working on the FIFO queue (the simple one, just what's pushed first, pops at first) with the variable data size but I'm not sure with the way I'm designing it. The data types I will store ...
Scampi asked 1/8, 2011 at 9:45

6

Solved

I'm using Delphi 2007 and wonder if there is a simple way of counting the number of times a string occurs in another string. Any builtin function I can use? Examples: "How" occurs once in the st...
Driscoll asked 10/3, 2011 at 20:9

4

Solved

Is there a way to indent the code in Delphi? I have to work on a program that has thousands of lines of code. In eclipse which I had worked before, I have used CTRL + SHIFT + F to format all code b...
Kolo asked 12/11, 2015 at 12:44

6

Solved

Newer Delphi versions (including Delphi 2007, which I'm using) have a build in file history feature, which lets you revert to old files from within the IDE. That's nice, but I already have source c...
Delaryd asked 7/5, 2009 at 20:33

3

Solved

Hello how can I find the smallest and biggest number in delphi? Suppose I have 10 different numbers stored in an array: How can I find the biggest number and smallest numbers in my array?
Dragoon asked 20/8, 2011 at 2:24

5

Solved

I have to encode an array of bytes to a base64 string (and decode this string) on an old Delphi 2007. How could I do? Further Informations: I've tried synapse (As suggested here Binary to Base64 ...
Chara asked 4/5, 2015 at 21:32

4

Solved

I want to check if a dll in System32 directory (Windows 7) exists. But even if it exists, FileExists() returns false. LoadLibrary returns a valid handle. In this case, I only want to check, if the...
Trunks asked 2/10, 2011 at 15:43

4

Solved

How should an array of string be converted into string (With separator char)? I mean, is there some system function I can use instead of writing my own function?
Schoening asked 10/5, 2015 at 20:12

4

Solved

Possible Duplicate: What Web Application Framework for Delphi is recommended? We have a Delphi 2007 desktop application which we have hosted using Citrix. Now we want to get rid of Citrix a...
Cynthia asked 24/10, 2011 at 8:46

4

Solved

I need develop a circular progress bar in delphi 2007, I can't use third-party components (company policy). I'm using a Canvas, drawing an arc, that's works fine, but the image is at a very low re...
Portage asked 13/1, 2017 at 13:22

2

Solved

I have an application that uses statically-linked runtime packages as well as designtime packages that use them. For some reason the code in any unit finalization section is not being run at runtim...
Densmore asked 27/9, 2011 at 9:30

3

Solved

Just updated from Windows 8.1 to Windows 10 and now when I try to open any project on Delphi 2007, I get his error : Unable to load project xxxxx The imported project "c:\Windows\Microsft.NET.....
Niue asked 31/7, 2015 at 12:2

2

Solved

When using Delphi 2007 along with Indy 9, what are the latest OpenSSL libraries that can be loaded and where are they available?
Creswell asked 21/8, 2012 at 14:36

2

Solved

I'm trying to use the SysUtils.WrapText() function with a string containing escaped single quotes characters, and I'm getting an unexpected result. var Lines : TStrings; begin Lines := TStringLi...
Pomfret asked 29/3, 2019 at 17:38

0

I'm trying to load icons used by Delphi's task dialogs into a TImage control. As I've learned here, I'm using LoadImage function but icons appear lightly different from the ones which are used by t...
Freudian asked 22/2, 2019 at 11:25

1

Solved

When exceptions like EZeroDivide, EOverflow, EMathError... are raised, they appear with a default message. For example, the following code raises an EZeroDivide with the following message: Floa...
Compressed asked 20/2, 2019 at 17:57

3

Solved

Is there a refactoring tool to remove "with" blocks? For example convert with Form1 do begin Height := Blah; Blubb := Name; end; to Form1.Height := Blah; Blubb := Form1.Name; where Form1 is...
Chug asked 15/2, 2012 at 10:19

2

Solved

I found this documentation that indicates you can start Delphi with an alternate registry key. But I can't get it to work (using Delphi 2007, also tried 2010). The target of my shortcut is "C...
Debutant asked 15/2, 2012 at 8:37

4

Solved

Recently I've been informed by a reputable SO user, that TStringList has splitting bugs which would cause it to fail parsing CSV data. I haven't been informed about the nature of these bugs, and a ...
Saito asked 23/6, 2011 at 22:5

4

Solved

Is it possible to add build events only for a specific build configuration in Delphi 2007 ? I use 2007 but would be interested in what you can do in 2009 also. Cheers Sam
Philipphilipa asked 28/3, 2009 at 3:54

1

Solved

I'm using Delphi 2007 (Pre generics) and I've defined many functions who can be used for all arrays of TObject's descendants, example: function IndexOf(AArray : array of TObject; AItem : TObject) ...
Bouffe asked 18/5, 2018 at 15:4

© 2022 - 2025 — McMap. All rights reserved.