Re: [DUG]: I've had it up to here with TEdit descendants

1999-12-20 Thread Neven MacEwan
Trevor Funny but I've just been contemplating the same thing What I'd like is an input masking system that handled money/dates/times etc I've used the Softouch as a basis for one control (cause their calendar control didn't input times) Their code is quite nice and derives from TCustomEdit,

Re: [DUG]: I've had it up to here with TEdit descendants

1999-12-20 Thread Xander van der Merwe
The Topaz Delphi database (.dbf) library is also advertised as having really good edit mask capabilities (compatible with the old DBase way of doing it). It may be overkill in that it also has the database stuff added... They have a specific point on their FAQ regarding this. See

[DUG]: Style

1999-12-20 Thread Joel van Velden
Just a beginners question: How do you change (using code) a memo's style properties. memo1.font.style := fsBold; doesn't work. There is probably something im overlooking here. Thanks in advance. --- New Zealand

Re: [DUG]: Style

1999-12-20 Thread Joel van Velden
Thanks. Because the font.Style property is a "set" you must enclose the value in [] So memo1.font.style := [fsBold]; or memo1.font.style := [fsBold, fsItalic]; or memo1.font.style := memo1.font.style + [fsBold]; or memo1.font.style := memo1.font.style - [fsBold]; Chris

RE: [DUG]: Style

1999-12-20 Thread Chris Crowe
Because the font.Style property is a "set" you must enclose the value in [] So memo1.font.style := [fsBold]; or memo1.font.style := [fsBold, fsItalic]; or memo1.font.style := memo1.font.style + [fsBold]; or memo1.font.style := memo1.font.style - [fsBold]; Chris

RE: [DUG]: I've had it up to here with TEdit descendants

1999-12-20 Thread Max Nilson
Trevor asked: ...and I'm sure that I'm not the only one. Your not 8-) Is it just me, or is any decent entry field necessarily descended from TCustomControl? Hey, is TCustomControl even a good place to start? TCustomControl is the perfect place to start building your own collections of

RE: [DUG]: Modal stuff...

1999-12-20 Thread Chris Crowe
You could do this procedure TForm2.DoSomething; begin Enabled := False; { Disable the form } try Show; ProcessThatUpdatesForm2WithProgressInfo; ModalResult := mrOk; finally Enabled := True; end; end; Chris -Original Message- From: [EMAIL PROTECTED]

RE: [DUG]: Modal stuff...

1999-12-20 Thread Stacey Verner
You can set FormStyle := fsStayOnTop and disable other forms. Stacey Verner Ph: +64-9-4154790 Software DeveloperFax: +64-9-4154791 CJN Technologies Ltd. Email: [EMAIL PROTECTED] PO Box 302-278, North Harbour, Auckland, New Zealand 12 Piermark

[DUG]: Modal stuff...

1999-12-20 Thread Derricutt, Mark
Is it possible to show a form as modal, but continue execution in the same program block without waiting for ModalResult to be set? I want to do something like: procedure TForm2.DoSomething; begin ShowModal; ProcessThatUpdatesForm2WithProgressInfo; ModalResult := mrOk; end; Normally I

[DUG]: Threads and COM

1999-12-20 Thread Tom Munro Glass
Can someone please give me some tips for exception handling in a COM-based application? The application uses a number of in-process and out-of-process COM servers, and exceptions are occurring but the Application.OnException event is not getting called. The result is that the application

RE: [DUG]: Modal stuff...

1999-12-20 Thread Tony Goodrich
Only if you call ProcessThatUpdatesForm2WithProgressInfo; from your modal screen. What would be better is to make the modal screen modeless. But I guess the point of modal screens are that they are jumping out and requiring to be updated before you return to Form2 hope this helps Tony

Re: [DUG]: I've had it up to here with TEdit descendants

1999-12-20 Thread Matt Powell
The Topaz Delphi database (.dbf) library is also advertised as having really good edit mask capabilities (compatible with the old DBase way of doing it). What I'd like to see is a MaskEdit-type thing with a RegExp mask interface (instead of Delphi's blank-digit-digit-blank style mask, which is

[DUG]: TSaveDialog

1999-12-20 Thread Peter Hyde
Hi there, We have an app which uses TSaveDialog to specify the filename to save-and-convert. With the dialog open, when the user changes the filter type (specifying a different image type/extension), we want the filename shown to grow a different extension. That is, say it says XXX.BMP and

RE: [DUG]: Modal stuff...

1999-12-20 Thread Carl Reynolds
Hmmm... never got the original message; the e-mail system here must be having difficulties. Apologies if it's bouncing back to people from my account. That aside: To answer your original question, Mark, you can achieve a modal type state without using ShowModal, although I suspect Tony's

RE: [DUG]: Date/Time calculations

1999-12-20 Thread Carl Reynolds
Jeez guys... whats with you. Easy there Rohit. We're just trying to help, y'know. And Neven: thanks for your input. I'm sometimes too lengthy in my explanations - I tend to switch into lecturing mode far too often. Done focus on a subset of the problem. Its not a matter of divide and

RE: Re: [DUG]: Date/Time calculations

1999-12-20 Thread Patrick Dunford
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Neven MacEwan Sent: Tuesday, 21 December 1999 10:24 To: Multiple recipients of list delphi Subject: Re: Re: [DUG]: Date/Time calculations Rohit I was just commenting on someone who emailed that

Re: [DUG]: CORBA

1999-12-20 Thread Nic Wise
Assumption: you wanna use Visibroker from Delphi(5). May vairy for other ORBs Aaron Scott-Boddendijk wrote: Is someone able to give me a leg up on the CORBA... I need information on 1. Run-time software needed at the client and middle-tiers Client: orb_br.dll, orbpas50.dll I think. Not

RE: [DUG]: TSaveDialog

1999-12-20 Thread Dennis Chuah
Peter, You might have to subclass the dialog - ie., trap the WM_XXX messages and physically change the contents of the textbox. Ugly, but not impossible. Regards, Dennis. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Hyde Sent: Tuesday,