Roger Stringer wrote:
Silly suggestion because:
1) You'd need at least 142 string resources!
You use string resources in your FrmCustomAlerts?
FrmCustomAlert( "bla", 0, 0);
works better than opening up resources, locking, etc, imo.
2) More coding!
Really? How? Changing some FrmAlerts to FrmCustomAlerts?
3) Less readable code, provided your alerts have sensible names!
How is it less readable? You know right in the code what each alert is
FrmCustomAlert( "A fatal error has occured", 0, 0 );
FrmAlert( errFatalAlert );
I personally prefer the first.
4) More difficult to localize!
Judging by the product page, Auriga isn't localised...
So, maybe it's just a matter of opinion. Personally I prefer nicer
resources. However, I hardly think my suggestion is 'silly.'
~Ryan
At 04:15 AM 6/12/2008, you wrote:
Subject: Re: Incrementing Resource IDs
From: Ryan Rix <[EMAIL PROTECTED]>
Date: Wed, 11 Jun 2008 12:20:25 -0700
X-Message-Number: 5
Why not have one alert with FrmCustomAlert?
:)
Ryan
Luc Le Blanc wrote:
> Richard M. Hartman wrote:
>
>
>> Out of curiosity ... why so many alerts?
>>
>
> It's a cave survey software. Input has to be validated. Bad data,
inconsistent data, misclosed loop, wrong measurement unit in context,
VFS errors, etc. The app is 600K, has 31 forms, 142 alerts, 20 menu
bars, 110 strings, 52 string lists and 40 bitmaps. And all these are
free! You may try it for yourself (sample data included) or run PRC
Explorer on it :)
Roger Stringer
Marietta Systems, Inc. (www.rf-tp.com)
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/