Does anyone know how to get ReportSmith to add up time fields?
Patrick Dunford, Christchurch, NZ
EnzedRailWeb Sites
http://patrick.dunford.com/enzedrailweb/
---
New Zealand
on New and Dispose, old habits
die hard :)
Patrick Dunford, Christchurch, NZ
EnzedRailWeb Sites
http://patrick.dunford.com/enzedrailweb/
---
New Zealand Delphi Users group - Delphi
I presume you are referring to the type of combobox that has a text field
that people can type in, as well as a dropdown list.
The Style property in this case is csDropDown. Change it to csDropDownList
and it becomes a read-only list, with no user entry permitted.
-Original Message-
Place the combobox onto a panel and disable the panel.
Or, in the OnClick, set ItemIndex to -1
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Tom Munro Glass
Sent: Saturday, 22 January 2000 06:32
To: Multiple recipients of list delphi
Subject:
The error definitions are all in WINDOWS.PAS, search by ERROR_
For example
ERROR_FILE_NOT_FOUND = 2;
which hopefully is self explanatory.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Leo Ramakers
Sent: Friday, 21 January 2000 15:22
To:
Patrick Dunford, Christchurch, NZ
EnzedRailWeb Sites
http://patrick.dunford.com/enzedrailweb/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website
(declared as PChar)
========
Patrick Dunford, Christchurch, NZ
EnzedRailWeb Sites
http://patrick.dunford.com/enzedrailweb/
---
New Zealand Delphi Users group - Delphi List - [EMAIL
(str1,str2);
Patrick Dunford, Christchurch, NZ
EnzedRailWeb Sites
http://patrick.dunford.com/enzedrailweb/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED
.
Patrick Dunford, Christchurch, NZ
EnzedRailWeb Sites
http://patrick.dunford.com/enzedrailweb/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED
This message is forwarded from the newsgroup "borland.public.delphi.winapi".
--- Begin Forwarded Message ---
Subject: Closing Other Applications
From: Patrick Dunford [EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have an application that laun
If you don't know the processID there is a problem. I found some code on
MSDN the gist of which is:
1. FindWindow
2. if found then GetWindowThreadProcessID
2. IsWindowEnabled
3. if yes then PostMessage(WM_CLOSE...)
4. WaitForSingleObject(hprocess...)
etc.
-Original Message-
From:
= 242
hProc^ = -530451
WRes = WAIT_FAILED
GetLastError = INVALID_HANDLE
so WaitForSingleObject always fails, regardless.
According to MS the WaitForSingleObject call should return WAIT_TIMEOUT if
it did not close.
Patrick Dunford, Christchurch, NZ
for that control from firing?
Patrick Dunford, Christchurch, NZ
EnzedRailWeb Sites
http://patrick.dunford.com/enzedrailweb/
---
New Zealand Delphi Users group - Delphi List
JGSoft has a freeware unit translating the header file and will
automatically redirect OnHelp events
MSKB has an article on how to implement contexts
I'm putting all this stuff up now at
http://www.geocities.com/pjrdunford/delphi/htmlhelp/
-Original Message-
From: [EMAIL PROTECTED]
handler
The HTMLHelp workshop is a free download from
http://msdn.microsoft.com/workshop/author/htmlhelp/ together with control
updates
Patrick Dunford, Christchurch, NZ
EnzedRailWeb Sites
http://patrick.dunford.com/enzedrailweb
You would use a Subdetail band for this. It will repeat itself for each
detail record. Link it to the detail dataset which is already linked or
filtered to the detail records for the master table. Then add fields to it.
Subdetail bands can also have a header and a footer band, these are easily
What happens if it isn't just an OO DB you want to report from?
I have had lots of fun lately on a project where I could not use a data
aware report with a query because the results from the query had to be
compared with the results of a function that had its results in a
TStringList. Since then
to it. What I asked for is
very simple - that the offset not be added.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi
This TUTIL32 error is being reported on some Pdox tables I have in a
database. It has only occurred since the database was installed on a
client's Windows 98 machine. Any ideas? They have BDE 4.01, the machine is
set to NZ English
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Carl Reynolds
Sent: Friday, 17 December 1999 11:26
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Date/Time calculations
The problem is not with the VCL at all. The following code:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Carl Reynolds
Sent: Friday, 17 December 1999 17:21
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Date/Time calculations
No. There is no standard Delphi method to do what you're talking
I want to write a procedure that can be passed the name of another procedure
and its parameters. It implements an exception handler for that call (so I
don't have to write try..except around every single call in my program). Or
is there another way of doing it?
Has anyone else experienced problems with date/time calculations due to
Delphi offsetting the date by 30/12/1899
The situation is that I wish to calculate a person's current age which
appeared to be simple: subtract their date of birth from the current date
then decode into actual years.
But
What
exactly are you trying to achieve here.
If
your app's main window is hidden then it will not have a taskbar
button.
Or the
Application.OnActivate event, or WM_ACTIVATE message handler in your
form?
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
In D3 set ReadOnly true to stop users from changing captions.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jason Coley
Sent: Wednesday, 15 December 1999 17:08
To: Multiple recipients of list delphi
Subject: [DUG]: ListView Bug??
I'm using
What is the shortcut that opens nested properties in Object Inspector?
The Help says Alt-F10 which is wrong (this is the general shortcut that
displays the popup menu)
---
New Zealand Delphi Users group - Delphi List -
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Mason, John
Sent: Monday, 13 December 1999 15:33
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Windows Large and Small Fonts
The PixelsPerInch setting for large fonts is 120.
Under
When you pass an object as a procedure parameter and you don't need to pass
back any changes to the calling function, do you need the 'var' in front of
the instance name in the procedure declaration?
I routinely write procedures that receive tables and other instances that I
want the changes
Is your table field a Float or Numeric field? Floats lose precision because
of the way they are stored (has nothing to do with TFloatField in Delphi)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Eion McIntosh (CHCH)
Sent: Tuesday, 7 December 1999
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Max Nilson
Sent: Tuesday, 7 December 1999 16:47
To: Multiple recipients of list delphi
Subject: RE: [DUG]: InstallShield
Rohit Gupta asked:
Its probably been asked anumerous times already, but
?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
"These are they who have come out of the great tribulation;
they have washed their robes and made them white in the
blood of the Lamb" - Revel
', TObject(vsList));
ComboBox1.Items.AddObject('vsReport', TObject(vsReport));
ComboBox1.Items.AddObject('vsSmallIcon', TObject(vsSmallIcon));
with ComboBox1 do
ListView1.ViewStyle := TViewStyle(Items.Objects[ItemIndex]);
Patrick Dunford
colour on the display settings could consume 20% of GDI
resources.
snip
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
"These are they who have come out of the great tribulation;
they have washed their robes and made them
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Eion McIntosh
Sent: Thursday, 25 November 1999 20:45
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Index out of Date
Patrick Dunford wrote:
There are two major possibilities
1
It seems all the problems are caused by the lack of
Application.Initialize
in the first line of the project source - a line the Help file tells you you
can safely defeat.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Patrick Dunford
Sent: Thursday
Never mind I have the answer to this too :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Patrick Dunford
Sent: Thursday, 25 November 1999 18:35
To: Multiple recipients of list delphi
Subject: [DUG]: Form creation / display order
I have
Download seems to be available again and claims has been updated to D4.
http://www.onedomain.com/edsprint.htm
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website:
are getting corrupted. Various fixes which include flushing
all the data to disk each time you post, have been suggested here in the
past.
How frequently is "periodically"?
========
Patrick Dunford, Christchurch, NZ
http://patrick.d
that will work is
Application.CreateForm(TLicenseForm, LicenseForm);
Application.CreateForm(TLicenseForm, LicenseForm);
Application.CreateForm(TBtnBottomDlg, BtnBottomDlg);
This is stupid. I don't remember this from Delphi 2.
Patrick Dunford
. How do I stop the other form from showing?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
http://www.trainweb.org/enzedrail/
--
Visit the Canterbury Railway
This eis exactly the problem that TPrintSet was designed to overcome,
unfortunately iy is not being updated beyond D3 version. We need a new
component :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Eion McIntosh
Sent: Tuesday, 23 November 1999
Well there is a little bit more than that to this
1. The server has been very busy sending this file attachment to every list
member
2. The list is receiving posts from people outside NZ. Only a trickle so far
but if it ever got to the level of some overseas lists which get hundreds of
posts a
You meam that a Lookup field in a DBGrid won't already do?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Leo Ramakers
Sent: Monday, 22 November 1999 16:41
To: Multiple recipients of list delphi
Subject: [DUG]: looking for DBLookupComboBox in
up a very vocal minority who get it sent to a
cover-all account.
So update your mailing system. Onelist operates an effective system that
allows nomail and digest subscriptions, archives posts and nukes out e-mail
addresses.
Patrick Dunford
Just close it then and tell that vocal minority to get webmail accounts.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Nic Wise
Sent
Why don't you just grant yourself administrator rights for the install?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Mark Derricutt
Sent
IIRC it is 32000 lines approx.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jeremy Coulter
Sent: Wednesday, 10 November 1999 21:21
To: Multiple recipients of list delphi
Subject: [DUG]: Listbox Limit
Hi all.
I can t find anything in the
No, that doesn't work.
The fix appears to be to call the SetCurrentDirectory function in the Win32
API
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED
components are on the suspect list but
with no evidence to prove it. The same could equally apply to TCompress
again with no proof, I suspect I may never actually know what is going on.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
) and can reload it.
With the source code you should be able to write something similar into your
own program.
==
Patrick Dunford
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED
Quoting Darren J Gilbertson [EMAIL PROTECTED]:
I keep getting this error when opening a particular form. Is there any way
of fixing this?
Usually means you are out of resources
---
New Zealand Delphi Users group -
I
suspect it is more likely to be a bug in D3 and not being a current product
will not be fixed by Borland. Hopefully changing to standard panels will
sort the problem out.
========
Patrick Dunford, Christchurch, NZ
http://patrick.d
s question, but if you've encountered something is odd
with/connected-to TC 5.0, we're certainly interested to know
about it and try and help you with it.
The main problem I have with TCompress is releasing my registration
information in source code.
========
Patri
OK is any event fired when the listview is cleared by the Clear method?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Terry Johnson
Sent
is getting
set with the control's Hint property but it is not displaying on the status
bar.
It used to work but it has stopped working lately for some strange reason.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
for me to write code to
ensure all the memory is freed?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL
. Is a
weekend looming?
I have just looked at the BDE 5.01 upgrade self extracting file on the
Borland
page.
It is around 12 Mbytes.
IMO the BDE install from Borland does not appear to be compressed (oddly
enough)
Patrick Dunford, Christchurch, NZ
http
that is:
- a wrapper around SHBrowseForFolder API
- Allow you to create new folders.
Basically GetDirectory with a Browse for folder UI.
I use a freeware component from
http://www.eden.com/~tfast/pencilneck1.html
Patrick Dunford, Christchurch, NZ
One possibility is something like
if x is TDBEdit then
with x as TDBEdit do...
else
if x is TdbCheckBox then
with x as TDBCheckBox do
typecasting each control as this is the only way you will be able to access
its full properties
alternatively
if x is TDBEdit
then
begin
procedure passing the DBI method name and
parameters, check will raise the exception if an error result is returned
IIRC.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
.
If no other BDE calls have been made since then it looks like
DBIGetErrorEntry would return the error stack but the stack is cleared the
next time that a BDE function is called.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
from http://www.geocities.com/SiliconValley/9486/appbar14.zip
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Richard Vowles
Sent: Monday, 4 October 1999 10:03
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Losing data in Paradox tables
I thort that dbiUseIdleTime told it to sync everything -
Odd, I've never seen problems with data not being flushed before - in this
case the table records are quite small (16 bytes each) and losing 2 or 6 is
significant.
-Original Message-
From: Steve Cooney [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 2 October 1999 17:53
To: [EMAIL
I am having unexpected loss of data in Paradox tables. Are there any issues
associated with the table not having a primary key? What is the call again
that flushes the buffers from the BDE? This is a standalone machine, not
network.
Patrick Dunford
Make your username Admin and password blank. These are the defaults for
Access but most users have it turned off.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Tony Sinclair
Sent: Thursday, 30 September 1999 20:43
To: Multiple recipients of list
I feel a critical letter to NZPCW coming on :)
Runtime packages make pretty small EXEs, don't they? Seems to me Mr Palmer
is uninformed.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
-Original Message-
From: [EMAIL
?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
is waiting for the process state to become signalled it will
be unresponsive. A better way of implementing this is
repeat
Application.ProcessMessages;
until WaitForSingleObject(ProcessInfo.hProcess,0)=WAIT_OBJECT_0;
Patrick Dunford
printer list - the PrinterIndex is no longer valid).
EDSPrint provides to simple routines, SaveToIniFile and ReadFromIniFile,
which allow you to save and restore the current printer and its settings.
http://www.onedomain.com/
Patrick Dunford, Christchurch
version?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http
likely 3. You should be able to cross grade if
_nothing_ else.
I'll ask Claire tommorow and post something.
N
Patrick Dunford wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Nic Wise
Sent: Wednesday, 15 September 1999 11:52
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Chris Reynolds
Sent: Tuesday, 14 September 1999 12:08
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Formatting time for TDBEdit control
Sorry Patrick, try 2.
Something like
that the TDBEDIt is bound
to.
Try HH:MM.
No, the displayFormat only changes what is displayed. As soon as you put the
cursor in that field to edit it the format changes to hh:mm:ss
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Patrick Dunford
Sent
that they do exist.
I wonder if D5 supports HTMLHelp.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL
, but not when the field is being edited.
How do I get the field contents to show in hour:minutes format (no seconds)
when editing? Is this anything to do with the GetText or SetText event
handlers for the TTimeField?
Patrick Dunford, Christchurch, NZ
http
would like to retain the link if
at all possible.
Using d3 Standard, BDE 4.01
========
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group -
values in the grid, I want to
display the text value, and my picklist lets someone pick the text value
when they are entering or changing the field, and they never actually see
the number. Is it possible? How do I implement it?
Patrick Dunford, Christchurch
.
Patrick
Dunford, Christchurch, NZhttp://patrick.dunford.com/
talked about for many years for the same reason.
snip
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL
to my declared constructor and
destructor causes an error message about overriding a static method. So I
leave out the override keyword and it compiles.
But what is the difference?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
constructor and
destructor causes an error message about overriding a static
method. So I
leave out the override keyword and it compiles.
But what is the difference?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
automatically whereas any object declared
under public, private or whatever has to be explicitly created by the
programmer in code. Is that the case?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
That possibly makes Peter's problem the bug in the 401COMUPD installer (it
removes the DLL rather than replacing it)
http://support.microsoft.com/support/kb/articles/Q221/8/36.ASP
PRB: 401Comupd.exe Makes System Unbootable
.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group
the
AfterConstruction / BeforeDestruction procedures.
There are no such procedures for a TObject or anything in Delphi 3. The best
I can come up with is NewInstance / FreeInstance, both of which are declared
virtual. What would my code look like?
snip
Patrick
at a form, because the class browser
lets you get to your forms and components without viewing the form. The
browser-thingy in Delphi 4 is a step in that direction, I'm not entirely
convinced that it goes far enough along that track.
Patrick Dunford
If my application creates a process using CreateProcess and gets back the
process handle hProcess, how do I later get the main window of the
application to show?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
). Not having access to the
source code, I suppose it is possible that Delphi ignores the message if the
child control is not a TWinControl, since the form's OnHelp event isn't
fired for TGraphicsControls.
Patrick Dunford, Christchurch, NZ
http
you just use an ordinary button or alternatively a 3rd party
component.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Alistair George
Sent
.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
through the group of buttons setting their Down properties to false
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List
Correction: this message gets sent to appbars when an application goes
full-screen, but the mechanism of how an application tells Windows that it
is going full screen is unknown to me, it is probably in the Windows
function group in the API.
-Original Message-
From: [EMAIL PROTECTED]
There is a freeware mailslot component available from
http://www.djernaes.dk/martin/
Mailslots are a one way communication system. Windows 95 uses them to run
the Winpopup service.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jeremy Coulter
Sent:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of P Sheehan
Sent: Friday, 16 July 1999 12:05
To: Multiple recipients of list delphi
Subject: Re: Autofrwd[DUG]: Read Only Aliases
Have the settings been merged ?
The BDE3.5 install was done by Wise
be changed.
The only fix appears to be to remove and reinstall the BDE. Anyone have
knowledge of this?
========
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zeal
ÿþ<
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
http://www.trainweb.org/enzedrail/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
http://www.trainweb.org/enzedrail/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jeremy Coulter
Sent: Sunday, 4 July 1999 22:32
To: Multiple recipients of list delphi
Subject: [DUG]: Terminating RAS Connection
Hi all. Does anyone know how to progmatically terminate an active
301 - 400 of 459 matches
Mail list logo