[DUG]: TEdit Selection

2001-07-22 Thread Wilfred Verkley
Im trying to write some simple "IntelliSense" like functionality into my TEdit control. However, im having a little trouble fine-tuning the TEdit text selection. How do I select a block of text and then place the text cursor at the beginning without effecting the current selection? The code bel

RE: [DUG]: A TADOCommand question

2001-07-22 Thread Dennis Chuah
Catch the exception that it raises when there is an error. Regards, Dennis. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 22 July 2001 02:22 > To: Multiple recipients of list delphi > Subject: [DUG]: A TADOCommand question > > > well im tryi

[DUG]: ISAPI and Thread Safeness

2001-07-22 Thread Colin Fraser
Hi all... I am quite new to ISAPI apps and haven't really done much with treads either... How careful do I need to be in regards to ISAPI apps and treads... For example, if I want to use lots of code that currently uses TLists... do I need to change them all to TThreadLists. In actual fact, mo

Re: [DUG]: TEdit Selection

2001-07-22 Thread Paul Lowman
Wilfred I have a little code implementing the inbuilt windows autocomplete feature. If its of any interest let me know and I'll send it to you. Paul Lowman Lowman Consulting Ltd. Embedded Systems & Software [EMAIL PROTECTED]

RE: [DUG]: TEdit Selection

2001-07-22 Thread Luke Pascoe
Does that offer extend to other interested parties? (Kin'I'va look too?) Luke Pascoe Delphi Programmer enSynergy Consulting LTD [EMAIL PROTECTED] +64-9-3551593 fax +64-9-3551590 Level 4, 10-12 F

RE: [DUG]: ISAPI and Thread Safeness

2001-07-22 Thread Wilfred Verkley
Im pretty much a beginner when it comes to threads. However, from what i understand, ThreadList's lock & unlock method prevent multiple write's to a list automatically. You will still have problems if you havnt locked the list while one thread is reading its contents, and the other thread is upd

[DUG]: Default Exception Handler

2001-07-22 Thread Patrick Dunford
Since Delphi 5 I am finding that my applications no longer display the default exception message dialog when an unhandled exception occurs in the application.   It seems I have to write an exception handler for Application.OnException, or did I miss something?    

RE: [DUG]: A TADOCommand question

2001-07-22 Thread Moises Lopez
yeap, i tried, but i couldnt get that message to a string variable anyways, apparently the errors are stored in the adoconnection component, try adoCommand1.execute; except ShowMessage(adoConnection1.Errors.Item[0].Description); end; so, that traps the message thnks moises lop

Re: [DUG]: Default Exception Handler

2001-07-22 Thread Nello Sestini
Patrick   There are two known problems with "disappearing" unhandled exceptions in D5.    One is fixed in an update - but one is not.   They both have to do with including AppEvents in your uses clause of the unit raising the exception.   If this isn't enough information write back and I'll

RE: [DUG]: Default Exception Handler

2001-07-22 Thread Colin Fraser
I have found that if you have AppEvents in the uses clause but don't have any TApplicationEvents component anywhere, your exceptions miraculously disappear.   Removing the AppEvents from the uses clause usually fixes this... I also had one app which didn't get fixed by this... I searched hi

RE: [DUG]: ISAPI and Thread Safeness

2001-07-22 Thread Xander van der Merwe
Doesn't the Delphi web broker architecture allow you to ignore the threading issue to some extend, as long as you put everything into the TWebModule? As far as I know, Delphi automatically creates a seperate instance of the TWebModule for for each thread. So the only area that you need to worry

Re: [DUG]: A TADOCommand question

2001-07-22 Thread Neven MacEwan
Moises Be careful because in my experiance the errors ADO returns are very dependant on ADO Version and provider type you may get a lot of "errors occurred" messages Regards Neven - Original Message - From: "Moises Lopez" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EM

[DUG]: Property Editor for an object

2001-07-22 Thread Edward Huang
Hi, All, I think it's a easy question... In object inspector, we can expand properties like 'Font', 'Constraints' etc, and set property for these objects. How can I let Delphi to expand my own object property like them? At moment, a customised object property comes up a dropdown box with no op

RE: [DUG]: Property Editor for an object

2001-07-22 Thread Dennis Chuah
Edward, At a guess, your object is a descendent of TComponent. The default behaviour of the object inspector is to display a combobox of compatible components for the property. Furthermore, when the form is saved to a DFM file, only a reference to the component is saved. If you changed your o

RE: [DUG]: Property Editor for an object

2001-07-22 Thread Max Nilson
Edward Huang asked: > In object inspector, we can expand properties like 'Font', 'Constraints' > etc, and set property for these objects. > > How can I let Delphi to expand my own object property like them? > At moment, a customised object property comes up a dropdown box > with no options to sel

Re: [DUG]: Property Editor for an object

2001-07-22 Thread NIRAV KAKU
Edward, I wrote a small visual component where I have used customised property editor (just for the heck of it!!) so I think you might be able to use it. If you want you, I can send you the component. regards, NIRAV KAKU On 23 Jul 01, at 16:35, Edward Huang wrote: > Hi, All, > > I thi