[DUG]: TQuery, TUpdateSQL and Insert

1999-04-15 Thread Paul Lowman
Hi All   Anyone tell me how to use a TQuery with an update component to insert a new record.   I have managed to do it so far in the following way :   with dmGlobal.qryWindLog do begin Close; SQL.Clear; SQL.Add('

RE: [DUG]: MDI Forms and Showmodal Hassles

1999-04-15 Thread Darren Bilby
win98 using Delphi 4 prof. I'm sure there must be a way around it, surely otherwise things like file/save dialogs etc, which seem to just be non modal forms would do the same... > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Carl Reynolds > Sent: F

[DUG]: Hints...

1999-04-15 Thread Alistair George
Here is a little bit of code I wrote that may be useful, it does what you want anyway: var Pstate:word; procedure TCamForm.PopMsgS(PSentstate: word; SMsg: string); var p: TPoint; begin if PSentstate = Pstate then exit; DynaMenu.caption := SMsg; //just use a menuitem here GetCursorPos(p);

RE: [DUG]: Hints...

1999-04-15 Thread Cooke, Andrew
Its definitely non-trivial. Have a look at the source - search for THintWindow. If you get stuck, email me privately and I'll fire you some cuts from our source. Cheers, Andrew Cooke. > -Original Message- > From: Mark Derricutt [SMTP:[EMAIL PROTECTED]] > Sent: Friday, April 16, 1999 2:0

Re: [DUG]: Hints...

1999-04-15 Thread Phil Scadden
> I was wondering if any one knew how to pragmatically display a hint window > at an x/y co-ordinate on the screen? > > I'm writing a custom component and want a fly-over hint to pop-up at > different places in the component (its a diagram tool and has > pseudo-objects drawn in it). I assume th

[DUG]: Hints...

1999-04-15 Thread Mark Derricutt
I was wondering if any one knew how to pragmatically display a hint window at an x/y co-ordinate on the screen? I'm writing a custom component and want a fly-over hint to pop-up at different places in the component (its a diagram tool and has pseudo-objects drawn in it). Does anyone know how to

RE: [DUG]: MDI Forms and Showmodal Hassles

1999-04-15 Thread Carl Reynolds
Hi Patrick, >> Hmmm... tried doing the same in our MDI application and had no problems >> (the maximised MDI child forms didn't restore themselves when the >> non-MDI form was created and shown). What versions of Delphi and >> Windows are you using? > >No I am referring to switching from one MDI

RE: [DUG]: MDI Forms and Showmodal Hassles

1999-04-15 Thread Patrick Dunford
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Carl Reynolds > Sent: Friday, 16 April 1999 09:21 > To: Multiple recipients of list delphi > Subject: RE: [DUG]: MDI Forms and Showmodal Hassles > > > Hmmm... tried doing the same in our MDI applicati

RE: [DUG]: MDI Forms and Showmodal Hassles

1999-04-15 Thread Carl Reynolds
Hmmm... tried doing the same in our MDI application and had no problems (the maximised MDI child forms didn't restore themselves when the non-MDI form was created and shown). What versions of Delphi and Windows are you using? Cheers, Carl Reynolds Ph: +64-9-4154790 CJN Tech

Re: RE: [DUG]: Passing record structures

1999-04-15 Thread Aaron Scott-Boddendijk
>I havent tracked this discussion, but its just possible that you may >have missed the significance of H+ (if using D3+). If the compiler >option is H-, then string == shortstring. If it is H+ then >string==ansistring. If using D3+, you should never use string as the >type, always qualify i

RE: [DUG]: MDI Forms and Showmodal Hassles

1999-04-15 Thread Patrick Dunford
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Darren Bilby > Sent: Thursday, 15 April 1999 20:41 > To: Multiple recipients of list delphi > Subject: [DUG]: MDI Forms and Showmodal Hassles > > > Okay, this is probably a stupid newbie question but I

[DUG]: MDI Forms and Showmodal Hassles

1999-04-15 Thread Darren Bilby
Okay, this is probably a stupid newbie question but I can't find an answer for it. I've got a MDI application running with a few MDI child forms maximised, I need a modal box to appear and then simply return. I basically just create the form then do a showmodal on it: Application.Createform(TChP