delphi-7 Questions

1

Solved

I am using Delphi 7 and Access 2007. I want to know can anyone show me how to use Parameters with SQL statements and ADO. What is the necessary coding and so forth. Sorry I am new to Delphi . ...
Crazed asked 4/6, 2013 at 18:8

3

Solved

I am pretty new to delphi , and would like to start with something easy . Could someone please show me an example how to make a Digital clock that will transfer the "time" ( hour , min , sec ) to a...
Florenceflorencia asked 28/2, 2012 at 18:15

1

Solved

I have a query code that I can call every time I need to fetch data from the database, and I want it to be threaded. Not sure how to implement this in a thread so I can reuse this code, basically, ...
Caffeine asked 27/4, 2013 at 2:28

2

Solved

How to create a TComboBox with two columns that has one of its columns hidden so that it can keep an id value along with the actual item in it? And then how to get to that id value programmatically...
Backed asked 15/4, 2013 at 1:59

2

Solved

I'm working with Delphi 7 and I'm trying to create a form programmatically. Here's my form class stub: unit clsTStudentInfoForm; interface uses Forms; type TStudentInfoForm = class (TForm) ...
Eugene asked 19/4, 2013 at 20:23

2

I have to control another application by sending keystrokes to it like CTRLS or CTRLSHIFTC or CTRLF. I've tried a lot of things, but I can't get it working. So I'm trying to get this right on a si...
Ell asked 6/4, 2013 at 17:11

1

Solved

i have a string grid in Delphi 7, with 0..N rows. There is a listbox with numbers from 0..N if the user clicks on the any number in the listbox number , that row number should be selected on the st...
Manganese asked 6/4, 2013 at 13:4

1

Solved

EDIT - See Update at end This is for Delphi 7.0 Build 4.453 Summary I need to be able to take the Handle property from a TMonitor object (an element in the Monitors array in the TScreen compone...
Currycomb asked 1/4, 2013 at 15:27

6

Solved

I'm working with Delphi 7 and Strings, and I came across this: For a string of default length, that is, declared simply as string, max size is always 255. A ShortString is never allowed to grow to...
Fore asked 7/1, 2012 at 6:33

1

Solved

I needed to add some icons to my project as a resource (I can't use a TImageList in this case, because of a bug in TCoolTrayIcon, and I can't replace the component quickly). I've created an icons....
Gisela asked 22/3, 2013 at 7:12

6

Solved

Our company have a software that has been in development for over 10 years, so there are some really dated stuff in there. It's still quite functional and everything, but I see the new features on ...
Kirkcudbright asked 17/4, 2011 at 16:57

2

I need to remove a button focus rectangle, because it looks bad over the TBitBtn glyph after the buttons is clicked.
Beforetime asked 9/3, 2013 at 22:51

4

Solved

I had this nasty bug that disappeared in the past but now after quite some time it returned. I have two TSam objects (derived from TPersistent) created and loaded into an TAsmJob object (derived f...
Levitate asked 9/7, 2009 at 20:47

1

Solved

I'm hoping to create something like a "TOwnedStringList" (class name is a fiction) that I could construct as: sl := TOwnedStringList.Create(Self); sl.Sorted := True; sl.Duplicates := dupIgnore; s...
Issue asked 4/3, 2013 at 12:41

1

Solved

I have a specific icon file, which is composed from PNG compressed images and when I try to load it and add to a TImageList, the Out of system resources exception is raised. The icon file is here:...
Burcham asked 2/3, 2013 at 2:10

1

Solved

I need to initialize a Widestring in Delphi 7 but I can't use chr function which is ANSI var ws : Widestring; begin ws := chr($FFFF) + chr($FFFF) + chr($FFFF); end; What can I use, then ? T...
Fluorene asked 18/2, 2013 at 8:58

2

Solved

Is it possible to call the kernel Native APIs from within a Delphi application? Like nt and zw syscalls.
Scruple asked 17/2, 2013 at 12:13

1

Solved

I am making an application that has a bunch of small windows and controls in it (2D rendering), and I would like to render each window and control to its own bitmap. This is what have so far: use...
Gelsenkirchen asked 16/2, 2013 at 9:17

1

Solved

I try to read a GUID value stored as a binary value in registry in Delphi. When I read it with BintoHex, but the result is in reverse order. It seems that I have to swap bytes but I thought BinToHe...
Silversmith asked 12/2, 2013 at 8:30

2

Solved

I have a KNOWNFOLDERID and I would like to know the corresponding path like C:....\folder. KNOWNFOLDERID can be found here. http://msdn.microsoft.com/en-us/library/bb762584%28VS.85%29.aspx I d li...
Joline asked 10/2, 2013 at 20:54

1

Solved

I'm trying to communicate with a LAN (http://) server that needs digest authentication. uses IdHttp, IdAuthenticationDigest; ... begin IdHttp1 := TIdHttp.Create(nil); try IdHttp1.Request.User...
Onslaught asked 1/2, 2013 at 11:30

2

Solved

I am trying to duplicate the behaviour of PAINT application in Win 7 zoom track bar: (I know it's a common track bar control) The 100% is located in the center. and it has 11 available positions...
Ioab asked 30/1, 2013 at 11:39

1

Solved

In my TComponent, there is a point where I want to listen to key events and intercept the ESC key and handle it in my component, consume/"eat" the keystroke, so that for example the owner form won'...
Ochoa asked 15/1, 2013 at 21:33

4

I'm trying to modify the Delphi 7 Dialogs.pas to access the newer Windows 7 Open/Save dialog boxes (see Creating Windows Vista Ready Applications with Delphi). I can display the dialogs using the s...
Sulfaguanidine asked 12/12, 2009 at 18:37

3

Solved

So, I have a variable buffPtr: TPointer It has a size of 16 and contains a series of numbers, mostly starting with 0, say something like 013854351387365. I'm sure it contains values, because the ap...
Billon asked 8/1, 2013 at 16:47

© 2022 - 2024 — McMap. All rights reserved.