I would like to know what is the best skinning library for Delphi application for you. I'm looking to WinXP/Windows Vista/Windows 7 compatibilities, so the application doesn't crash or work weird because of the skins. I have tried Theme Engine but it doen't work fine in Windows Vista.
I'm currently using Delphi 2006.
Thanks.
...
Hi guys.
I've received a native COM ADOConnection which is stored in Variant. I would like to pass interface of this connection to the VCL wrapper TADOConnection. The problem is that either I am getting invalid typecast compiler message or acces violation.
For example:
procedure AssignNativeConnection(VCLConnection: TADOConnection; va...
I have a project on Lazarus that have two Forms, FormMain and OutputForm. I want to show a output on OutputMemo at the second Form with this code:
procedure FormMain.ShowButton(Object: Sender);
begin
if SaveDialog1.Execute then
AProcess := TProcess.Create(nil);
AProcess.CommandLine := 'gcc.exe ' + SaveDialog1.FileName + ' -o ...
I'm working on converting the codebase of an "open-source" project to something that will actually work. I put the term in quotes because what the original authors did was take a commercial product and say "OK, we've made enough money off this now. Here's the source code. Do whatever you'd like to with it." Unfortunately, the codebas...
The Firebird FAQ explains how to create a BOOLEAN domain. Probably the most interesting part is at the end, where it says:
If you use a connectivity library like
OleDB under .Net, you can override the
OleDB provider's GetSchema method, so
the DataTables you get from queries
have native .Net booleans.
Is there any way to do...
Every Delphi 7 developer knows that if he compile a application on Delphi 7, the style will be as Windows 2000 applications, but there is any method to make this better as the application can have the default theme of the Windows version, as C++ and C# applications?
...
Hi, all!
Is there a kind of implementation (at least partial) of java collections (Set, List, Map, Collection ...) for Delphi 2010?
I need it for make porting code from java to Delphi a little bit easier.
...
I have a few old apps I've written (in Delphi) which for various reasons use a system tray icon. Most are using AppControls TacTrayIcon or some other similar component.
Here's my question: How does one control the position of a tray icon? (i.e. where it is, say, relative to the system time -- 1st position/"slot", 2nd position/"slot", et...
I have a project on Lazarus that I want to compile a source using gcc, for this I have a TOpenDialog called OpenDialog1 and a TProcess called AProcess.
I call gcc with this code:
procedure TFormMain.btCompileClick(Sender: TObject);
begin
if OpenDialog1.Execute then
begin
AProcess := TProcess.Create(nil);
try
AProcess....
I'm developing a ebook manager on Lazarus, but I'm having some troubles with a component that I've never used(TListBox). On the TListBox named CategoryList, I have these items:
Literature and Fiction
Romance
Computers and Internet
Poetry
Professional and Technical
Science Fiction and Fantasy
Biographies and Memoirs
Busi...
We are developing a software that will automate many crucial activities in Photoshop.
This application is targeted for newbies.
In this application I want to embed Photoshop's window in my applications window. Currently Photoshop runs separately in its own window.
How can I get it to run in a particular location in given space in my a...
It got me stuck for an hour. I happened to have a string constant with about 280 characters in it.
I was trying to use Pos to look for a substring within a long string constant. It gives the result 0 when the string is longer than 255 characters, but gives the correct result when the string is shorter.
e.g.:
pos('5', '123456789.12345...
Does anybody know how to design report in FastReport so that when user changes page orientation all column headers and data autofits new page width? I couldn't find any anchor mechanism there. Maybe I can do that during run-time? But then I need to catch page orientation change event somehow. Can anybody help?
...
I am using DBExpress with blackfish.
How can I do multi Transaction?
I have several GRIDs all in editing at once and all will have to be saved at once.
The begin editing and post are to be determined by the end user, as he works, and in different place of the application, so difficult to do in one only transaction.
UPDATE:
OK the pr...
This is approach I found for Tray ... :
http://www.programmersheaven.com/mb/delphikylix/257563/257563/how-can-i-make-a-system-tray-flash/
Does the same technique works for Dialogs ( as they are forms with addition params, in fact )?
Or I can do it with way faster methods like getting handle / address / interface and overload or overdri...
I have to upgrade an old Delphi3 project to Delphi2010.
It uses a unit named DockForm, but I cannot find it anywhere in Delphi2010.
It is present in the old Delphi3 install CD as uDockForm, but it should be also found in D2010, because own D2010 source files use it (for example, \Embarcadero\RAD Studio\7.0\source\ToolsAPI\ToolsApi.pas)...
I am trying to create a 7z archive of certain files using Delphi 2009.
The code below seems to work, but all of the items in the resulting 7z file are of zero size. All of the file names that are in the archive are correct, but they shouldn't be zero size.
How can I add files properly to a 7z archive using JCLCompression?
var
fname,...
Hi,
Simple task:
I would like to make a program (parent.exe). There are three buttons. When I click Button1, Form1 appears; when Button 2, Form2 appears; when Button3, Form3 appears...
Form1, Form2, Form3 are stored in three different dlls (Form1dll.dll, Form2dll.dll, Form3dll.dll).
I wanted to make parent program (parent.exe) run mo...
I'm using Delphi 2009 and I'd like to scale an image to fit the available space. the image is always displayed smaller than the original. the problem is TImage Stretch property doesn't do a nice job and harms the picture's readability.
I'd like to see it scaled like this instead:
Any suggestions how best to do this? Tried JVCL, ...
I have Delphi application that has been in production for several years now and recently a specific piece of code has stopped working. In the OnClose event for the form I have the following:
procedure TfrmPublicEmpInfo.FormClose(Sender: TObject;var Action: TCloseAction);
var
i : integer;
strWorkDays : string;
begin
If cbM...