I'm still working with my Local Modal Dialogs (LMD). See this question for more information. It works fine now for simple cases, but in sometimes there is a result in the dialog that I want to notify the caller. As the call is asynchronous with Show() I cannot simply get the result after the call.
So my question is how can I return one ...
Hi all,
is there a counterpart of the Delete procedure that could be used for widestrings? Or should I just use copy and concatenate the resulting WideStrings?
...
We have a suite of automatic tests written in QTP (Quick Test Pro - an HP product), and we have just upgraded to Delphi 2009 (I know we are late adopters), and all of these tests no longer work. The plugin that QTP have released does not work with Delphi 2009 - we have that in writing now from HP. Do you know of (a) anyone else in the sa...
I need to make a file truly read only - to keep it as is. No delete, no nothing.
(Setting the 'ReadOnly' attribute isn't an option)
I see now some approaches:
Use a program to keep the file open. Drawback: One can kill the process an then the file closes.
Use a program to set the security attributes. Drawback: The file can be deleted...
Hey everyone,
This is a very general question:
I was wondering whether it is possible to find out whether an application (any kind of application no matter if it a delphi-application or java or whatever) was started by a user or by another application? And if it is possible and I see that an application was called by another one, can I ...
Hallo, Does anyone perhaps know how to interface with a MemCached server (linux) from within a Delphi win32 application?
I am unable to find a general C DLL client, or perhaps delphi code to communicate to the server.
Any suggestions/help would be appreciated.
Thanks
Eric Grobler
...
I want to get the Mozilla menu handle but GetMenu returns zero. On Notepad it is true. Why?
...
When I put a TIWMenu and a TIWRegion on a TIWAppForm with
IWMenu.align := alTop;
IWRegion.align := alClient;
the submenu of IWMenu is hidden behind the region. That means, when I click on File, a submenu should come up with Open, Save, Save As ..., and it does, but I only see the upper border as the rest shows up behind the IWRegion....
I am having trouble with the delimiter in the TStringList Class. Take a look:
var
s: string;
sl: TStringList;
begin
sl := TStringList.Create;
s := 'Users^foo bar^bar foo^foobar^barfoo';
sl.Delimiter := '^';
sl.DelimitedText := s;
ShowMessage(sl[1]);
end;
sl[1] SHOULD return 'foo bar'
sl[1] DOES return 'foo'
It seems t...
I want to use the RapidShare API in my project,but I don't know how I can call it then receive the result.
I use Delphi 2009.
...
I have page control in main form and page controls in child form , I
place the child form inside the main form by using docking features. I am
not using MDI style
Now both forms have tabs in page control and I need to merge the child form
tabs into the main form page control, what is the best way to do that?
...
I want to add Delphi-4 code to VSS via the IDE. Is that possible?
How to do so?
I am working on enhancements for a code written in Delphi 4. The name of the folder is "testCheck".
I tried saving the code directly into VSS by clicking
workgroups\Add "testCheck" to version control
then i checked the VSS to see the latest vers...
I have a custom component of type TSpeedButton that has two extra properties defined:
CommentHeading: string;
CommentText: string;
I set CommentHeading at design time.
When the speed button is pressed a memo is shown with a button beneath it for saving its contents. The procedure that handles this:
procedure CustomSpeedButton1Click...
I admit I am totally new to QT so bare with me. I am used to develop in Delphi, but I have recently moved to developing in Python and with that PyQT (later I'll switch to PySide). Anyway, I'm trying to figure out if there's anything in QT that is equivalent to Delphi's Align property possibilities like alTop, alClient, alRight and so on?...
Hello,
I have application with 20+ windows...
At first I was using different forms (with no inheritance), 20+ of them and it used like 8 MB of RAM.
When I setup it with page controls + frames + frame inheritance, RAM usage for application is like 50 MB and app is ~ 2 MB larger.
I have noticed that when I add frame to tab, modify pict...
Hi,
Is there any reason why images are not being displayed if I place it into tabsheet? Just shows white background instead.
...
Has anybody experience with Delphi 2009's TCategoryPanelGroup component and specifically with dynamically adding buttons to category panels?
I can't get it to work properly. Either the buttons do not appear or the alignment is screwed up. Basic outline of what I want to do:
procedure AddButton (const Caption, Group : String);
const
...
Are there any fully functional IRC Components out there for Delphi? I have looked at the TIDIRC component (Indy 10), and it is missing too many things to be usable for me.
I basically have an application and I would like to add in the IRC functionality to it, to automatically connect to an IRC server and join 2 channels and allow the p...
I'm trying to automate the build of a project in Delphi 2009.
I'm using msbuild with .net 3.5
I simply call:
Z:\Server>C:\WINDOWS\Microsoft.NET\Framework\v3.5\msbuild "BestSellerAppServer.g
roupproj" /target:Build
And get this:
Build started 27/08/2009 01:15:45 p.m..
Project "Z:\Server\BestSellerAppServer.groupproj" on node 0 (Buil...
This should be very simple but I can't find the exact answer I want. I have a custom delphi control based on TSpeedButton. I want the Caption Property of the SpeedButton to always be 'Comments' but I don't want to set it at run-time I want to set it in the component itself so that when I place it on my form it's already populated with th...