Hi All
When you right click on a file on the Windows Desktop one of the options is
to select Properties. How can I invoke the same Properties Window from
inside my app?
Thanks
Kevin
---
New Zealand Delphi Users group
Yes, Nello Sestini emailed me and said that he'd
received an infected message from me. Damn virus is difficult to purge as it
closes down all the major virus programs. I downloaded Symantic's FxBgBear.EXE
from their site and then tried to run it. It kept freezing. I then closed down,
Sounds you want java packages, or namespaces as provided by Delphi.NET/.NET
--On Wednesday, October 02, 2002 17:10:16 +1200 Chris Milham
[EMAIL PROTECTED] wrote:
Having entries like LibraryRoot.SubLibrary1.AnotherSubLibrary.FuncX
-- \m/ --
...if I seem
Hi All,
Has anyone faced following situation? Put a breakpoint on a line inside a
form, while integrated debugger stops on that line, it display the form. In
Delphi, it displays the source code.
Thanks in advance
Leigh
Are you wanting to, programmatically, view the properties window or modify
the properties that are displayed in the window ?
Regards
Paul McKenzie
Analyst Programmer
SMSS Ltd.
- Original Message -
From: Kevin Parker [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL
Is this what you mean?
uses
ShellAPI;
var
SEI: TShellExecuteInfo;
begin
FillChar(SEI, SizeOf(SEI), 0);
SEI.cbSize := SizeOf(SEI);
SEI.lpFile := 'Project1.exe'; // Replace as required
SEI.lpVerb := 'Properties';
SEI.fMask := SEE_MASK_INVOKEIDLIST;
ShellExecuteEx(@SEI);
end;
Hi all
I have some forms from D6 which I need to load into D4 - they have no
components on them that are not avaailable in D4. I note that the D6 .frm
files are text based while the D4 ones are binary streams - anyone know of a
way to either translate them or otherwise load them into D4 ?
Go into Environment options in D6, choose the designer tab, uncheck New
forms as text.
The help on this says:
Toggles the format in which form files are saved. The form files in your
project can be saved in one of two formats: binary or text. Text files can
be modified more easily by other
You could maybe try right-clicking the form in D6, and clearing the
checkmark beside the Text DFM option, although whether this will produce a
DFM which D4 will read, I don't know.
Alternatively, select everything on the form in D6, copy it to the
clipboard, paste it into a blank form in D4...
Thanks for the quick responses - I'll get the forms in binary.
Regards
Paul Lowman
Lowman Consulting Ltd.
[EMAIL PROTECTED]
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
How can I make an exact copy of an object without creating it and going
through setting the properties of the original?
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website:
Paul Lowman asks:
anyone know of a
way to either translate them or otherwise load them into D4 ?
The following code shows you how to do this conversion using Delphi's
internal utility routines.
procedure ProcessFile(const Filename: string);
var
DFMStream: TFileStream;
NewStream:
The term for this is cloning an object.
There is no built in way of doing this in Delphi, and there are issues
involved in any cloning operation; e.g. are you interested in a shallow
clone (just the one object), or a deep clone (your one object, and all
objects to which it refers)?
Probably a
Theres a command line 'convert.exe' program to translate to/from
--On Friday, October 04, 2002 09:55:24 +1200 Paul Lowman
[EMAIL PROTECTED] wrote:
files are text based while the D4 ones are binary streams - anyone know
of a way to either translate them or otherwise load them into D4 ?
Laurie Bisman wrote on Thursday, 3 October 2002 8:19 p.m.:
Beats me how it got past Nortons auto-protect that was
enabled at the time..
It probably depends on when you last did a LiveUpdate, since this is a
fairly new virus.
- Paul
Max
Thanks - it worked a treat
Regards
Paul Lowman
Lowman Consulting Ltd.
[EMAIL PROTECTED]
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To
Don't forget to apply to ERMA for permission before releasing any cloned
objects out of the development environment...
http://www.ermanz.govt.nz/
Guy
-Original Message-
From: Conor Boyd [mailto:[EMAIL PROTECTED]]
The term for this is cloning an object.
-Original Message-
Just tell them it's a field trial ;-)
Regards
Paul McKenzie
Analyst Programmer
SMSS Ltd.
- Original Message -
From: Guy Brown [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Friday, October 04, 2002 12:04 PM
Subject: RE: [DUG]: Copying an Object
Don't
Hi guys
I need to display different input forms for users
hitting my cgi app from a handheld.
does anyone here know anything about how to detect
what browser is hitting an app ?
TraceySoftware Developer / Web
MasterLogis[EMAIL PROTECTED](025)
213-1065
This only relates to the Pocket PC but it may give you some clues as to
where to start.
http://mobileinternetguide.org/xhtml/ch01s23s33s39.xhtml
-Original Message-
From: Tracey Maule [SMTP:[EMAIL PROTECTED]]
Sent: Friday, 4 October 2002 12:37
To:
This is what you want. The following is some asp script to show all the
server/browser variables. The item you need is HTTP_USER_AGENT
And you will get something back like this -
Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)
Which tells you I am running MS Internet explorer 5.5.
G'Day,
Does anyone know how to extract a database filename
and path from an ODBC setting ?
Without using the DBE ? (not that I know how to do
it with the BDE)
RegardsPaul McKenzieAnalyst
ProgrammerSMSS Ltd.
Paul McKenzie asks:
Does anyone know how to extract a database filename and path
from an ODBC setting ?
Ummm, I've thought hard about this and I have no idea what you mean by ODBC
setting. Perhaps you mean a DSN? or do you mean you want to extract this
information from a connection or
um... any way of doing it without using asp? I run my app on Apache and i
dont think i can use asp.
Maybe i need to use javascript... ??
- Original Message -
From: Myles Penlington [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Friday, October 04,
Check
the registry
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI
Dave.
-Original Message-From: Paul McKenzie
[mailto:[EMAIL PROTECTED]]Sent: Friday, 4 October 2002 1:16
p.m.To: Multiple recipients of list delphiSubject:
[DUG]: ODBC
G'Day,
Does anyone know how to extract
The term for this is cloning an object.
There is no built in way of doing this in Delphi, and there are issues
involved in any cloning operation; e.g. are you interested in a shallow
clone (just the one object), or a deep clone (your one object, and all
objects to which it refers)?
in JavaScript you can look at the Navigator.useragent property
-ns
http://www.roserox.co.th
- Original Message -
From: Tracey Maule [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Friday, 4 October 2002 08:37
Subject: Re: [DUG]: detect browser
You can, but that is client side Javascript or DHTML ...
I think Tracy is after server side. You just need access to the
HTTP_USER_AGENT variable provided by the browser ...
Myles.
-Original Message-
From: Nello Sestini [mailto:[EMAIL PROTECTED]]
Sent: Friday, 4 October 2002 1:49 p.m.
The only problem here being that just the published properties will be
cloned, no internal state variables.
Nahum.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
wrote on
The term for this is cloning an object.
There is no built in way of doing this in Delphi, and there are
issues involved
doh :P
yes of course - that's what i get for not really paying close
attention to the thread
-ns
http://www.roserox.co.th
- Original Message -
From: Myles Penlington [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Friday, 4 October 2002 08:53
Subject:
ok thanks guys.. at least i have a vague idea of direction now :-s
shame i couldnt do this within delphi... im bound to get s**t about it from
our M$ wiz here...
- Original Message -
From: Myles Penlington [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent:
Excellent - thanks - exactly what I was
after...
RegardsPaul McKenzieAnalyst ProgrammerSMSS Ltd.
- Original Message -
From:
David O'Brien
To: Multiple recipients of list delphi
Sent: Friday, October 04, 2002 1:37
PM
Subject: RE: [DUG]: ODBC
Check the
I haven't tried this but maybe the information is in Request.UserAgent
procedure TWebModule1.WebModule1WebActionItem1Action(Sender: TObject;
Request: TWebRequest; Response: TWebResponse; var Handled: Boolean);
Var WhoAmI : String;
begin
WhoAmI := Request.UserAgent;
end;
Everyone seems to be saying that Delphi doesn't have built in cloning.
This is not quite true. The standard way is to override Assign, or
AssignTo method derived inside TPersistent. All you need to do is
override this in each sub-class. There are many dozens of examples
through the VCL code. If
Nahum
If you need to copy the internals of an object then it would
reflect badly on your objects design wouldn't it?
Neven
- Original Message -
From: Nahum Wild [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Friday, October 04, 2002 2:02 PM
Subject:
I want to put some text on a form, such as with a TMemo, but I want it
to behave like a TLabel with regard to mouse and cursor. If I turn
enabled off, it behaves as I want it to, except the colour is wrong.
This has got to be easy...
Ta
Terry
Nope, it means that its encapsulated (or whatever the word is and how its
spelt) and only revealing stuff that needs to be revealed - and it might
only be in the public section rather than the published section; data hiding
and all that. One of the three corners to good OO design (hurrah) -
i may be completely missing the point - but
try putting the TMemo on a TPanel and disable the Panel
-ns
http://www.roserox.co.th
- Original Message -
From: Terry Johnson [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Friday, 4 October 2002 10:45
Tlabel has a wordwrap property allowing you to show multi lines.
-Original Message-
From: Terry Johnson [SMTP:[EMAIL PROTECTED]]
Sent: Friday, 4 October 2002 15:46
To: Multiple recipients of list delphi
Subject:[DUG]: Multi Line
39 matches
Mail list logo