Re: [DUG]: Problems with CreateProcess

1999-07-29 Thread Rohit Gupta
Carl, Dos does not support long filenames. :-) On 29 Jul 99 at 16:41, Carl Reynolds wrote: I'm having difficulties trying to execute a dos batch file. The function I'm using to run it is ..snip... This was working fine until I changed the last parameter in my parameter string to be a

[DUG]: sending component references

1999-07-29 Thread Alistair George
Morning all. I want to pick up a component reference from a sent value, but dont want to re-write my code to do it. I guess the normal way would be to: Txform.alterbuttonstate(sender:tobject); begin with sender as tbutton do begin font.style:=fsbold; end; end; What I would like to do is:

Re: [DUG]: assigning

1999-07-29 Thread Kerry Sainsbury
Could you show us some more code? I wouldn've thought the 'Sender' technique was the 'better way', but I assume I'm missing something. --- Alistair George [EMAIL PROTECTED] wrote: I am currently using a case statement to change the buttons, but thats a bit long-winded if there is a better

Re: [DUG]: sending component references

1999-07-29 Thread Rohit Gupta
Alistair, I am still not sure what you are trying to achieve, but using tags is one way. Another is to put the buttons in an array. Regards On 30 Jul 99 at 8:55, Alistair George wrote: Morning all. I want to pick up a component reference from a sent value, but dont want to re-write my

Re: [DUG]: sending component references

1999-07-29 Thread Paul Lowman
Al - I assume you wish to change the button referenced by value in which case you maybe able to use the index of the button in the components property of the form or maybe set up a list of button pointers in an array and use the value as an index into that - ie build the array when the form is

RE: [DUG]: Problems with CreateProcess

1999-07-29 Thread Carl Reynolds
Thanks Rohit, but that's not the problem - the batch file I'm running does have a short filename. The problem is that the parameters to it cause my batch file to not even start running. I was calling ExecuteApplication('.', 'DosExec.bat', 'C:\ pcli ListVersionedFiles -pr"G:\PVCS\Projects" -aw

[DUG]: sending component references

1999-07-29 Thread Alistair George
Thanks Paul and Paul. Yes what you say below is correct, but it would be slower I think than a case statement? Another possibility I have just figured cause yesterday my brain was at half mast due to the full moon and nobody got much sleep and last night our 1.5 YO daughter played merry hell so

[DUG]: RE: Problems with CreateProcess

1999-07-29 Thread Carl Reynolds
Ok, now I'm really confused! How come ExecuteApplication('.', 'DosExec.bat', 'C:\ pcli ListVersionedFiles -pr"G:\PVCS\Projects" -aw "/General Library - Delphi 4/CubeView"'); works, but ExecuteApplication('.', 'DosExec.bat', 'C:\ pcli ListVersionedFiles -pr"G:\PVCS\Projects" -aw "/General

RE: [DUG]: Change the settings of the Taskbar

1999-07-29 Thread Max Renshaw-Fox
Indeed Patrick. And to further complicate matters we want to do this for some-one elses application. Personally I'd change screen resolutions and/or buy a bigger monitor - this sort of thing should only be an issue at 640 x 480. We could all have done so with the time we have spent not finding

RE: [DUG]: Change the settings of the Taskbar

1999-07-29 Thread Patrick Dunford
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Max Renshaw-Fox Sent: Friday, 30 July 1999 13:44 To: Multiple recipients of list delphi Subject: RE: [DUG]: Change the settings of the Taskbar Indeed Patrick. And to further complicate matters we

RE: [DUG]: assigning

1999-07-29 Thread Patrick Dunford
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alistair George Sent: Friday, 30 July 1999 11:08 To: Multiple recipients of list delphi Subject: [DUG]: assigning snip Next Q.. With a groupindex of 1 and several speedbuttons, if one is selected