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 .
...
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...
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...
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)
...
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...
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....
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.
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...
1
Solved
Why does loading of a PNG image format icon cause the "Out of system resources" exception?
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:...
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...
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...
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...
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...
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...
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'...
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...
© 2022 - 2024 — McMap. All rights reserved.