RE: [DUG]: Redrawing Components

2000-10-19 Thread Patrick Dunford
What version of Delphi are you using? I, using D5.00, Windows NT4 SP6. It's supposed to be "DBEdit.Width" not left. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thursday, 19 October 2000 15:02 To: Multiple recipients of

RE: [DUG]: Lines That Repaint

2000-10-19 Thread Patrick Dunford
As far back as D3 you have had to open the API help file separately, by putting the button onto the speedbar. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nello Sestini Sent: Thursday, 19 October 2000 14:54 To: Multiple recipients of list delphi

RE: [DUG]: Redrawing Components

2000-10-19 Thread Patrick Dunford
Thankyou for that. I have since confirmed it works in Delphi 3 I now have the dubious task of trying to figure out why it doesn't work in Delphi 5, unfortunately I have little choice about using Delphi 5. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On

[DUG]: IVR anyone?

2000-10-19 Thread Peter G Jones
I've been assigned tha task of fixing an IVR system that uses VOS. I would like to replace VOS with an OCX or VCL component. Does anyone have any reccommendations. VB or Delphi or even C++ is fine. Price is a consideration and it must be able to handle to 8 lines on dialiogic cards.

Re: [DUG]: IVR anyone?

2000-10-19 Thread Bevan Edwards
Hi Peter, What sort of budget is involved? What sort of complexity does the IVR system have to handle? And what do you mean by fix an IVR system? It sounds to be like you want to replace it completely. Regards, Bevan Peter G Jones wrote: I've been assigned tha task of fixing an IVR

Re: [DUG]: IVR anyone?

2000-10-19 Thread Peter G Jones
The system allows student to make national and local calls off-campus and it debits their account. It is working but the code is utter crap and we can't touch it for fear of a disaster. Yes, it does need to be updated and a few new features added. If we have to spend money then it makes the

Re: [DUG]: IVR anyone?

2000-10-19 Thread Bevan Edwards
Hi Peter, The system allows student to make national and local calls off-campus and it debits their account. It is working but the code is utter crap and we can't touch it for fear of a disaster. I can understand that :) Yes, it does need to be updated and a few new features added. If

Re: [DUG]: Redrawing Components

2000-10-19 Thread David Brennan
Briefly, the component consists of a TGroupBox containing a TPanel. On the TPanel is a TDBEdit and a TBitBtn. The WM_SIZE message handler looks like this: procedure TGDBEdit.WmSize(var Message : TMessage); begin inherited; DBEdit.Width := Self.Width - 35; Self.Caption :=

RE: [DUG]: Redrawing Components

2000-10-19 Thread Donovan J. Edye
D, Try TControl(DBEdit).Width := 123 as. procedure TControl.SetWidth(Value: Integer); begin SetBounds(FLeft, FTop, Value, FHeight); Include(FScalingFlags, sfWidth); end; This achieves ensuring that the control gets correctly resized with SetBounds et al..

RE: [DUG]: Redrawing Components

2000-10-19 Thread jnorth
Works in D5.01... I am thinking it works the way you wanted... i can send you the source if you want (and the exe). unit GDBEdit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, DBCtrls, Buttons, DB; type TGDBEdit =

[DUG]: Last Active Control on a form

2000-10-19 Thread Neven MacEwan
Hi all I'm trying to save the last focused control on a form so when I reactivate it This control has focus Can anyone gove me a pointer? TIA Regards Neven N.K. MacEwan B.E. EE Ph 649 574 0027 Fax 649 570 2706 "A truth denied the light of action will wither to a promise, propaganda and then

Re: [DUG]: Last Active Control on a form

2000-10-19 Thread jnorth
TForm.OnDeactivate event. untested... JED I'm trying to save the last focused control on a form so when I reactivate it This control has focus --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]

Re: [DUG]: Last Active Control on a form

2000-10-19 Thread Neven MacEwan
JED Tried that but the form is not being deactivated it is only moving down in the Z-Order Thanks Neven - Original Message - From: [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, 20 October 2000 14:48 Subject: Re: [DUG]: Last Active Control on a

RE: [DUG]: Last Active Control on a form

2000-10-19 Thread Carl Reynolds
From: Neven MacEwan [mailto:[EMAIL PROTECTED]] I'm trying to save the last focused control on a form so when I reactivate it This control has focus The focused control is TForm.ActiveControl, and when you call Form1.SetFocus it calls Form1.ActiveControl.SetFocus internally. So normally this

Re: [DUG]: Last Active Control on a form

2000-10-19 Thread David Brennan
From: Neven MacEwan [mailto:[EMAIL PROTECTED]] I'm trying to save the last focused control on a form so when I reactivate it This control has focus The focused control is TForm.ActiveControl, and when you call Form1.SetFocus it calls Form1.ActiveControl.SetFocus internally. So normally

[DUG]: Can anyone tell me what is the following code meaning? (By the way, that is not important)

2000-10-19 Thread Leigh Wanstead
Hello everyone, Can anyone tell me what is the following code meaning? By the way, it is not important to me, I just read the code in 3rd party and I am just curious. type TWhatever = type string; Is that same as this one without word type? type TWhatever = string; Thanks in advance.

RE: [DUG]: Can anyone tell me what is the following code meaning? (By the way, that is not important)

2000-10-19 Thread Carl Reynolds
From the help on type (topic: Type Identity), Type identity is almost straightforward. When one type identifier is declared using another type identifier, without qualification, they denote the same type. Thus, given the declarations type T1 = Integer; T2 = T1; T3 = Integer; T4 = T2;

RE: [DUG]: Can anyone tell me what is the following code meaning? (By the way, that is not important)

2000-10-19 Thread Myles Penlington
No it is not the same. You end up with the same kind of type, but they are no longer compatible with each other. Ie TWhatever is a string, but you cannot assign a string to TWhatever. (I think however the other way round works eg you can assign TWhatever to a string) - Can't remember the exact

RE: [DUG]: Can anyone tell me what is the following code meaning? (By the way, that is not important)

2000-10-19 Thread Michelle Blyde
Hello everyone, Can anyone tell me what is the following code meaning? By the way, it is not important to me, I just read the code in 3rd party and I am just curious. type TWhatever = type string; Is that same as this one without word type? type TWhatever = string; The first

Re: [DUG]: Last Active Control on a form

2000-10-19 Thread Nello Sestini
Neven I'm trying to save the last focused control on a form so when I reactivate it This control has focus write handlers for the form's FormActivate and FormDeactivate events FormDeactivate needs to save the value of ActiveControl FormActiveate needs to restore the value of ActiveControl

[DUG]: CGI Apps etc... getting started...

2000-10-19 Thread Colin Fraser
Hi, We are just looking at starting some WEB Development with Delphi and I am wondering if anyone has any links to sample code or tutorials for both the Delphi and the HTML side of things. Regards Colin ## Attention: The

RE: [DUG]: CGI Apps etc... getting started...

2000-10-19 Thread Malcolm Groves
Hi Colin, I've got a paper on using WebBroker, State and a few other things up at http://www.madrigal.com.au/articles.htm Hope it's useful Malcolm --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]

Re: [DUG]: IVR anyone?

2000-10-19 Thread Paul Lowman
OK I give in - whats IVR ? --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe

Re: [DUG]: IVR anyone?

2000-10-19 Thread Nello Sestini
Institute for Virus Research Internet Virtual Reality Intramolecular Vibrational energy Redistribution InterVentional Radiology Internationale Vereinigung fur Rechts-und Sozialphilosophie oh and Interactive Voice Response, but he probably didn't mean that. (apologies - it is friday) -ns

Re: [DUG]: IVR anyone?

2000-10-19 Thread Paul Lowman
Oh. :^} --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"

Re: [DUG]: Last Active Control on a form

2000-10-19 Thread Neven MacEwan
Nello I prob should have been more specific (and as a result appear less dim) I have a TPanel which has dynamically created forms as its Controls Form := TForm.Create(Application); Form.Parent := Panel; Form.Align := alClient; etc I then have a navigator comp which make on of the forms

Re: [DUG]: IVR anyone?

2000-10-19 Thread Neven MacEwan
Paul I wondered who was going to crack... - Original Message - From: Paul Lowman [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, 20 October 2000 16:35 Subject: Re: [DUG]: IVR anyone? OK I give in - whats IVR ?

RE: [DUG]: Last Active Control on a form

2000-10-19 Thread Alan Rose
Yes a common problem for apps with embedded forms. I imagine your main form has some sort of control event to handle the swapping of forms e.g pagecontrol or a like. Its from here you need to fire activate or deactivate events in your embedded forms. I'm sure you can think of plenty of ways of

Re: [DUG]: Last Active Control on a form

2000-10-19 Thread Nello Sestini
I prob should have been more specific (and as a result appear less dim) your lack of dimness is confirmed elsewhere on here so no worries about that I have a TPanel which has dynamically created forms as its Controls Form := TForm.Create(Application); Form.Parent := Panel;

Re: [DUG]: Last Active Control on a form

2000-10-19 Thread jnorth
Why not Hide the previous active form and then show it again. Trap the active control in FormClose with action set to caHide maybe? Set the active control back in FormShow? JED --- New Zealand Delphi Users group -

Re: [DUG]: Last Active Control on a form

2000-10-19 Thread jnorth
If you use D5, you could always just use Frames... JED Also I think the form having a parent confuses things! obviously all bets are off as far as "normal" behaviour of standard events here - but I'm going to play around with this (for my own selfish reasons g) will certainly give you a