If you want to open a URL just use ExecFile.
We use this for executing hyperlinks and it works just fine
e.g.
!ExecFile(http://www.delphi.org.nz/)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Ross Levis
Sent: Thursday, 11 October 2001 18:01
Sergei
I have no idea why that post sat around in the ether for over
a week and then suddenly appeared. (check the date - the
is the true date I posted it)
Glad to hear the Indy stuff worked out - one of these
days I'd like to take a look at those components. Have heard
a lot of good things
Hi
Is it possible to use an array of QRLabels in a Quick
Report?
If so,
Is it possible to to create and place these at design
time?
and the next question (design time or run time) would be
"How"?
TIA
Mark
BEGIN:VCARD
VERSION:2.1
N:Howard;Mark
FN:Mark Howard
I don't see a way to get the Report to recognize
array elements in the report design.
But if your purpose is to be able to manipulate groups
of labels using an index you can use the following
shameless hack.
Adopt some naming scheme to identify the indexed labels
- say for example that the _n
On Fri, 12 Oct 2001 00:38:12 +0530, you wrote:
Quiet simple.
Open the project source file. Before the Application.Run method,
do a LoginForm.Create and ShowModal. In that itself you can
decide if you want to continue else you can always do a
Application.Terminate.
say what??
...
need to typcast the return value ...
function GetMyLabel(Index:Integer): TQRLabel;
property MyLabels[Index: Integer]: TQRLabel read GetMyLabel; default;
function GetMyLabel(Index:Integer):TQRLabel;
begin
// in production probably should do some error checking ...
return
Thanks Patrick.
ExecFile doesn't show in the list of macros available in the help
software I'm using but I entered it works!
Cheers,
Ross.
Patrick Dunford wrote:
If you want to open a URL just use ExecFile.
We use this for executing hyperlinks and it works just fine
e.g.
Another Help question.
Is there a Delphi command that emulates the pressing of F1 for Help?
Application.HelpContext requires a HelpContext parameter but only my
main parent controls have HelpContext set.
More Info: I have a PageControl with 5 TabSheets, 1 of the TabSheets
contains a further
LoginSuccessful is a boolean variable in frmLogin which has to
be set True or False.
Application.Initialize;
Application.CreateForm(TfrmMainForm, frmMainForm);
Application.CreateForm(TdmdSecureApp, dmdSecureApp);
Application.CreateForm(TfrmLogin, frmLogin);
frmLogin.ShowModal;
Hi all.
I have an app. that can only shutdown IF its logged on as an
administrator, and even then it askes if you are sure etc.
I need to shut the app. down from another app. but if I do SendMessage
(hwnd, WM_CLOSE, 0, 0) it obviously tells you that only the admin can
close the app. etc.
Is
I had a similar problem when using commandline to compile a DPK I have.
I found that I had to include the FULL path to the unit.
i..e
MyUnit in 'c:\units\myunit.pas';
Jeremy Coulter
-Original Message-
From: Stacey Verner [EMAIL PROTECTED]
To: Multiple recipients of list delphi
I am compiling a dpr (in an automated build process) rather than a dpk, and
the units that it can't find are not in list of project files, as they are
units for components.
This worked fine in Delphi 4.
Stacey
-Original Message-
From: vss [mailto:[EMAIL PROTECTED]]
Sent: Friday, 12
I presume you use either ExitProcess or TerminateProcess, however you need
the process handle for this to work - there is no mention of requiring these
to be called by a process it self.
Myles.
-Original Message-
From: vss [mailto:[EMAIL PROTECTED]]
Sent: Friday, 12 October 2001 4:17
Thanks for that.its a good place to strat. I had doen a search on the
net, but it was all talking about TerminateApp.which is not in Delphi
6 or 5sigh...but this will get me futher I suspect.
Thanks, Jeremy Coulter
-Original Message-
From: Myles Penlington [EMAIL
I did a search on the net, and look what I found !!
This procedure takes the name of the EXE then kills it.
I am posting as I am SURE others what this too
Cheers, Jeremy Coulter
uses
Tlhelp32, Windows, SysUtils;
Function KillTask(ExeFileName: string): integer;
const
15 matches
Mail list logo