delphi-xe2 Questions
4
Solved
I don't know what my problem is, but I cannot set the font color in DEx2 for controls like TCheckBox, TRadioButton, TGroubBox, and TRadioGroup. It doesn't matter if I do it in the IDE or programmat...
Abruzzi asked 3/9, 2012 at 13:10
9
Solved
How can I count the number of occurrences of a certain character in a string in Delphi?
For instance, assume that I have the following string and would like to count the number of commas in it:
S...
Belmonte asked 8/3, 2013 at 12:56
2
Solved
I have an application which uses conditionals to be able to compile it either as a VCL Forms Application or as a Windows Service Application in Delphi XE2. However, since I have manually altered th...
Cybill asked 24/9, 2012 at 23:17
3
Solved
I am unable to figure out how to change default build/compile settings. The little default checkbox in the lower left of the project options dialog is gone. The documentation states:
The Default c...
Plafond asked 13/4, 2012 at 2:53
6
Solved
I'd like to define an array type which consists of different type values, such as String, Integer, Boolean, Double, etc. but no objects, structures, or anything of that nature. Then I'd like to use...
Traci asked 18/9, 2013 at 1:34
4
Solved
I want to allow a form to be sized by the user with its controls proportionaly resized. ScaleBy( N,M ) works fine for me but there are of course cumulative rounding errors if it is repeated. To cou...
Bezanson asked 5/1, 2012 at 11:25
4
Solved
I have a question similar to this, but in delphi.
type
TThreadPopulator = class(TThread)
private
_owner:TASyncPopulator; //Undeclared identifier
end;
type
TAsyncPopulator = class
private
_...
Charissacharisse asked 22/10, 2012 at 5:59
2
Solved
In the Delphi Form Designer how do I undo changes. I press Ctrl + Z and nothing happens, I go to Edit -> Undo and it is grayed out.
Am I just missing something or does this just not work?
Also, ...
Tappet asked 3/3, 2014 at 23:32
2
Solved
I have read these questions and answers
How to change the implementation (detour) of an externally declared function
Patch routine call in delphi
but i can't figere out how patch a private metho...
Parolee asked 14/4, 2012 at 19:0
4
Solved
I can't found any sample in the online documentation, or in the demos included with Delphi XE2, for adding nodes to a FMX.TreeView.TTreeView control at runtime. So, how can I add, remove, and trave...
Berube asked 21/9, 2011 at 23:11
7
How do I restrict a minimum form's width in FireMonkey? It used to be so easy in VCL - it just had Max and Min constraints in forms properties.
Wegner asked 7/11, 2011 at 0:54
6
Solved
Using Delphi (or in general any tools, if exist of course), is it possible to reduce size of an exe file, removing all code that not is used but that is present there?
(for example, a function or p...
Ipswich asked 13/9, 2011 at 7:59
6
Solved
Say i have a string
'SomeName'
and wanted the values return in a case statement. Can this bedone? Can strings be used in a case statement like so
Case 'SomeName' of
'bobby' : 2;
'tommy' :19;...
Kevinkevina asked 25/1, 2013 at 4:46
8
Solved
I would like to define in my code a constant holding the date on which the executable was built. I would naturally like to automate that process.
I know that I can write a pre-build script using, ...
Micronutrient asked 8/12, 2011 at 20:32
5
Solved
A Delphi application that I'm working on must delay for one, or sometimes two, second(s). I want to program this delay using the best practices. In reading entries about Delphi's Sleep() method on ...
Phenetidine asked 22/2, 2015 at 22:33
2
Solved
There is a new file [project-name].otares created in Delphi XE2.
The wiki says:
File with unknown resources generated during upgrade of pre XE2
project. (Unknown resources are resources that a...
Burrton asked 2/1, 2012 at 21:35
2
Solved
I have a UTF-8 text file which starts with this line:
<HEAD><META name=GENERATOR content="MSHTML 10.00.9200.16521"><body>
When I read this file with TFile.ReadAllText with TEnc...
Preclinical asked 16/6, 2013 at 12:40
2
Solved
Good evening all!
In a current project, i'm experiencing a rather worrying memory leak that i just can't seem to plug.
I left the application running overnight with standard usage going on and wh...
Hungerford asked 27/5, 2012 at 23:13
2
Solved
How can I login to a Gmail account and get number of messages in the INBOX mailbox with TIdIMAP4 component ?
Dilatation asked 28/11, 2012 at 11:49
15
Solved
So for some time now I keep having this problem:
on windows 7 (64bit), with Delphi 7 and Delphi XE2, if from within the IDE, I compile a program, run it, stop it, change it and rerun it I get this...
Octal asked 7/8, 2012 at 17:45
4
Solved
Does anyone happen to know if there is a Firemonkey version of the popular VirtualTreeView in preparation? Also, has anybody collected some experiences with porting custom controls to Firemonkey an...
Idellaidelle asked 15/9, 2011 at 15:15
5
Solved
How to automatically remove unused units from uses section on all source files of the project on Delphi XE2?
P.S. IDE will work much faster after that.
Lotic asked 22/7, 2013 at 19:4
2
Solved
It's always been strange that there's never been a Description property on the TService in Delphi's VCL. Even to this day, Delphi XE2 doesn't have it yet. It's such a simple and common thing, that ...
Copeck asked 19/3, 2013 at 2:6
8
Solved
I don't know if it's a bug... But when I set any other VCL style except for "Windows", the window width is reduced.
-
Is there any solution for this?
UPDATE
I submitted this to QC: http://qc...
Polly asked 25/2, 2012 at 18:33
4
Solved
Is there a single method or easy way how to copy one TDictionary content into another ?
Let's say I have the following declarations
type
TItemKey = record
ItemID: Integer;
ItemType: Integer;
e...
Juggernaut asked 20/3, 2012 at 13:2
1 Next >
© 2022 - 2024 — McMap. All rights reserved.