Re: Re[2]: [DUG]: Best way to re-install Delphi after a rebuild

2002-10-20 Thread peter
Gidday, Anyone know the maximum filesize that the source for a zip compress can be. I read it recently, but cant for the life of me find it again, but think its about 1.2Gb. What I am faced with is either split the file prior to zip and join later or below: Maybe there is a later translation

[DUG]: Duped by SaveToStream

2002-10-20 Thread vss
Hi all. I am just working on a wee project at the moment, and I wanted to save a items in a list to file. I ALSO wanted the data to be a bit jumbled to look at, just to put people off. I.e. if it looks like HEX, people tend to leave files alone. To my HORROR !! I opend the file up in note

RE: [DUG]: Duped by SaveToStream

2002-10-20 Thread Chris Milham
Hi, Just wondering why you were duped? Are the docs wrong or vague? Surely feeding some strings to a stream is going to leave them as-is. You need to do the jumbling yourself. Chris -Original Message- From: vss [mailto:vss;vss.co.nz] Sent: Monday, 21 October 2002 1:56 p.m. To:

RE: [DUG]: Duped by SaveToStream

2002-10-20 Thread vss
Na, it was just for SOME reason I didnt expected it to be strings...like you say, if I had thought about it.oh well, it IS monday. Jeremy -Original Message- From: Chris Milham [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Date: Mon, 21 Oct 2002 14:18:39

Re: [DUG]: Duped by SaveToStream

2002-10-20 Thread Matthew Comb
why not do a quick encrypt/decrypt or something. I have routines that do a basic encrypt in just a few lines if you are keen Matt. - Original Message - From: vss [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Monday, October 21, 2002 2:32 PM Subject: RE:

Re: [DUG]: Duped by SaveToStream

2002-10-20 Thread Peter Harrison
On Mon, 21 Oct 2002 13:55, vss wrote: Hi all. I am just working on a wee project at the moment, and I wanted to save a items in a list to file. I ALSO wanted the data to be a bit jumbled to look at, just to put people off. I.e. if it looks like HEX, people tend to leave files alone. To my

Re: [DUG]: Duped by SaveToStream

2002-10-20 Thread vss
yah thats what I did. -Original Message- From: Matthew Comb [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Date: Mon, 21 Oct 2002 14:43:25 +1300 Subject: Re: [DUG]: Duped by SaveToStream why not do a quick encrypt/decrypt or something. I have routines that

Re: [DUG]: Duped by SaveToStream

2002-10-20 Thread Peter Harrison
On Mon, 21 Oct 2002 14:49, vss wrote: yah thats what I did. Hmm... I know Rot13 should encrypt it pretty well. Hell, why not run it through twice - that should provide twice the encryption :-) --- New Zealand Delphi

[DUG]: Pound sign

2002-10-20 Thread Terry Johnson
I'm working on an app that needs to be able to handle the UK pound sign, then yen sign etc as input. How can I enter these from a US-style keyboard? The pound seems to be char (163), but alt-1-6-3 produces z ... confused. Terry

RE: [DUG]: Pound sign

2002-10-20 Thread Vaughan, Benjamin Carl
It is alt-1-5-6 on my keyboard. Ben I'm working on an app that needs to be able to handle the UK pound sign, then yen sign etc as input. How can I enter these from a US-style keyboard? The pound seems to be char (163), but alt-1-6-3 produces z ... confused. Terry

RE: [DUG]: Pound sign

2002-10-20 Thread Paul Needham
Alt 0163 = £ -Original Message- From: [EMAIL PROTECTED] [mailto:owner-delphi;delphi.org.nz]On Behalf Of Terry Johnson Sent: Monday, 21 October 2002 3:47 p.m. To: Multiple recipients of list delphi Subject: [DUG]: Pound sign I'm working on an app that needs to be able to handle the UK

Re: [DUG]: Pound sign

2002-10-20 Thread peter
Alt+0163 For the yen symbol, in any Japanese character set, it's just the backslash char-code (i.e USE backslash and it will appear right). If you need to show it in YOUR charset, Alt+0165 will do it. I'm working on an app that needs to be able to handle the UK pound sign, then yen sign etc as

RE: [DUG]: Pound sign

2002-10-20 Thread Daryl Marsden
Peter you need to enter alt+(0163) leading zero required on my system Making money from the sea - who pays? http://www.ecan.govt.nz/marine-farms.html ** This email and any files transmitted with it are confidential and

[DUG]: Application icon oddity

2002-10-20 Thread peter
Hi folks, A small bothersome thing which one of you may have nailed previously: One of our apps keeps losing its application (taskbar) icon, reverting to the Delphi default. Testing with the same result on two separate machines: we load the icon and it appears to load (looking in the res file

[DUG]: How to add an OnClose event to a TPopup menu?

2002-10-20 Thread Jason Coley
Does anyone know how to add an OnClose event to a TPopup menu? Regards Jason

RE: [DUG]: How to add an OnClose event to a TPopup menu?

2002-10-20 Thread Chris Milham
My short answer, and please correct me if I'm wrong, is that it's not possible. I had so may fun games a while back trying to do the same thing. It appears to be a limitation of the Win API menus that Delphi wraps. I had to do some horrible hack to simulate this but can't remember what, or where

RE: RE: [DUG]: How to add an OnClose event to a TPopup menu?

2002-10-20 Thread Chris Milham
OK... here's the hack...This may or may not help you. Not quite what you're after, I realised, BUT you could stick the MenuAtPt() call in a timer and call some proc when it eventually returns false. I am very ashamed of having thought up such horrible code ;) I don't recommend anyone use this

Re: [DUG]: Application icon oddity

2002-10-20 Thread vss
When you say you Load the Icon, do you mean in the Project Options? if not, try loading it in there. Jeremy -Original Message- From: [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Date: Mon, 21 Oct 2002 15:46:44 +1300 Subject: [DUG]: Application icon oddity

Re: [DUG]: Application icon oddity

2002-10-20 Thread peter
Yes, in Project Options. When you say you Load the Icon, do you mean in the Project Options? if not, try loading it in there. cheers, peter === Peter Hyde, SPIS Ltd, Christchurch, New Zealand * TCompress/TCompLHA component sets for Delphi/Kylix/C++ *

Re: [DUG]: Application icon oddity

2002-10-20 Thread Robert Martin
I think there was some problem in Delphi 4? on windows 2000 related to this. If you change the # of colours in the bitmap the problem may go away. Sorry about the vagueness but we had a similar problem when we went to Windows 2000 3-4 years ago. Rob Software engineer Wild Software Ltd Ph 03

RE: RE: [DUG]: How to add an OnClose event to a TPopup menu?

2002-10-20 Thread Jason Coley
There seems to be some way as there are a few components out there that can do this. But you need to buy the whole vcl library they sell just to get the single functionality. The other approach would be for me to get a hack to find when the popup has closed on the attached treeview component,

Re: [DUG]: Whats going on here?

2002-10-20 Thread vss
instead of chop: record declare in the Var section of the function, put chop : TChopParam; Jeremy -Original Message- From: Alistair George [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Date: Mon, 21 Oct 2002 17:13:40 +1300 Subject: [DUG]: Whats going on

RE: [DUG]: Application icon oddity

2002-10-20 Thread Rose, Alan (MDF Rangiora)
Maybe worth copying the image into a new icon file (also give it a different name) using Delphi's Image Editor. The image editor should ensure it meets the right criteria. Or at least load an icon you know that works in another app to illuminate the icon as the cause of the problem.

[DUG]: Whats going on here?

2002-10-20 Thread Alistair George
Hi all. The following: TChopParam = Record Filename : String; Container : String; Size : Integer; { Options } SavePath : Boolean; End; To use I did the