[DUG]: Button Caption

2003-08-29 Thread Ross Levis
(D5) Is there an easyway to left justifya TButton caption, and notcentre as it does by default. Thanks, Ross Levis Tauranga.

Re: [DUG]: Button Caption

2003-08-29 Thread Ross Levis
. Ross Levis wrote: (D5) Is there an easy way to left justify a TButton caption, and not centre as it does by default. Thanks, Ross Levis Tauranga. -- - New Zealand Delphi Users group - Delphi List

RE: [DUG]: joining in update query

2003-08-14 Thread Ross Levis
Tracey Maule wrote: unfortunately your help didnt help because i am stuck with needing two where clauses from 3 tables, and interbase will not allow joins in subqueries looks like i will be changing 1540 records by hand This is where SQL doesn't work and where the old fashioned

RE: [DUG]: Maximum size for CDR CDRW

2003-08-04 Thread Ross Levis
700MB CDR's are usually cheaper to get these days. My Verbatim ones can store 702MB or 736,966,656 bytes. To be on the safe side, I would limit it to 700MB (734,003,200 bytes). Regards, Ross. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alistair

RE: Re[2]: [DUG]: Maximum size for CDR CDRW

2003-08-04 Thread Ross Levis
No, that's standard burn, not overburn. Ross. Alistair George wrote: Hello Ross, RL 700MB CDR's are usually cheaper to get these days. My Verbatim ones RL can store 702MB or 736,966,656 bytes. To be on the safe side, I RL would limit it to 700MB (734,003,200 bytes). Yes, thanks - are

[DUG]: windows class name

2003-07-27 Thread Ross Levis
I want to tell from a D5 app if another D5 app is currently running. Is the class name the same as the main forms Name or is this set somewhere else? Thanks, Ross.

RE: [DUG]: windows class name

2003-07-27 Thread Ross Levis
Moises Lopez wrote: i once wanted to check if another app was still running if (FindWindow('TfrmAnotherApp', nil) = 0) and (FindWindow(nil, PChar('Caption for my other main form')) = 0) then begin Yes, FindWindow is what I would like to use, but how does one alter

RE: [DUG]: [Q] Sequence of bytes as a number and back again....

2003-07-21 Thread Ross Levis
Rohit Gupta wrote: var L : longword; A : array [0..7] of byte; absolute L; Now just store what you want in L and read from A or vice versa. I didn't know you could do that. I've wanted to do something like this in the past to extract an integer in a string read from a binary file. I

[DUG]: Creating WAV files

2003-07-19 Thread Ross Levis
Can anyone suggest a free component to record and create new WAV files. The D5 TMediaPlayer doesn't support it. Regards, Ross.

Re: [DUG]: Coding music?

2003-07-17 Thread Ross Levis
At work we have an unlimited 2MbitClearNet Tempest connection. At home it's a 5gig limit Jetstart. My stream is up now. It was a little late starting this morning. Ross Levis. Soul FM StationPlaylist.com - Original Message - From: Robert martin To: Multiple

Re: [DUG]: Coding music?

2003-07-17 Thread Ross Levis
]: Coding music? Damn! I'm stuck on 56k :(. ZM's radio stream sounds pretty nice on 56k though, I have to say. http://www.zmonline.com Cheers, Nicholas Sherlock - Original Message - From: Ross Levis To: Multiple recipients of list delphi Sent

Re: [DUG]: Coding music?

2003-07-16 Thread Ross Levis
My mp3 collection is getting rather stale so I've been listening to Virgin Radio streamed from the UK at around 96kb/s with the Ogg Vorbis format. You obviously need broadband for this one. It sounds perfect, crystal clear like your in the studio. There is a 32kb/s low-fi stream as well for

Re: [DUG]: Coding music?

2003-07-16 Thread Ross Levis
PM Subject: Re: [DUG]: Coding music? Heh.. it's more fun listening to their accents and their adverts than anything else :) Cheers, Nicholas Sherlock - Original Message - From: Ross Levis To: Multiple recipients of list delphi Sent: Thursday

Re: [DUG]: Coding music?

2003-07-16 Thread Ross Levis
with that, use this link: http://www.oddsock.org/icecast2yp/listen.php?id=8991file=listen.m3u Ross Levis Soul FM StationPlaylist.com when im under pressure i usually put something in the Tool or Alice in Chains mold... other wise when im concentrated some soft music like cuban trova or sometimes

[DUG]: UpDown problem

2003-06-30 Thread Ross Levis
. Is there something I'm missing? Cheers, Ross Levis. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body

RE: [DUG]: Wildcard match of strings

2003-06-30 Thread Ross Levis
Use the TMask object. Here is a function I use. function Matches(const S,Wildcard: String): Boolean; var Mask: TMask; begin Mask := TMask.Create(Wildcard); Result := Mask.Matches(S); Mask.Free; end; Eg. If Matches('I am Roger',*Roger*) then... Ross Levis. -Original Message

Re: [DUG]: Repost again

2003-06-05 Thread Ross Levis
You had a couple of replies. Here is a function: Function Mult (x,y: Real): String; var z: Real; begin z := x * y; Result := FloatToStr(z); end; Ross. - Original Message - From: Ben none [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Thursday,

RE: [DUG]: Anyone know these?

2003-06-04 Thread Ross Levis
Except he wanted it as a string. Function mult(x,y:Real): String; begin Result := FloatToStr(x * y); end; Steve Peacocke wrote: Ben none said: 1. Does anyone know how to declare values like this: 0.19 and 0.05 and multiply them and convert it into text? 2. Does anyone know how to

Re: [DUG]: OffTopic Batch file question

2003-05-30 Thread Ross Levis
Use Start not Call. Start.exe has a Wait parameter which should do what you need and works on all Win O/S's. Ross. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website:

[DUG]: Keys

2003-03-29 Thread Ross Levis
Now I would like to detect if the Ctrl or Shift key is down at the time of the drop. Any ideas? Thanks, Ross. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website:

[DUG]: Re: Keys

2003-03-29 Thread Ross Levis
It's OK. I found the GetKeyState Win32 API call. Ross. Ross Levis wrote: Now I would like to detect if the Ctrl or Shift key is down at the time of the drop. Any ideas? Thanks, Ross. --- New Zealand Delphi Users

[DUG]: MousePos

2003-03-27 Thread Ross Levis
I'm using a free component called FileDrop which allows dragging of files from windows explorer onto a TWinControl at runtime. I'm attempting to use this with a ListView to insert files. Unfortunately FileDrop doesn't provide the X,Y coordinates of the drop position. Is there a simple way to

Re: [DUG]: MousePos

2003-03-27 Thread Ross Levis
That did the trick, thanks. Ross. Matt Dee wrote: I found the global Mouse.CursorPos property. Do I have to use that and subtract the mainform position and the listview position or is there something I've missed? TControl.ScreenToClient(const Point: TPoint): TPoint; Takes a screen

Re: [DUG]: Tip for sore eyes

2003-03-12 Thread Ross Levis
5" LCD is quite adequate and quite cheap these days. Ross Levis.

Re: [DUG]: long month version of MonthStr()

2003-03-11 Thread Ross Levis
How about: ?FormatDateTime('',Date); Ross. Tracey Maule wrote: Is there a function like MonthStr() that will return "March" instead of "Mar"? ? Tracey Software Developer / Web Master Logis [EMAIL PROTECTED] (025) 213-1065

Re: [DUG]: db calculation

2003-03-06 Thread Ross Levis
exponential of e, not exponential of 10 Delphi has a log10 function but no Exp10 function I can see so To do this you do use exp(db/10*ln(10)) HTH Neven - Original Message - From: Ross Levis [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Thursday, March

[DUG]: db calculation

2003-03-05 Thread Ross Levis
in the range 0 (silent) to 65535 (maximum). I know that db = 20 log (P1/P2) though I've also seen the 20 at 10. How do I get P1 (or is it P2) to the left of the equation. Thanks, Ross Levis. --- New Zealand Delphi Users

Re: [DUG]: db calculation

2003-03-05 Thread Ross Levis
if this is what you are after (and hope i haven't made some stupid mistake) -ns http://www.roserox.co.th - Original Message - From: Ross Levis [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Sent: Thursday, March

Re: [DUG]: db calculation

2003-03-05 Thread Ross Levis
Yes, I see. However, how does one do ^ in delphi. I'm use to this in other languages but Delphi thnks it is a pointer. Cheers, Ross. Nello Sestini wrote: This formula doesn't seem to work. The 20 should be 10 as Neven pointed out but I believe a -3db reduction should take 65535 to

Re: [DUG]: db calculation

2003-03-05 Thread Ross Levis
- From: Ross Levis [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Thursday, March 06, 2003 4:54 PM Subject: Re: [DUG]: db calculation Hi This formula doesn't seem to work. The 20 should be 10 as Neven pointed out but I believe a -3db reduction should take

Re: [DUG]: Delphi7

2003-02-13 Thread Ross Levis
There is a rxlib 2.75 for D7. I downloaded installed it myself. Not sure where I got it from now. A google search found it, however. Ross. Alistair George wrote: Hi. Now comes the crunch when I find for example, my rxlib does not work, and it wont work because the authors have stopped

Re: [DUG]: TDateTimePicker Time Format

2003-01-22 Thread Ross Levis
That looks good unfortunately I don't have a DateTime_SetFormat procedure. It won't compile (D5). Regards, Ross Levis. Donovan Broad wrote: DateTime_SetFormat(DateTimePickerTest.Handle, pChar('H:mm:ss')); HTH

Re: [DUG]: TDateTimePicker Time Format

2003-01-22 Thread Ross Levis
Of Ross Levis Sent: Wednesday, 22 January 2003 20:37 To: Multiple recipients of list delphi Subject: [DUG]: TDateTimePicker Time Format Using D5, I want the TDateTimePicker in dtkTime mode to display the time as hh:nn:ss (24 hour clock), however, it seems it decides it's own format based

Re: [DUG]: TDateTimePicker Time Format

2003-01-22 Thread Ross Levis
Thanks Donovan. That works perfectly. Cheers, Ross. Donovan Broad wrote: Add CommCtrl to your uses statement. DateTime_SetFormat(DateTimePickerTest.Handle, pChar('HH:mm:ss')); --- New Zealand Delphi Users

[DUG]: TListItem.Checked problem

2003-01-22 Thread Ross Levis
In D5 I need to uncheck items in code that have been checked manually in a ListView (with Checkboxes := True). I can't seem to do it! Setting MyListItem.Checked := False doesn't do it. Tried a MyListView.Refresh without luck. Looks like a deficiency in D5. Is there a workaround? Thanks,

[DUG]: TListItem.Checked problem

2003-01-22 Thread Ross Levis
Yeah, sorry. I just worked out I was using comflicting With statements and something else was being unchecked. Cheers, Ross. Conor Boyd wrote: ListView1.Items.Item[1].Checked := False; and ListView1.Items[1].Checked := False; work for me in D5. Any help? Cheers, C.

[DUG]: Installing DCU components

2003-01-21 Thread Ross Levis
I've downloaded a compiled DCU component which has an associated DCR but I can't work out how to install it into the palette. I've installed PAS/DCR files before. Thanks, Ross. --- New Zealand Delphi Users group - Delphi

RE: [DUG]: Sending record

2003-01-21 Thread Ross Levis
Memory allocated in one app cannot be referenced in another app. Each app runs in it's own memory space, so WM_COPYDATA is a good option. Ross. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Allan Vergara Sent: Wednesday, 22 January 2003 12:28

[DUG]: D5 - D7 filesizes

2003-01-21 Thread Ross Levis
I'm not sure if it was someone on this list who mentioned that D7 EXE filesizes were smaller than D5. I've just installed D7 and it added 100k to a 650k application. Ross. --- New Zealand Delphi Users group - Delphi List

RE: [DUG]: seem to remember...autoincrement version number

2003-01-21 Thread Ross Levis
I suggest you start your build numbers from 1000 then you don't need to fiddle manually. Ross. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To

[DUG]: TDateTimePicker Time Format

2003-01-21 Thread Ross Levis
without changing the regional settings? Thanks, Ross Levis. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED

[DUG]: defines

2003-01-15 Thread Ross Levis
work in all other forms? Do defines work in dpr files? I tried putting a define in the dpr and using it in the mainform but this doesn't work. Should I use 2 separate dpr files? Any suggestions. Thanks, Ross Levis

Re: [DUG]: defines

2003-01-15 Thread Ross Levis
wasting development time. -Andreas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ross Levis Sent: Thursday, 16 January 2003 17:22 To: Multiple recipients of list delphi Subject: [DUG]: defines I have an application for which I want to split into 2

Re: [DUG]: Opendialog filter

2003-01-04 Thread Ross Levis
I don't think there is any way to it with the standard OpenDialog. The best I can think of is to filter the first character to be a number as follows: 'Zip or Spanned Files|*.zip;*.0*;*.1*;*.2*;*.3*;*.4*;*.5*;*.6*;*.7*;*.8*;*.9* Ross. Alistair George wrote: Hi all. I have a special type of

Re: [DUG]: TEdit.Text

2002-11-25 Thread Ross Levis
. -Original Message- From: Ross Levis [mailto:[EMAIL PROTECTED]] Sent: 23 November 2002 13:30 To: Multiple recipients of list delphi Subject: [DUG]: TEdit.Text I'm finding it a hassle that I can't pass TEdit.Text strings as Var parameters in procedures, and can't specify them in readln commands

[DUG]: TEdit.Text

2002-11-22 Thread Ross Levis
I'm finding it a hassle that I can't pass TEdit.Text strings as Var parameters in procedures, and can't specify them in readln commands. With Var parameters, I receive the compiler error Constant Object cannot be passed as a var parameter. With Readln(MyTextfile, MyEdit.Text), I receive the

RE: [DUG]: (Offtopic) Having trouble reaching www.borland.com?

2002-11-17 Thread Ross Levis
It could be that some routers are down somewhere. I'm having trouble accessing my website today via my US domain redirection. It will sometimes load after a number of retries. Ross. http://www.stationplaylist.com David O'Brien wrote: Yup, its gone. -Original Message- From: Conor

Re: [DUG]: TPagecontrol ... disabling a particular page

2002-11-02 Thread Ross Levis
That won't work when using the left/right arrow keys on the keyboard to change the tab, which some people use. Ross. -- Original Message -- The following does it, I think there is a better way but cant remember what it was. //Stops selection of page 2 var pt : TPoint; begin pt :=

Re: [DUG]: Float to Time problem

2002-11-01 Thread Ross Levis
If TotalET is in seconds this then do this: FormatDateTime('hh:mm:ss.zzz', TotalET/SecsPerDay) If this still doesn't work then you may need more precision than a single. Ross. Jeremy Coulter wrote: Message because, the float value might be 59.789 or something.

[DUG]: Auto Scroll ListView

2002-10-17 Thread Ross Levis
Does anyone have any code to scroll a ListView so that TopItem = a particular item (or item index). It is a shame that TopItem is readonly. Thanks, Ross. --- New Zealand Delphi Users group - Delphi List - [EMAIL

Re: [DUG]: Auto Scroll ListView

2002-10-17 Thread Ross Levis
. Myles Penlington wrote: Easy - you can do it already it is on the Item.makevisible(false). -Original Message- From: Ross Levis [mailto:ross;stationplaylist.com] Sent: Thursday, 17 October 2002 1:53 p.m. To: Multiple recipients of list delphi Subject: [DUG]: Auto Scroll ListView Does

Re: [DUG]: Auto Scroll ListView

2002-10-17 Thread Ross Levis
Or, thinking about it a bit longer, perhaps I could do a (LastItem).MakeVisible(false) and then a SelectedItem.MakeVisible(false). I'll try that. Cheers, Ross. Myles Penlington wrote: Easy - you can do it already it is on the Item.makevisible(false). -Original Message- From: Ross

Re: [DUG]: Auto Scroll ListView

2002-10-17 Thread Ross Levis
. -Original Message- From: Ross Levis [mailto:[EMAIL PROTECTED]] Sent: Thursday, 17 October 2002 2:21 p.m. To: Multiple recipients of list delphi Subject: Re: [DUG]: Auto Scroll ListView Or, thinking about it a bit longer, perhaps I could do a (LastItem).MakeVisible(false

[DUG]: Toolbutton tbsCheck not working

2002-10-16 Thread Ross Levis
D5 Pro/Win98. Clicking a toolbutton with tbsCheck is not toggling the Down property. In fact, the button is acting as if it is a standard tbsButton. I tried it on WinXP and it works. Is there anyway around it? Cheers, Ross.

Re: [DUG]: Toolbutton tbsCheck not working

2002-10-16 Thread Ross Levis
Sorry, just found out I was toggling the down property manually in the onclick event, doh. Ross. Dennis Chuah wrote: You probably need a newer version of Comctl32.dll for the Win98 machine. Dennis. - Original Message - From: "Ross Levis" [EMAIL PROTECTED] To:

Re: [DUG]: Bad news - Virus.

2002-10-02 Thread Ross Levis
Which is why I use Netscape 7. Stops all those popup ads too. Ross. [EMAIL PROTECTED] wrote: ..that is automatically opened/run by outlook etc - Which is why I use Opera :-) --- New Zealand

RE: [DUG]: Please help

2002-10-01 Thread Ross Levis
Strings aren't objects and don't have properties or methods in Delphi. There are global functions procedures to manipulate strings such as: NewString := Uppercase(myString); Ross. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Vince Jones Sent:

Re: [DUG]: uninstall kylix2

2002-08-29 Thread Ross Levis
I believe there is an uninstall script in the /usr/local/kylix2 directory. Ross. Brendon Toogood wrote: just wondering how do you uninstall kylix2 i am running mandrake 8.0(i have downloaded kylix3 open) --- New

[DUG]: TDateTimePicker Access Violation

2002-08-21 Thread Ross Levis
Win98 SE/D5.1 Pro. I'm using a TDateTimePicker for editing a date. At runtime, if I click in the year portion of the date and type any digit to enter a new year, I receive an EAccessViolation at address 83ECA098. I can't find any reference to it in a web search. Anyone help? Thanks, Ross

[DUG]: Menu appears white on XP

2002-08-14 Thread Ross Levis
form which looks fine. Here is the main menu on the popup form which doesn't. Any ideas why this is happening? Cheers, Ross Levis http://www.StationPlaylist.com

Re: [DUG]: Help with Kylix 2 open edition

2002-08-12 Thread Ross Levis
Well, you will at least need a uses QForms rather than Forms. Ross. brendon wrote: i have a delphi 6 personal edition app in the project it has this code uses Forms, addressbk in 'addressbk.pas' {Form1}; {$R *.res} begin Application.Initialize; Application.Title := 'Address Book';

RE: [DUG]: help with kylix2

2002-08-12 Thread Ross Levis
Checkout: http://www.codebake.com/createkylixapp.php Ross Levis. Brendon Toogood wrote: Yes thanx a lot it compiled and ran in the kylix enviroment, how do i now get it to run out of the kylix enviroment, ie by just clicking on the executable file? than has got me stuffed

Re: [DUG]: CustomSort

2002-08-09 Thread Ross Levis
of the result? Regards, Bevan --- Bevan Edwardsmailto:[EMAIL PROTECTED] Achieve Software Limited http://www.achieve.co.nz Phone: (64-9) 444-4210 ICQ: 732011 Fax: (64-9) 444-4201 Mobile: (64-21) 979-603 - Original Message - From: Ross Levis [EMAIL PROTECTED] To: Multiple

[DUG]: CustomSort

2002-08-08 Thread Ross Levis
will be bigger than an integer can hold. Result := Trunc(SecsPerDay*(Item1.Date - Item2.Date)); Can someone think of a better approach than this: if Item1.Date Item2.Date then Result := 1 else if Item1.Date Item2.Date then Result := -1 else Result := 0; Cheers, Ross Levis

Re: [DUG]: Windows Help macros (OT)

2001-10-11 Thread Ross Levis
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.

[DUG]: Simulate F1 Help?

2001-10-11 Thread Ross Levis
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

[DUG]: Windows Help macros (OT)

2001-10-10 Thread Ross Levis
Slighty off topic here. I'm writing a help file for my delphi app and I want to add a hyperlink to my website. I'm experimenting with ExecProgram which works like delphi's WinExec and requires an executable filename so doesn't accept a URL. There doesn't appear to be anything equivalent to

RE: [DUG]: Pascal / Delphi for Mac ????

2001-10-09 Thread Ross Levis
Maybe Kylix would work under Mac Linux. Ross. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of vss Sent: Wednesday, 10 October 2001 14:10 To: Multiple recipients of list delphi Subject: [DUG]: Pascal / Delphi for Mac HI. Does anyone know

RE: [DUG]: Borland RAD Seminars - Ak, Wgtn, ChCh

2001-09-30 Thread Ross Levis
Stacey Verner wrote: Try copying the whole of (between the quotes) http://www.123.co.nz/docs/borland rad seminar.doc to you browser. I think spaces are not valid in a URL. The correct address is http://www.123.co.nz/docs/borland%20rad%20seminar.doc Ross.

Re: [DUG]: String Encryption routine

2001-09-28 Thread Ross Levis
I'll give the code it to anyone who wants it but be warned, the checksum is very basic. For each character in the original string, it accumulates the ascii value+the position of the character. I am writing the app with Kylix in mind, ie. no direct WinAPI calls, but it will not be Open Source

Re: [DUG]: String Encryption routine

2001-09-26 Thread Ross Levis
Thanks for the offer Nirav but I'm successfully using a variation of Phil Scadden's simple routine. I've just added a simple checksum to it so I can tell if it's been tampered with. Cheers, Ross. NIRAV KAKU wrote: Why not write an algorithm of your own? If you want to go the world

[DUG]: String Encryption routine

2001-09-25 Thread Ross Levis
Firstly, thanks to those who helped me find a Help authoring tool. I've searched the Net but not found some simple Delphi source to encrypt a string (based on a given key value). I've only found large component sets which are an overkill. I don't need strong encrytion but just something to

RE: [DUG]: String Encryption routine

2001-09-25 Thread Ross Levis
Nic Wise wrote: Does it need to be 2 way, or 1 way? MD5 is very good for one-way. Well I was thinking 2-way but I should be able to use 1-way. What or where is MD5? Cheers, Ross. --- New Zealand Delphi Users group

RE: [DUG]: String Encryption routine

2001-09-25 Thread Ross Levis
Hi Phil This looks useful. Can I assume it decrypts as well by passing the Encrypt param as False? Cheers, Ross. Phil Scadden wrote: here is my favourite, very simple string to hex gobbledegooker. Function Encrypt (Src:String; Key:String; Encrypt : Boolean):string; var idx

RE: [DUG]: String Encryption routine

2001-09-25 Thread Ross Levis
Phil Scadden wrote: here is my favourite, very simple string to hex gobbledegooker. Function Encrypt (Src:String; Key:String; Encrypt : Boolean):string; var idx :integer; KeyLen :Integer; KeyPos :Integer; offset :Integer; dest:string;

RE: [DUG]: Some pointers

2001-09-24 Thread Ross Levis
You should be able to pass a username password in the http address string. I've seen it done before but I don't know the actual syntax. Ross. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of vss Sent: Tuesday, 25 September 2001 17:25 To: Multiple

[DUG]: Help authoring software

2001-09-20 Thread Ross Levis
Can anyone suggest good, free, easy help authoring software. Cheers, Ross. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email

RE: [DUG]: Help with Logic flows

2001-09-18 Thread Ross Levis
In a previous language I used, begin...end blocks had an overhead so were definately not recommended for single statements. I'm not sure about Pascal/Delphi. Ross. Robert Martin wrote: Tottally agree Paul. Always using begin... end makes errors far less common and your code much more

Re: [DUG]: System Tray app

2001-09-05 Thread Ross Levis
occurs if all applications return true. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ross Levis Sent: Wednesday, 5 September 2001 16:45 To: Multiple recipients of list delphi Subject: RE: [DUG]: System Tray app Well I downloaded installed RXLIB and setup

[DUG]: System Tray app

2001-09-04 Thread Ross Levis
Hi all My next project is to write a scheduler utility which will contain timer events but will not require a visible form for user interaction as it will be reading all the options setup in another program. I only want it to appear in the System Tray with a few right-click options like

RE: [DUG]: System Tray app

2001-09-04 Thread Ross Levis
Sounds good Ben, thanks. Ross. Ben Taylor wrote: hi! the easy drag/drop way: - get rxlib, drop the trayicon component onto the main form - set the icon etc if you want - setup a popupmenu with items for 'exit' etc. (exit.onclick should just need form.close) - edit project source(menu

RE: [DUG]: System Tray app

2001-09-04 Thread Ross Levis
Well I downloaded installed RXLIB and setup a basic tray app. The EXE is 299k - 12k larger than an empty form. Doesn't seem too bad. I'll keep an eye on that if I use other controls. Thanks for the info, however. Cheers, Ross. [EMAIL PROTECTED] wrote: You already have source on your pc

Re: [DUG]: drive path extraction

2001-09-03 Thread Ross Levis
Dave wrote: Cool, I've always written my own one of those (IncludeTrailingBackSlash) although tending to use a smaller name. Never even thought of looking for one. It also translates to a forward-slash '/' for Linux (with Kylix). Don't overlook the ExcludeTrailingBackSlash too. Both

RE: [DUG]: drive path extraction

2001-09-02 Thread Ross Levis
David O'Brien wrote: Drive := ExtractFileDrive(Application.ExeName) + '\' ; Or Drive := IncludeTrailingBackSlash(ExtractFileDrive(Application.ExeName)); Ross. --- New Zealand Delphi Users group - Delphi List - [EMAIL

[DUG]: EXE file size anomaly

2001-08-28 Thread Ross Levis
I have more info regarding this anomaly. I've made the discovery that even a blank form compiled on both machines produces different size EXEs. I removed all Uses clauses except Forms. The sizes are 293,376 294,400 bytes. Not much but in theory they should be the same. The smaller EXE was

[DUG]: Destroying Objects

2001-08-26 Thread Ross Levis
A simple yes/no question. Should I cast an object to it's defined type before I Free it? ie. MyObject(ListBox.Items.Objects[0]).Free or simply ListBox.Items.Objects[0].Free will do? Cheers, Ross. --- New Zealand

Re: [DUG]: EXE filesize differences on 2 computers

2001-08-24 Thread Ross Levis
My first reaction is 'that can't be right!. It would seem a silly thing for Borland to do. Surely it is more common to compile your software on one computer and run it on several others. It should be a compiler option. They are different processors but both have a FPU. The larger EXE was

[DUG]: Disabled GroupBox caption not dimmed

2001-08-22 Thread Ross Levis
I must be daft or something! I've successfully written a procedure to disable all the controls in a GroupBox (including embeded GroupBoxes controls) so that everything appears dimmed. This works fine on everything except the GroupBoxes captions (which are disabled). Is it not possible to

Re: [DUG]: Disabled GroupBox caption not dimmed

2001-08-22 Thread Ross Levis
and disabled with groupbox1 do begin enabled:= not enabled; if enabled then font.color := clWindowText else font.color := clGrayText; end; hope this helps -ns - Original Message - From: Ross Levis [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL

RE: [DUG]: EXE filesize differences on 2 computers

2001-08-21 Thread Ross Levis
Hello all. Well, I tried Myles suggestion below and compared the list of modules used and ... they are identical :( I tried John's suggestion of turning on (detailed) map generation and compared the 2 files... they are identical :( It seems impossible to me but there is a difference -- 686k v

RE: [DUG]: EXE filesize differences on 2 computers

2001-08-21 Thread Ross Levis
Hi Cheng All the project files are stored in one folder which was copied from one computer to the other so all uses clauses will be the same. Cheers, Ross. Cheng Wei wrote: Hi Ross, Have you tried this yet - Compare all uses clauses of all units of one project against the other, the

RE: [DUG]: EXE filesize differences on 2 computers

2001-08-21 Thread Ross Levis
Hi Edward. I don't have a copy of TDump. Surely if the DOS command FC shows many differences then TDump will do the same? Cheers, Ross. Edward Aretino wrote: Use TDump on both apps compare. I'd be very surprised if both files came out the same.. At the DOS prompt: tdump

[DUG]: EXE filesize differences on 2 computers

2001-08-20 Thread Ross Levis
I've just copied my delphi project folder to another computer that has the save version of Delphi installed (v5.0 Pro with service pack 1). After compiling the project on both computers, the size of the EXE files are about 30k different. I know it's not enough to worry about but I am curious as

RE: [DUG]: EXE filesize differences on 2 computers

2001-08-20 Thread Ross Levis
.The EXE with the static libs would be larger. -ns - Original Message - From: Ross Levis [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Tuesday, August 21, 2001 4:40 AM Subject: [DUG]: EXE filesize differences on 2 computers I've just

RE: ComponentCount (WAS: RE: [DUG]: Shadowed Controls)

2001-08-20 Thread Ross Levis
Solved. Should be using ControlCount Ross. Ross Levis wrote: Just going back to this one (quickly). I attempted to write a procedure that automatically iterates through the controls contained in a GroupBox. However, ComponentCount for my GroupBox is 0 when I actually have 7. Does

RE: [DUG]: EXE filesize differences on 2 computers

2001-08-20 Thread Ross Levis
I'm away from the computers at the moment but it could be possible. I haven't updated my anti-virus software for a while. Cheers, Ross. Nello Sestini wrote: From: Neven MacEwan [EMAIL PROTECTED] Have you checked the obvious - A virus tacked on the end? lol@ obvious i suppose it

RE: [DUG]: EXE filesize differences on 2 computers

2001-08-20 Thread Ross Levis
Yes, I checked the build options were the same. Those settings appear to get copied with the project files. Ross. Nello Sestini wrote: hare the build options identical? runtime checking (like bounds checking and overflow etc) can change the size of the EXE -ns

RE: [DUG]: EXE filesize differences on 2 computers

2001-08-20 Thread Ross Levis
Hi John. I'll check that tonight and let you know. Cheers, Ross. Manning, John wrote: You've got an intriguing one here Ross... Is there any difference in the size of the DCU files generated on each machine? John -Original Message- From: Ross Levis [mailto:[EMAIL

RE: [DUG]: Shadowed Controls

2001-08-19 Thread Ross Levis
. Myles. -Original Message- From: Ross Levis [mailto:[EMAIL PROTECTED]] Sent: Saturday, 18 August 2001 9:19 p.m. To: Multiple recipients of list delphi Subject: [DUG]: Shadowed Controls Can someone please mention how to change the text that appears in a disabled GroupBox (or any

[DUG]: Menu Shortcuts

2001-08-15 Thread Ross Levis
I didn't get a response from my earlier question so I'll try once more. In a ListView I want the user to be able to press the Del key to delete an item. I enabled this by setting the ShortCut property on a popup menu item. However, when the user is editing the caption of an item presses the

<    1   2   3   4   >