RE: Re: [DUG]: Dumb question of the day
On 11 Mar 99 at 16:09, Max Renshaw-Fox wrote: No offence intended. None was taken. :-) Rohit == CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand PH(649) 489-2280 FX(649) 489-2290 email [EMAIL PROTECTED] or [EMAIL PROTECTED] == --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
RE: Re: [DUG]: Dumb question of the day
On 10 Mar 99 at 10:23, Max Renshaw-Fox wrote: I guess I should take up the challenge... (OK I'm feeling combative today) Oops, did I hit a raw nerve. :-) Well, I certainly dont feel combatitive. As you know, I made no comment on the developers using Delphi, just its VCL. First, the kind of applications we write places different demands on the language and OS. Ever since Turbo Pascal 3, I have used the language to its utmost and BP7 has still not run out of steam. Even D4 has not got there yet. Your view (or indeed anyones) of their code and facilites is coloured by your own experience. My (and people such as Paul Lowman, Max Neilsen and Paul Heinz) maybe far greater in that respect. For instance we have in the past written our own multi-tasking kernel for CPM, MSDOS, TurboPascal, Microsoft Basic etc. When I look at various bits of this professional VCL, parts of it are a joke (for eg the multi-threading, we had better facilities 15 years ago). OTOH, certainly there are portions that are great. My users demand more from my windows system than they had in my dos system. I cant give it to them using standard components. Heck, I cant even do it with all the libs out there. And others (including the few named above) have gone to great pain in duplicating and fixing most of VCL). They didnt do it for fun. Regards Rohit == CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand PH(649) 489-2280 FX(649) 489-2290 email [EMAIL PROTECTED] or [EMAIL PROTECTED] == --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
RE: Re: [DUG]: Dumb question of the day
Hi Rohit, Apologies if I sounded abrupt: I was trying to not be personal - but to point out that adequacy for any individual's needs is not a test of the VCL's competence. The point I was making, yes I'm feeling more tolerant today, is that "childish" is not a good description for the VCL. Inadequate for your purpose, frustrating etc - I can't disagree with that, nor argue with your, or anyone else's, competence. The point I was making was that the VCL does what it was intended to do, which is clearly less than some people want (which is why Max et al have had to "fix" it) - but still what was intended and, arguably, what the majority of Delphi users need. That may make it a commercial solution, rather than a technically pure one - but not a childish one. Nor was I questioning your competence - the fact that you, and your clients, set a high standard is not in question. But neither does that mean that the VCL is childish, and hence inadequate for the vast majority of us mere mortals. I understood that what you were saying was something like "I get frustrated when the VCL doesn't do what I want" - but I reacted to the emotionally charged connotation behind "childish". No offence intended. Max -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Rohit Gupta Sent: Friday, 12 March 1999 02:48 To: Multiple recipients of list delphi Subject: RE: Re: [DUG]: Dumb question of the day On 10 Mar 99 at 10:23, Max Renshaw-Fox wrote: I guess I should take up the challenge... (OK I'm feeling combative today) Oops, did I hit a raw nerve. :-) Well, I certainly dont feel combatitive. As you know, I made no comment on the developers using Delphi, just its VCL. First, the kind of applications we write places different demands on the language and OS. Ever since Turbo Pascal 3, I have used the language to its utmost and BP7 has still not run out of steam. Even D4 has not got there yet. Your view (or indeed anyones) of their code and facilites is coloured by your own experience. My (and people such as Paul Lowman, Max Neilsen and Paul Heinz) maybe far greater in that respect. For instance we have in the past written our own multi-tasking kernel for CPM, MSDOS, TurboPascal, Microsoft Basic etc. When I look at various bits of this professional VCL, parts of it are a joke (for eg the multi-threading, we had better facilities 15 years ago). OTOH, certainly there are portions that are great. My users demand more from my windows system than they had in my dos system. I cant give it to them using standard components. Heck, I cant even do it with all the libs out there. And others (including the few named above) have gone to great pain in duplicating and fixing most of VCL). They didnt do it for fun. Regards Rohit == CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand PH(649) 489-2280 FX(649) 489-2290 email [EMAIL PROTECTED] or [EMAIL PROTECTED] == --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
RE: Re: [DUG]: Dumb question of the day
-BEGIN PGP SIGNED MESSAGE- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, 9 March 1999 14:49 To: Multiple recipients of list delphi Subject: RE: Re: [DUG]: Dumb question of the day I think the answer to my original question is 'No', it can't be done. What's the point of having edit masks if they can't cope with a simple currency value? IMO the edit mask component is a crock, roll your own. Patrick Dunford, Christchurch, NZ http://patrick.dunford.com/ -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.0.2i iQEVAwUBNuQ25oQbtaGa2X4LAQFYcgf/cn25nGbuSuGHauUMnzWocx2c0ybwz6JW 8sCedT5OVYlvV/XqcCsPuFXClGdxWDYJeRwm2Wlmdr8EFTGi9D+H+Zv+wuitQUiO k8NhmLSaCqANDzSBzsHL994unF4EeluMu7FcL5M+zhsB263HxOQ00SZtVs7cXoff 916V0rf8q2M4LEKB85wVSZHeQ6hpInmi0AEhzD8FWd/fLsDRM1QU77Ak1+SZxrQG jky0pUkj8dZ8/IrfY6sA3rKJvP5IvxmQB6atfuIN63i8fwBVy+VENFsiOiWqzz5c PCJZH0iQp534X/sAIMLhfqesrXh74BlTD7xlwG+2fgf0kvJU7dxeJw== =CHQG -END PGP SIGNATURE- --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
RE: Re: [DUG]: Dumb question of the day
I guess I should take up the challenge... (OK I'm feeling combative today) Does that imply that those of us who can produce complex applications, that involve significant data validation and implement complex business rules, using "original Borland components" are "childishly deficient" as well? I've found that, in the very rare cases where data-aware components can't be used and the likes of the string grid's "OnSetEditText" can't be used, straight-forward extensions to the original components are entirely satisfactory. After-all, in the best-of-all-possible-worlds data-types will do all data validation. OK sometimes you have to use creative SQL statements (I've currently got a bunch of UNION'd SELECT statements to get the data in the form I want for a TDBChart - yes performance is OK) but that's part of the creativity required for any good problem-solving. I'm not saying you should develop the way I do; just that it _IS_ possible to get sophisticated data-validation with the included stuff. If you don't like them because of style - that's OK too but be aware that that's your style of development and nothing to do with the VCL or it's capabilities. Or to put it another way: the engineers who created Delphi and the VCL have a great deal more technical depth that most of us. Attending Icon (was BorCon) and listening to their answers to some of the more searching questions is evidence enough of that. So I think you'll find that the VCL has been crafted the way it is on purpose, not by accidental omission. The more I understand the VCL, and therefore the more I feel competent to pass judgement, the less likely I am to characterise it as "Childish". Max -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Rohit Gupta Sent: Wednesday, 10 March 1999 03:10 To: Multiple recipients of list delphi Subject: Re: Re: [DUG]: Dumb question of the day Aaron, I use almost no original Borland components as they all appear to be childishly deficient. But most grids have a on the fly created editbox called InPlaceEditor. I tried it with stringgrid but it doesnt work. It works in other grids though. You might have to examine the VCL source. On 9 Mar 99 at 12:25, Aaron Scott-Boddendijk wrote: You can do a character by character analysis by trapping keypress/keydown. I do case conversion, capitalising start of words and filtering out undesired characters that way. How do you get the position in the char buffer that the key is being inserted into... IE if a client cursors (or clicks) in the middle of a string and inserts a lower case letter... you can't process the whole string to recapitalise because it resets the cursor pos... comments? Rohit == CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand PH(649) 489-2280 FX(649) 489-2290 email [EMAIL PROTECTED] or [EMAIL PROTECTED] == --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
Re: Re: [DUG]: Dumb question of the day
You can do a character by character analysis by trapping keypress/keydown. I do case conversion, capitalising start of words and filtering out undesired characters that way. How do you get the position in the char buffer that the key is being inserted into... IE if a client cursors (or clicks) in the middle of a string and inserts a lower case letter... you can't process the whole string to recapitalise because it resets the cursor pos... comments? -- Aaron Scott-Boddendijk Jump Productions (07) 838-3371 Voice (07) 838-3372 Fax --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz