delphi-2006 Questions
3
Solved
I want to auto-size all the columns in the TListView. I am using below code, but its not doing any thing.
ListView1.Columns.Add.Caption := 'Field Name';
ListView1.Columns.Items[0].Autosize := True...
Thyestes asked 3/12, 2010 at 12:15
3
Solved
I have a dialog that pops up as result of an error condition. I want the dialog to remain open for at least 30 seconds, and close 30 seconds after the last user input (mouse or keyboard) is receive...
Blodget asked 11/10, 2011 at 8:14
7
Solved
I have functions I want to perform after my app has finished initialising and the main form has been created. I did have the code (call it ProcedureX) in the forms OnShow event, but I have just not...
Catarina asked 23/9, 2010 at 22:32
6
Solved
how can I find out if an data-aware component field has been modified when the dataset is already in Insert state? I want to know if a field was 'really' modified. (I don't care if the user has inp...
Crysta asked 4/4, 2012 at 14:49
11
Solved
Are there any utilities that reformat Delphi code ?
EDIT
I am using Delphi 2006
Some feedback
Thanks to all that answered this question
I have been using the JCF code formatter - it works we...
Rhinoplasty asked 31/12, 2008 at 11:2
3
Solved
You may say that there are lots of discussions about this in stackOverflow, but most of them are more complicated than what I need and mostly for other languages.
I have a MySQL remote database in...
Spokeswoman asked 14/8, 2012 at 14:48
5
I have an application made with Delphi 2006 and Firebird 2.5. For connection a use Interbase components from Delphi. I setting up in design time a TIBDatabase with username, password tc, and work o...
Dopey asked 24/11, 2010 at 23:9
2
Solved
I saw several examples where the list of the source names were took from registry (HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\ODBC Data Sources). Is there any other way to get the list of ODBC data ...
Turtle asked 6/10, 2011 at 14:1
8
Solved
I am trying to make a frame with a DBGrid that will serve for more than 10 tables with half of its fields as defaults, and other fields exclusive for each table.
As the space for the columns are l...
Floorage asked 8/11, 2012 at 16:10
2
To prevent newly created modal windows to become hidden under their modal parent window I got used to always set PopupParent when calling ShowModal (as adviced here, here and here):
function TMyFo...
Camera asked 9/1, 2015 at 16:11
4
Solved
I want to ask the user to close all opened forms before terminate my application.
How can I automatically get a list from opened forms?
I'm using Delphi 2006, and don't using form's Auto-Create, ...
Sunstroke asked 23/9, 2011 at 13:36
3
Solved
Sometimes I get bug reports from customers, that I can't explain. After Application.Run() in Delphi I get the following errors:
EOSError: System error: Code:_5 Access denied
Call Stack Informat...
Bremer asked 22/11, 2013 at 10:8
3
Solved
I get this occasionally when exiting my app - my app is running the EXE over a network. I understand it's a page fault when part of the EXE is loaded on demand.
I have also observed it in the OnDr...
Hendren asked 1/8, 2011 at 22:49
7
Solved
can you recommend an open source Delphi crypto library that works with
Delphi 2006, Delphi 2009 & Delphi 2010
Algorithms need: DES, MD5, SHA-1
Nisse asked 7/1, 2010 at 12:27
3
Solved
I have a Delphi app that regularly writes to a local disk file. Occasionally it is unable to access the file - a sharing violation results when it tries to open it. A retry after a short delay is a...
Essieessinger asked 4/1, 2012 at 12:31
1
Solved
TOpenDialog has an option ofEnableSizing which allows the user to modify the dialog size of an open dialog. This sizing data seems to be stored for the application. If the program is started again ...
Romaic asked 1/9, 2015 at 7:10
1
Solved
I want to produce two different versions of my application, with different icons based on a DEFINE.
I succeeded to include different resource files based on the define but I cannot get rid of the M...
Wengert asked 17/8, 2015 at 9:51
3
Solved
I need to split a string to a TStringList with fixed-length sub-strings.
Currently I use:
procedure StrToStringList(ASource: string; AList: TStrings; AFixedLen: Integer);
begin
Assert(Assigned(A...
Niemi asked 11/8, 2015 at 13:26
4
Solved
I have recently modified one of my components, and it so happens it is no longer using one of the properties it used before.
However, those properties are written in multiple .dfm files throughout...
Raptorial asked 2/3, 2012 at 7:47
4
I'm trying to do a global search and replace in all the files in Delphi 2006 project, but am unable to do so.
How can I do this?
Sirotek asked 3/11, 2008 at 13:33
3
Solved
This link/pic shows what I am trying to achieve with a TStringGrid.
This link/pic show what my code below is resulting in.
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants,...
Brawn asked 5/11, 2014 at 22:6
2
I have a Delphi 2006 app that can minimize to a tray icon, and displays various alert messages via a balloon hint over the tray icon.
Under some circumstances - I don't know when - a previously di...
Howlan asked 16/11, 2010 at 8:10
2
Solved
I have an application that requests data from a database triggered by a timer on a form. If there is an error (the connection to the database is lost), I sometimes I get the expected exception (EIB...
Hardily asked 25/3, 2014 at 9:57
1
Solved
I am trying to get xml text from an IXMLDocument like so.
Doc.XML.Text;
This gives me the xml text but it includes the xml declaration.
<?xml version="1.0"?>
Is there a way I can get th...
Hemihedral asked 22/1, 2014 at 22:27
3
Solved
I have set up a global exception handler in Delphi. On some severe exceptions an error message is displayed (followed by Halt()). While the error message is shown, Delphi is processing the message ...
Peninsula asked 22/11, 2013 at 11:31
1 Next >
© 2022 - 2024 — McMap. All rights reserved.