Re: [DUG]: Comparison of records

1999-04-08 Thread Postmaster
> Try the following function: (Good fast ASM function that has been around > for a VERY long time). > function CompareMem(P1, P2: Pointer; Length: Integer): Boolean; > Eg. > if CompareMem (@record1, @record2, sizeof (record1)) then > This will only work provided the records do not have pointers t

[DUG]: ElasticForm 4

1999-04-08 Thread James M Sandbrook
Hello, I have just downloaded the component "ElasticForm 4" from Q-Systems Engineering at http://www.flash.net/~qsystems/ On their web site it says the component will - This is an excellent component that adds the following capabilities to your form: 1) Resizes all

RE: [DUG]: Comparison of records

1999-04-08 Thread Myles Penlington
If you initialised the records first using FillChar( ) it would work okay, then you know it's all unused areas are initialised. Is there a better way than fillChar() these days??. Myles. -Original Message- From: Postmaster [SMTP:[EMAIL PROTECTED]] Sent: Thursday, April 08, 1999 10:48

Re: [DUG]: ElasticForm 4

1999-04-08 Thread Peter Hyde
James wrote: > I have just downloaded the component "ElasticForm 4" from Q-Systems > Engineering at > http://www.flash.net/~qsystems/ > Has anyone used this component? Is it any good? Nope, but I'm sure a few of us would be interested in your impressions of it! . cheers, peter =

[DUG]: Interface Usage

1999-04-08 Thread Aaron Scott-Boddendijk
I have a question regarding the use of interfaces. if I have 2 interfaces IListtem = interface ... end; IList = interface ... property Items[Index :Integer]:IListItem read GetItems; default; procedure GetStrings(Strings :TStrings); end; and I declare a class TListableList = class(TInt

Re: [DUG]: Interface Usage

1999-04-08 Thread Kerry Sainsbury
Hi, > I have a question regarding the use of interfaces. > > if I have 2 interfaces > > IListtem = interface > ... > end; > > IList = interface > ... > property Items[Index :Integer]:IListItem read GetItems; default; > procedure GetStrings(Strings :TStrings); > end; > > and I declare

[DUG]: CreateOLEObject Error

1999-04-08 Thread Jeremy Coulter
Hi all I am trying to use an activeX dll that I got that checks NT Users to see if they exist (and log them on if the exist).   It works fine under VB and VBScript, but when I run it in Delphi, I get the error "CoInitialize can not been Called"   What does this mean !!! I have seen the erro

Re: [DUG]: CreateOLEObject Error

1999-04-08 Thread pjones
Try calling CoInitialize(Nil) first and make sure you call CoUninitialize before exiting. You can also try OLEInitialize and OLEUninitialize. These are called during application.initialize but (I think) only if the app is an automation server. Also, if you are doing this in your won thread, t

RE: [DUG]: CreateOLEObject Error

1999-04-08 Thread Jeremy Coulter
Cool...Thanks, But what Units do I need to include to use them ??   Cheers, Jeremy Coulter -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]Sent: Friday, April 09, 1999 12:41To: Multiple recipients of list delphiSubject: Re:

RE: [DUG]: CreateOLEObject Error

1999-04-08 Thread Jeremy Coulter
Forget itIt suddenly came to me...OLE2 is what i neeed.     Thanks again   Jeremy Coulter -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]Sent: Friday, April 09, 1999 12:41To: Multiple recipients of list delphiSubject:

RE: [DUG]: CreateOLEObject Error

1999-04-08 Thread pjones
ActiveX "Jeremy Coulter" <[EMAIL PROTECTED]> on 09/04/99 13:41:28 Please respond to [EMAIL PROTECTED] To: Multiple recipients of list delphi <[EMAIL PROTECTED]> cc:(bcc: Peter Jones/Logistics&Information Technology/Christchurch/Foodstuffs) Subject: RE: [DUG]: CreateOLEObject

[DUG]: Disable action on re-enabled controls

1999-04-08 Thread John Christenhusz
Hi all, I have a form with a number of controls, like buttons, dropdown listboxes and tabs. At the click of a button a process is started taking some time. Before activating the task I disable a number of controls on the form, like the dropdown listbox and tabs. This works all fine, when I click

RE: [DUG]: Disable action on re-enabled controls

1999-04-08 Thread Alistair George
You can use the OnKeyUp event of the editor to trap keystrokes, or use a keyboard hook. For the mouse events, a mouse hook works well EG for a menu item you would trap the onclick event and nil it. Cheers, Alistair+ > I have a form with a number of controls, like buttons, dropdown > listboxes and

Re: [DUG]: Interface Usage

1999-04-08 Thread Aaron Scott-Boddendijk
>> I have a question regarding the use of interfaces. if I have 2 interfaces >> IListtem = interface >> ... >> end; >> IList = interface >> ... >> property Items[Index :Integer]:IListItem read GetItems; default; >> procedure GetStrings(Strings :TStrings); >> end; >> and I declare a c

RE: [DUG]: Disable action on re-enabled controls - 2

1999-04-08 Thread John Christenhusz
Hi Alistair, U wrote: > You can use the OnKeyUp event of the editor to trap > keystrokes, or use a > keyboard hook. For the mouse events, a mouse hook works well > EG for a menu > item you would trap the onclick event and nil it. How can I set a mouse hook? John. > > I have a form with a

[DUG]: Record/Key Deleted

1999-04-08 Thread Andrew Masters
Hi All, Despite my gut feeling that this is a dumb Friday question.. I've got a simple dialog with 3 bound controls (DBLookup, DBMemo, DBCheckBox) using a query with a live dataset. I simply do a query.post to save it. For some reason when I do a post I get a "Record/Key deleted" error, bu