The web page http://www.codegear.com/en/products/bds2006 starts with a list which includes this line:
Ensure visual consistency with customizable VCL designer guidelines.
Is this related to the 'laser-line' guidelines?
How can these guidelines be 'customized'?
Edit: This page gives additional information about this feature....
consider the following delphi pascal code:
var
tc: TComponent
begin
{ do something to get tc }
repeat
if(tc is TDBEdit)then begin
if(check_something_about_edit(tc))then break;
do_something_else_edit(tc);
break;
end else if(tc is TBMemo) then begin
if(check_something_about_memo(tc))then break;
do_something_else_...
Hello folks,
I'm porting an isapi (pageproducers) application from delphi 7 to delphi 2009, the pages are based on html files in UTF8.
Everything goes well except when Onhtmltag is fired and I replace a transparent tag with any value with special characters like accented characters (áé...) Those characters are replaced in the output wi...
I am relatively new to VS and C# but have years of experience in Delphi.
One of the my favorite components when designing GUI in Delphi is ActionManager - centralized way to assign event handlers for actions as well as enabling/disabling them.
Surprisingly, I can't find anything like this in Visual Studio 2008 Professional.
I am sure t...
If I declare
PSomeStruct = ^TSomeStruct;
TSomeStruct = record
s1 : string;
end;
and I run the following code:
var
p: PSomeStruct;
begin
new(p);
p^.s1:= 'something bla bla bla';
dispose(p);
the FastMM 4 memory manager reports that there was a memory leak (type: string, data dump: "something bla bla bla"). However, if I ...
My application is a tcp/ip server, with main thread created only once & listening all the time. When new client connects, the main thread creates the new thread of TClientThread type. There is however no list of running Client threads, as that would make my app a bit complicated... is there any way to execute "terminate" method on all th...
Does .NET has an Exception that similar to Delphi's EAbort ?
Currently, define my own "AbortProcess" inheriting Exception.
Together with My.Application.UnhandledException handler that ignoring "AbortProcess"
I'm still wondering if similar mechanic in .NET is already exists.
Class AbortProcess
Inherits System.Exception
End Class
Su...
When building my application in release mode, I get an internal error URW1135 at the end of one of my files. I searched the internet and found (here) that it could be about arrays of generic types like
MyClass <T> = class
FArray : array of T;
end;
So, I applied the proposed workaround (declaring a type TArrayType = array of T) throu...
I need this info to decide on what I am going to do about my platform support of my systems in the coming year, but can't find any real info on that. Maybe someone has some just released information.
Thanks in advance.
...
I have problems to get generics to work in the following scenario:
Delphi provides the interface IComparable:
IComparable <T> = interface
function CompareTo (Value : T) : Integer;
end;
I add another interface IPersistent:
IPersistent = interface
function ToString : String;
procedure FromString (const Str : String);
end;
One...
Until now I have seen only tools and some information for the creation of Delphi code for a given C header file.
However, in the 'Delphi first' case, there is a Delphi interface declaration and a generated DLL, and no C header. Are there tools which can extract the necessary information and build a C header file for a DLL?
Such a tool ...
I have a Delphi code library that I want to put in a central directory, say:
C:\delphi\codelibs\fastMM
I have 5/7/2009 versions of Delphi installed. Now, I want to use the library from all these Delphi versions without the .dcu file conflicts. (Each delphi versions compile to slightly different .dcu files, you know that!)
Also eac...
Given a generic type
TMyClass <T> = class
...
end;
is there a way to put multiple instances (instantiated with different types) together like
FList : TList <TMyClass>;
FList.Add (TMyClass <Integer>.Create);
FList.Add (TMyClass <String>.Create);
or
FArray : array [0..1] of TMyClass;
FArray [0] := TMyClass <Integer>.Create;
FArray...
I'm pretty much at my wits end at the moment.
I am using Delphi 2009 (Update 3) on Vista (service pack 2) and without fail, if integrated debugging is enabled and I try to run a project, it will give an access violation and the project will crash out.
This happens even if I haven't even added any code to the default project template. ...
I have a program that imports a text file that has many entrys:
###
Starttime: 06.03.2008
Data: SOME RECORDS HERE
###
Starttime: 21.03.2008
Data SOME RECORDS HERE
...
and so on
Not I want to have an end time after "Data:" that is the next starttime -1 so i have
###
Starttime: 06.03.2008
Data: SOME RECORDS HERE
EndTime: 20.03.2008
...
Is ther any other documentation about delphi than the integrated help.
Something like the http://java.sun.com/j2se/1.5.0/docs/api/ or the http://msdn.microsoft.com/en-us/library/
...just for delphi.
Because imho the delphi help is badass bad.
...
I downloaded FastMM through an svn checkout. (instead of stable packaged version)
Can I use it (or is it safe to use) in my release builds?
I'm asking this as a seperate question as Rob Kennedy suggested.
...
Hi!
Short form: Is it possible to create a stream from a pointer?
I have a pointer which points to file data I need to read. I used WriteBuffer() to transfer data from the pointer to a TFileStream, which works. But now I want to read it block wise to display a progress bar. So I need to read it step by step.
I have to options:
1) In...
Hello
I bought an entry-level Brother label printer, and I need to print this type of label from Delphi:
http://img54.imageshack.us/img54/3557/delphiclothlabel2.jpg
(The barcode was simply created using the free 3of9 TTY font, although some VCL components are available to create a barcode directly.)
I read that the standard way is to...
Is there a way to get a 2 character day-name of the week such as MO/TU/WE/TH/FR/SA/SU?
Currently I only know of using FormatDateTime():
"ddd" returns "Fri"
"dddd" returns "Friday"
The main reason is that I want to obtain localized version of the 1 or 2 character day names:
Say FRIDAY in "ddd" would return:
French Windows = "Vendre...