[DUG]: Casting

2003-07-21 Thread Alistair George
Hi all. Is there a way to cast a string to a single item stringlist eg function BurnFiles(Fileslist: tstringlist): boolean; var Newfile:string; if Burnfiles(Newfile ?? as Tstringlist.text) then success:=true; --- New

Re[2]: [DUG]: Casting

2003-07-21 Thread Alistair George
Hello Dennis, Thanks for reply mate - suspected so, but if possible was interested in how. DC> No, you cannot do it with a simple cast. -- Regards, Alistair+ --- New Zealand Delphi Users group - Delphi List - [EMAIL PRO

[DUG]: Offtopic - html

2003-07-22 Thread Alistair George
Hi all. MyApp calls a web address and parses for a textfile which has the latest version of MyApp. Does anyone know how to get the text contents and filedatetime of the file eg versionxp.txt and display that on the web page?? Thanks, Al+ --

Re[2]: [DUG]: tregistry...

2003-07-22 Thread Alistair George
Hello Nicholas, I agree - my preference has always been for INIfile. BUT when you do software protection, usually the only way to do it is to hide it in the registry which sort of defeats the purpose a bit. My pennyworth. NS> The registry never REPLACED TInifile, although the documentation seems

[DUG]: Textfile display on web page

2003-07-23 Thread Alistair George
You can display a graphics file easily enough in html on a web page, but how do you display a textfile on a web page? I want to display each new version and date of my software which is in a textfile on a web site (version.txt). Myprogram links to it for update information, so it makes sense to use

Re[2]: [DUG]: Textfile display on web page

2003-07-23 Thread Alistair George
D] On JJS> Behalf Of Alistair George JJS> Sent: Thursday, 24 July 2003 8:03 a.m. JJS> To: Multiple recipients of list delphi JJS> Subject: [DUG]: Textfile display on web page JJS> You can display a graphics file easily enough in html on a web page, but JJS> how do JJS> you di

[DUG]: html

2003-07-27 Thread Alistair George
Hello Stephen, Thanks! that is what I am after but when I do below: WS> Version information I only get a link displayed as 'Version Information' pointing to 'version.txt' But.. the frame below works but is has a huge frame even if I try to tailor it the text seems to have padding which is not pres

[DUG]: ShellExecute(Application.Handle, nil, 'MailTo:

2003-08-03 Thread Alistair George
Hi all. I want to send bug reports from my app, which includes the users system details. Can anyone advise: a) how I can complete the following to include contents eg Report?Contents+contentsString',nil. b) what to use to provide contents info of users system (pref freeware) Thanks! if msgbo

[DUG]: Bug reporting via email

2003-08-03 Thread Alistair George
Hi again. Have found the following works for body: '&Body=' + 'System Information:'+#13; But if it is as above everything after 'System' is cut off. It only works with strings such as 'System_Information:' Any advice on the API requirements for string passing? Al+ ---

Re[2]: [DUG]: ShellExecute(Application.Handle, nil, 'MailTo:

2003-08-03 Thread Alistair George
Hello Chris, I want the system information, not the bug. Thanks. Al+ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL

[DUG]: Back4WinXP©BugReport

2003-08-03 Thread Alistair George
I tried the following: for i:=0 to Length(mailstring) do if mailstring[i]=' ' then mailstring[i]:=#20; But as you see the subject has 'funnies' in it where the spaces are, and the text gets converted as follows: SystemInformation: -

[DUG]: Hex ver Asci

2003-08-03 Thread Alistair George
Hello Stephen, Scuse ma ignorance but: stringreplace(mailstring,' ',#20,[rfReplaceAll]); is ok but stringreplace(mailstring,' ',$20,[rfReplaceAll]); or stringreplace(mailstring,' ',%20,[rfReplaceAll]); Aint. So howto? thanks, Al+ -

[DUG]: %20

2003-08-03 Thread Alistair George
Hello Jeremy/Connor, Ha, I had already done that but was not going to say something that did not work again. So - '%20' does not work - it reverts as a space (I think) to the WinAPI call. Al+ PS coffee is always humbly accepted by this writer PPS the server for some reason bouces my mails and ha

[DUG]: OK, the boys are on the beers

2003-08-03 Thread Alistair George
This does it: NewString:=''; For i:=1 to length(mailstring) do if mailstring[i]=' ' then NewString:=NewString+'%20' else NewString:=Newstring+Mailstring[i]; //use the old bugger Mailstring:=NewString; ShellExecute(Application.Handle, nil,pchar(Mailstring),nil,nil, SW_SHOWNOACTIVATE); -

Re[2]: [DUG]: %20

2003-08-03 Thread Alistair George
Hello Stephen, Sorry, deleted it, but no worries I get plenty of them so will forward. In the meantime, I'm gonna have a beer by myself ... . .

[DUG]: URLEncode

2003-08-03 Thread Alistair George
Hello Jeremy, Thanks, some of the system information below does not come through due to parsing so URLEncode would probably sort it tksvm. Here is what is 'almost done' if anyone want to use it: procedure TMainform.BugReport1Click(Sender: TObject); var RegIni : TRegIniFile; SI : TSystem

[DUG]: Maximum size for CDR CDRW

2003-08-04 Thread Alistair George
Does anyone know the recommended maximum size for CDRW and CDR disks? I have CDRW: 540Mb CDR: 650Mb. I know it varies from manufacturer of disks, but a safe size as specified without overburn is what I am after. (have searched, but cant find) Tks, Al+

[DUG]: XP issues

2003-08-04 Thread Alistair George
Hi all this is what I have to tell my users: Program seems to hang between CD/CDRW disks (WindowsXP only) press keys Alt-Tab till you view the 'Insert Next Disk' messagebox, and continue. This is a known Microsoft XP bug. Anyone know a workaround - I have tried several forms of messagebox inclu

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

2003-08-04 Thread Alistair George
Hello Ross, RL> 700MB CDR's are usually cheaper to get these days. My Verbatim ones can RL> store 702MB or 736,966,656 bytes. To be on the safe side, I would limit RL> it to 700MB (734,003,200 bytes). Yes, thanks - are not those CD's overburn items, or will they burn to that as a normal burn? Als

Re[2]: [DUG]: XP issues

2003-08-04 Thread Alistair George
Hello J, I do an encapsulation of showmodal now which works more reliably, but still has the odd hiccup. The main thing is why dont MS fix it - it is a well documented bug. Cheers, Al+ --- New Zealand Delphi Users group -

Re: [DUG]: memo lines?

2003-08-06 Thread Alistair George
Hello Chris, Use memo1.selstart -- Regards, Alistair+ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] w

[DUG]: FileFilter

2003-08-09 Thread Alistair George
Hi all. I want to put a file with no extension in a destination directory which gives the disk number eg disk3 Anyone know what I would add to the file filter below to show the above file? Filter := 'Zip (SFX) or Spanned Files|*.z*;*.EXE; *.; does not work. Dont want *.* as it will show all files.

Re: [DUG]: FileFilter

2003-08-14 Thread Alistair George
Hi All. A less elegant solution, but one which works is to make the filter as follows: AG> Filter := 'Zip (SFX) or Spanned Files|disk#*.*;*.z*;*.EXE; -- Regards, Alistair+ --- New Zealand Delphi Users group - Delphi Lis

Re: [DUG]: PaintTo and PopupMenus

2003-08-18 Thread Alistair George
Hello Neven, NM> I can exchange the TButton for a TSpeedButton and they work! You are better at this than I but would not the clue be in the above one being a Tgraphic and the other being a Twincontrol (or something like that) NM> Second question in order to locate my panel where the popup menu ite

[DUG]: Checklist box problem

2003-08-26 Thread Alistair George
Hi all. I made some code (below) and it worked fine here but user reported the following: If I click on any option in the "Other Functions" zone (main screen), there are a lot of display "problems". These problems can vary from one time to the other. example 1 : I click on any option in "Other Fu

[DUG]: Checklist box problem

2003-08-26 Thread Alistair George
Aghhh the previous code works fine if the caption is clicked - it changes the state, but if the checkbox itself is clicked, it changes state, then due to the onclick event, it is changed back! Al+ --- New Zealand Delphi Us

Re[2]: [DUG]: Checklist box problem

2003-08-26 Thread Alistair George
Hello Pedrocelli, P> Define a boolean form variable (FCheckBoxBusy or whatever), set it to false in P> the FormCreate. At the start of the "previous code" mentioned, set the boolean P> to true and back to false at the end. In the OnClick event, check the boolean P> and if true just exit - so the

[DUG]: Mainform oddity

2003-09-09 Thread Alistair George
Hi All. Windows XP again. Anyone experience when minimise to taskbar the application goes to task bar, but also changes to a shortened title bar on the desktop where it will not restore properly again? If so, did you sort it? Thanks, Alistair+ --

[DUG]: cpu load

2003-09-14 Thread Alistair George
Hi all. I have a scheduled backup operating in my software. What I want it to be able to do is prior to starting the schedulled backup, check that the computer is not already too busy doing a CD write or similar operation. If so, the backup will be delayed until there is virtually no CPU loading. T

Re[2]: [DUG]: cpu load

2003-09-14 Thread Alistair George
Hello Todd, Is that a WinAPI call? The scheduler is part of my program - it is not windows scheduler., Al+ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.o

[DUG]: Message passing

2003-09-21 Thread Alistair George
Hi all. In the following: const _MSG_Cancel = WM_USER + 6; procedure CancelBtnClk; begin if MsgReceiver > 100 then postmessage( MsgReceiver, _MSG_Cancel, 0, 0); end; function StatusBoxEX( BoxMsg, BoxCaption, Sound : String; MsgPic : TPicture; Boxposition : Tposition; StayOnTop : Boolean; Bo

Re: [DUG]: Message passing

2003-09-21 Thread Alistair George
Wow; this message took several days to filter through! In the meantime what transpired I found that during the statusbox display, I used a 'yieldprocess' which was meant to be similar to processmessages, but it was not, so the message could not get through. Cheers, Alistair+ AG> MsgReceiver I defi

[DUG]: VirtualListView demo (C:\Borland\Delphi5\Demos\Virtual Listview)

2003-10-06 Thread Alistair George
Hi all why does not the checkboxes show when enabled in this demo? It is vsreport so should show surely? Thanks, Alistair+ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: htt

Re: [DUG]: VirtualListView demo (C:\Borland\Delphi5\Demos\Virtual Listview)

2003-10-06 Thread Alistair George
Hi all, Xtra is pathetic! It took 1 1/2 days for this message to be promulgated. I am sure they are heading for another crash as this always seems to happen before their network fails. I can answer the below question now: You need to do it manually. Assign an imagelist to the listview's "StateImag

[DUG]: Application helpfile

2003-10-08 Thread Alistair George
Hi all this is driving me nuts: If the application knows what the helpfile is the API call which is automatic when F1 is pressed cant find: 'The topic does not exist... OK, so I dont tell it what the helpfile is and get the F1 key in formkey down: procedure TMainform.FormKeyDown(Sender: TOb

[DUG]: Application helpfile 'The topic does not exist...........

2003-10-09 Thread Alistair George
Hi All, There seemed to be no solution to the problem until I got into the mainform.Onhelp event, which showed that DATA was invalid. After that traced it to the F1 key activating help on a non-focused item (could be anything in the desktop). So the answer is to ensure that Mainfo

[DUG]: >65535 WinXP O/S choking

2003-10-14 Thread Alistair George
Hi all. this is a tad offtopic, but useful if someone knows the answer. I made up a wee unit yesterday as follows: procedure TMainform.ZIPmodeClick(Sender: TObject); var fp: file of Byte; no: longint; filename: string; begin for no := 1 to 65535 do begin filename := 'h:\Test' + inttos

[DUG]: Single , double mouse click

2003-10-20 Thread Alistair George
Hello Paul, Cant you do a short delay in the onmouseclick event: procedure TMainform.Panel2Click(Sender: TObject); Const dblclck: Byte=0; begin inc(dblclck,1); delay(500); //500 ms delay using appprocessmessages if dblclck>1 then showmessage('dbl click') else showmessage('Single click'); end; Ot

Re: [DUG]: Single , double mouse click

2003-10-20 Thread Alistair George
Hello Paul, Ohhps dont forget if u use my code to reset the dblclck variable! procedure TMainform.Panel2Click(Sender: TObject); Const dblclck: Byte=0; begin inc(dblclck,1); delay(500); //500 ms delay using appprocessmessages if dblclck>1 then showmessage('dbl click') else showmessage('Single click

[DUG]: Constant

2003-10-23 Thread Alistair George
Hi all. I want to include a CONST param in a RECORD. There is no mention of this in help. Do I have to declare a new TYPE and include that? Thanks, Alistair+ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTEC

[DUG]: Clearing records

2003-10-28 Thread Alistair George
Hi all. hope everyone is well! Info please. I want to clear an array, but still have it available for later use. EG: type PVtreeSearchList = ^TVtreeSearchList; TVtreeSearchList = record Filename, ZipName, PathName, Ftype, Fsize, DTime: string; Index: Cardinal; end; var VtreeSearchLi

[DUG]: Groupboxes

2003-10-30 Thread Alistair George
Hi all. I have two groupboxes. I want to altop the inside (contained) one, but the difference between the borders is too much at the top. How do I reduce this spacing? Anchors of the contained are top and sides. Or am I using the wrong component? Thanks, Alistair --

[DUG]: noisy touchpads

2003-10-30 Thread Alistair George
Hi all. I since I dont have a touchpad here I was wondering if the following code would work. I am trying to remove the noise from the pad. (I am not sure what the processing of the variable debounce is on re-entry) procedure TMainform.BitbtnClick(Sender: TObject); const debounce:integer=0; Label

[DUG]: Close failure

2003-11-10 Thread Alistair George
Good morning. Got a problem been bugging my program for ages. It raises its ugly head sometimes when in the FormCloseQuery event, and is one specific item. Here goes (shortened for brevity) DirMonitor1: TDirMonitor; DirMonList: Tcomponentlist; procedure TMainform.DirMonArrayAdd(Watc

[DUG]: Close failure

2003-11-10 Thread Alistair George
Hello Phil, PM> list. Either way - it's all in the helpfile... you know, the one that came PM> with Delphi ;-) Yes, I did peruse that before asking. My understanding was that if you create an object, you must free it, which is what I was doing. However, this rule of thumb obviously does not always

Re[2]: [DUG]: Close failure

2003-11-11 Thread Alistair George
Hello Phil, Yes, where I came unstuck was the following: PM> when the TComponentList instance is itself destroyed. Where I was wrongly thinking the TComponentlist needed to be freed, then worked backwards from there when things did not work correctly. A moot point but part of the constant learning

Re: [DUG]: application shutdown

2003-11-11 Thread Alistair George
Hello Jeremy, JC> slightly different to Al's problem in that when windows trys to shut my app, JC> only the OnCloseQuery is fired EVEN if I set CanClose:=true; OCQuery is called regardless if you call close. What you are probably dealing with here J is 'Attempt to free unexisting resource' Get en

Re[2]: [DUG]: application shutdown

2003-11-11 Thread Alistair George
TJ> MessageYou need to create a message handler for TJ> WM_QUERYENDSESSION and return true (I think - check the docs). This is correct, but it is circumventing the original problem if I am correct in my previous assumption of resource errors. If thats the case, that method will also bite you (event

Re[2]: [DUG]: Copy protection/program registration

2003-11-11 Thread Alistair George
Hello Corey, CM> PC-specific isn't terribly difficult, but is a pain in the butt when you CM> want to upgrade your machine and end up with a whole bunch of things CM> that don't work anymore. One method is to check that at least some of the items are correct eg allowing a change of MOB and CPU, bu

Re[2]: [DUG]: Copy protection/program registration

2003-11-11 Thread Alistair George
Oh, another key method is if you are supporting your product, you keep changing the Version on each change, which relates to your Key, tied in with HDserialnumber and an entry datetime limit, the encryption can be 'fairly' strong, and makes the hackers job a repetitive one. Al+ ---

[DUG]: Debug

2003-11-11 Thread Alistair George
When I close my app it comes up with the following: 'External exception C008' Then: 'Runtime error 216 at 31F8' I've got debugging turned on, map file etc. Read somewhere I can key in the above to find where the error occurred but cant recall where it was. Would it be possible the the IDE

[DUG]: Menus.pas Delphi 5 'Attempt to free a non-existing resource'

2003-11-12 Thread Alistair George
Hi all. I have found a destroy resource problem which is indicated to be in menus.pas. destructor TMenuItem.Destroy; begin ShortCutItems.ClearItem(Self); if FParent <> nil then begin FParent.Remove(Self); FParent := nil; end; while Count > 0 do Items[0].Free; if FHandle <> 0 th

Re[2]: [DUG]: Menus.pas Delphi 5 'Attempt to free a non-existing resource'

2003-11-12 Thread Alistair George
Hello Dennis, DC> if FItems<>nil then FItems.Free; DC> does nothing more than FItems.Free It seems to, even tho helps says it is the same, it behaves differently. DC> There is nothing wrong in that line of code - the items list is being DC> freed - if you are getting an exception there, it might

[DUG]: Memory Sleuth 3

2003-11-12 Thread Alistair George
I wanted to try this out before buying it off TurboPower but their email info address bounces. Does anyone know about this? Thanks, Alistair --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]

Re[2]: [DUG]: Memory Sleuth 3

2003-11-12 Thread Alistair George
Hello James, I've just confirmed what u say here. So does anyone know where I can get a copy - it is not being placed in sourceforge. Thanks, Al+ Thursday, November 13, 2003, 4:01:41 PM, you wrote: JS> They no longer exist. Either it is open source or the parent company will be JS> trying to se

[DUG]: Documentation on untraceable APPLICATION EXCEPTION

2003-11-16 Thread Alistair George
Hi All. It might be useful for me to post my experiences with debugging a particularly difficult software problem. Many or most of you will be aware of this procedure I have done, but for those in the future who like me, are struggling with an issue I hope it helps: Scenario: When closing an

[DUG]: To CASE or not?

2002-10-14 Thread Alistair George
intensive. Any suggestions to achieve this would be appreciated. My own feeling is to run with a dynamic CASE statement, but even this would seem to take a pretty big chunk of processing time given each file is parsed? Thanks, Alistair George

Re[2]: [DUG]: To CASE or not?

2002-10-14 Thread Alistair George
f 65000 codes. NS> -ns NS> http://www.roserox.co.th NS> - Original Message - NS> From: "Alistair George" <[EMAIL PROTECTED]> NS> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> NS> Sent: Tuesday, October 15, 2002 07:02 NS

[DUG]: Speed of code

2002-10-14 Thread Alistair George
Hi again. Here is a routine which seems to run really slowly - any ideas why? and if so, what suggested solution tks, Al+ with FileListbox.Items do begin label1.caption:='Process - adding qualifiers'; beginupdate; for I := 0 to FileListbox.items.count-1 do Strings[i]:=S

Er, ahem [DUG]: Speed of code

2002-10-14 Thread Alistair George
Sorry seems to be something funny going on with the program. Not that code in my last. I will do whatcha suggest J to stop redraw makes sense. Delphi has been acting strange ever since I switched over from Win 98 to Win XP. All kinds of funnys including editing quirks, cursor going off on a tange

[DUG]: Tree selection behaviour - mini attachment

2002-10-16 Thread Alistair George
Hi all. Does anyone know about the O/S to know why when I select 'Acer' in this tree, that Backup is checked as well. But if I select 'Clariworks Librarys' Claris is not checked (only correctly greyed indicating a selection beneath). It is probably a component malfunction but maybe someone knows m

Re[2]: [DUG]: Tree selection behaviour - mini attachment

2002-10-16 Thread Alistair George
Hello Tracey, TM> seems to me because acer is the only subfolder of backup, therefore all TM> subfolders are selecting resulting in a full tick TM> clarisworks libraries is one of many subfolders to claris, the grey tick TM> indicating not all folders are selected. TM> Normal behaviour IMHO Abso

[DUG]: Is this bad programming practice or what?

2002-10-23 Thread Alistair George
I need to parse strings which include files and directories. If they are a directory then I append global files. My concern is (even though I have never met one yet) a filename with NO extension. Would this be a concern?? code follows: for tval := 0 to memo1.Lines.Count - 1 do begin with mem

[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 follow

[DUG]: Treelist with checkbox

2002-10-21 Thread Alistair George
Hi all. I have treelists galore and have searched, but cannot find, how to propagate them with for example directories and check boxes. Anyone point me to the resource for this info please? Thanks, Alistair+ --- New Zealan

Re[2]: [DUG]: Treelist with checkbox

2002-10-21 Thread Alistair George
w/VTGallery.php. DC> Dennis. DC> - Original Message - DC> From: "Alistair George" <[EMAIL PROTECTED]> DC> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> DC> Sent: Tuesday, October 22, 2002 2:58 PM DC> Subject: [DUG]: Treeli

Re[4]: [DUG]: Treelist with checkbox

2002-10-22 Thread Alistair George
d there is certainly a page that DC> shows the directory / file structure with checkboxes. DC> HTH, DC> Dennis. DC> - Original Message - DC> From: "Alistair George" <[EMAIL PROTECTED]> DC> To: "Multiple recipients of list delphi" <[EMAIL PRO

[DUG]: A Friday poser

2002-10-24 Thread Alistair George
Thanks folks for the input on 'Is this bad programming practice or what?' I settled for the following which 'should' be OK: for tval := 0 to memo1.Lines.Count - 1 do begin with memo1.Lines do begin if (directoryexists(strings[tval])) then //its DEFINITELY a directory stri

[DUG]: Windows Messenger

2002-10-24 Thread Alistair George
Hi I just wondered if anyone in the group may have some time to help we work through modifying a stringgrid component online there are a few changes I need to make and it would help if you can work me through using Microsoft messenger so I dont take much of your time. Thanks, Al+

[DUG]: Recursion - directories

2002-10-24 Thread Alistair George
Can anyone pse explain what directory recursion means? Tks, Al+ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTE

Re[2]: [DUG]: Recursion - directories

2002-10-24 Thread Alistair George
y in he specified directory until all have RM> been checked or the file is found RM> end; RM> Not a great example but I hope this illustrates simple recursion. RM> Rob RM> Software engineer RM> Wild Software Ltd RM> Ph 03 338-1407 RM> - Original Message - RM> Fro

Re[2]: [DUG]: Recursion - directories

2002-10-24 Thread Alistair George
Hello Chaps, Nello confirmed my last no need to reply thanks for clarifying. Al+ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send emai

Re[2]: [DUG]: Windows Messenger

2002-10-24 Thread Alistair George
Hello Phil, PS> Do you mean the NetAPI (netsendmessage etc)? No, sorry, I probably did not make it clear enough. I am trying to modify a stringgrid component and did not want to harass anyone too much asking questions but the tool MS Messenger would be a great way (if someone had the time) to he

[DUG]: keeping components viewable between Restore and Maximise

2002-10-25 Thread Alistair George
Wee problem. When mainform is resized it shifts offscreen in Restore some components. At designtime I can get the correct layout by doing the changing align properties as I have done in this runtime code which does nothing to fix the problem. Any tips? procedure TMainform.Panel4Resize(Sender: TObj

Re[2]: [DUG]: Tree selection behaviour - mini attachment

2002-10-17 Thread Alistair George
kup, therefore all TM> subfolders are selecting resulting in a full tick TM> clarisworks libraries is one of many subfolders to claris, the grey tick TM> indicating not all folders are selected. TM> Normal behaviour IMHO TM> - Original Message - TM> From: "Alistair George&q

[DUG]: {$IfDef VER120} // if Delphi v4.xx

2002-10-17 Thread Alistair George
Hi all. What is the Def for Delphi 5 please? Thanks and hope u all have a great weekend. Al+ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub

[DUG]: Offtopic

2002-10-27 Thread Alistair George
Hi all. WindowsXP. Have found that one of the most basic of things in explorer searching for Files (*.pas) containing text does not work until I applied a registry fix. Problem still remains on tray icon area that each new startup it decides to hide some of the icons as inactive even though they h

[DUG]: Q.

2002-10-28 Thread Alistair George
Hi all, Is there a function like: IsDirectoryEmpty(string); or DirFileSize(string); If so, what is it please. Al+ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.

Re[2]: [DUG]: Needs some help please

2002-10-28 Thread Alistair George
Hello Dennis, MSB is the high (Most) significant bit eg, the leftmost BIT not byte. Regards, Al+ Tuesday, October 29, 2002, 8:13:23 AM, you wrote: DC> Message DC> Is the MSB (Most significant byte) to the left or to the right? If it is to DC> the left, DC> ieventclass := (eventpack[3]

[DUG]: Headache material

2002-10-28 Thread Alistair George
Hi all. I am having a problem with tmemo in that if I delete one item in the loop below the memo is stuffed afterwards. But in the second example memo is OK. Any tips?? Logically, memo count is adjusted after one item deleted but tval is inc'd for next. Tval needs to be dec'd prior to next count (I

[DUG]: More than one way of skinning a cat

2002-10-28 Thread Alistair George
Probably a more elegant solution exists but the following works: tval := 0; while tval < memo1.lines.Count do begin with memo1.Lines do begin if (directoryexists(strings[tval])) then //its DEFINITELY a directory if not dirhasfile(strings[tval]) then begin

[DUG]: Control has no owner

2002-10-31 Thread Alistair George
A moot case now as I found another solution but could it be clarified why the below is not right and what would be right: procedure TMainform.VETclearchecks; var tempstr: tmemo; begin tempstr := tmemo.Create(self); //I'm not doing this right here tempstr.Clear; VET.BeginUpdate; try

Re[2]: [DUG]: Control has no owner

2002-10-31 Thread Alistair George
Hello Brian, Very astute, and if I had my wits about me (like 365 days ago) I would have been aware of that. Yes, VET.refreshtree suffers from the freed item. So I cottoned on a while back to use another listbox on the form which was already there. Thanks again. Al+ BW> You've created a list of st

Re[2]: [DUG]: Control has no owner

2002-10-31 Thread Alistair George
Hello Kyley, KH> VET.Storage.CheckedFileNames.Clear; No, there is a thingy called a PDLlist which also needs to be handled properly. I think that eventually what you say will work. Al+ --- New Zealand Delphi Users grou

[DUG]: Button preferences

2002-10-31 Thread Alistair George
Hi all, Any advances on Tbutton or Tspeedbutton. I am finishing a program and had some fancy buttons which look super in XinXP but cruddy on another platform eg 98/ME. Interested in suggested freeware alternatives which maybe you have tried on various platforms which looks smart?? Hope u all have

[DUG]: Quicky - the registry

2002-11-03 Thread Alistair George
Good morning all. Have looked at Delphi and Windows help and cannot find the filenames of registry for Win98 and/or WinXP. Can anyone tell me? and also whatDIR WinXP hides its registry? Tks, Alistair --- New Zealand Delphi

Re[2]: [DUG]: Quicky - the registry

2002-11-03 Thread Alistair George
Hello Andreas, Cheers for info - now I can see if my backup program actually backs up these files! But the real reason is I have upgraded PCs and want some of the information on Win98 registry to insert into WinXP without having to rework all the setups. Thanks heaps, Al+

[DUG]: Button status

2002-11-08 Thread Alistair George
Hello All, I want to force a button from depressed to raised. So how to raise and lower a button programmatically? Tks, Al+ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: ht

[DUG]: Tlistbox or what?

2002-11-09 Thread Alistair George
Hello All, Excuse my ignorance. I want to have a small onscreen editing part that for instance I can include in a group of desired file extensions eg tmp swp ~qq So the user would click on the box and start entering their desired items line-by line, which could then be a stringlist or whatever. A m

[DUG]: Tlistbox or what? - button UP

2002-11-10 Thread Alistair George
Hello Stephen, Thanks for advice. My attitude perhaps is like Peter Cooke and Dudley Moore skit 'learning to play Beethoven' (if you are familiar with it). I _expected_ Tlistbox to behave that way, rather than using another component as I am trying to reduce resources in the software. Will stick t

[DUG]: Deletefile('D:\*.*');

2002-11-10 Thread Alistair George
Hi All. The above does not work as deletefile only works on single file. Is there a call to delete everything in a directory including folders? I have a procedure to do this but prefer a solid delphi call if at all possible. Thanks, Al+

Re[2]: [DUG]: Deletefile('D:\*.*');

2002-11-11 Thread Alistair George
Hello Pedrocelli, A good, simple approach. Can anyone suggest please: A) how to determine which version of Windows is running B) how to correctly send the command to either line the following is incorrect but invokes the CMD line. WinExec('cmd del c:\temp\*.*',SW_SHOW); And what would be the corr

[DUG]: Component has been installed

2002-11-13 Thread Alistair George
Hi all. The above is reported, and the component should be in Samples but it is on none of the component menus but is in the packages list after installation. it is registered thusly: procedure register; begin RegisterComponents('Samples',[TAboutDialog]); end; I dunno? Al+ -

[DUG]: Component has been installed

2002-11-13 Thread Alistair George
Hello All, I still havent found the problematical reason for a component which is shown on the packages list, and reported as installed into Samples is not visible. It is not hidden, and by looking at all the components is definitely not there. I have removed all references to the component, re-ins

Re[2]: [DUG]: Component has been installed

2002-11-13 Thread Alistair George
Hello Bob, Been there, done that too! Those bananas are starting to look good. Al+ Thursday, November 14, 2002, 4:16:47 PM, you wrote: BO> I remember having a similar problem once and never solved it. I think I got BO> around it by putting the component on another tab. ---

Re[2]: [DUG]: Component has been installed

2002-11-14 Thread Alistair George
e object is DOB> listed? DOB> hkey_current_user\software\borland\delphi\5.0\palette DOB> Dave. DOB> -Original Message- DOB> From: Alistair George [mailto:bigal@;xtra.co.nz] DOB> Sent: Thursday, 14 November 2002 3:26 p.m. DOB> To: Multiple recipients of list delphi D

OfftheTopic - Re[3]: [DUG]: what will be the best technology?

2002-11-18 Thread Alistair George
Hello Neven, I am not so skilled, so I leap out of bed for $US289 Al Tuesday, November 19, 2002, 5:13:27 PM, you wrote: NM> J NM> $289 USD per dev , and no R/T fees Jeez you wouldn't get me outa bed for NM> that NM> let alone an app

[DUG]: Forms bimaximise, biminimize, bihelp

2002-11-19 Thread Alistair George
Hello All, Been down this ages ago, but maybe it is now possible to have bihelp with bimax bimin?? If so, how to please? Tks, Al+ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Websi

[DUG]: What disables mouse on mainform

2002-11-19 Thread Alistair George
Hi cant get mousedown or click events on mainform. What cancels them? Thanks, Al+ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send emai

[DUG]: Mainform.OnMousedown OnClick events not happening

2002-11-19 Thread Alistair George
Hi all. Could the problem be some other component is inheriting the Subject events? Al+ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, sen

  1   2   3   4   5   6   >