Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General Discussion » View Thread |
Messages 1 to 4 of 4 total |
Personalisation |
Sun, Oct 10 2010 5:12 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | With an app I'm starting I'm thinking of building in a personalisation (not internationalisation) facility for labels, columns headers etc.
What do you lot do? Roy Lambert t |
Sun, Oct 10 2010 8:54 AM | Permanent Link |
Jan Ferguson Data Software Solutions, Inc. Team Elevate | Roy,
I've done that for one of my applications. The way I did it was to create a table with fields identifying each label, etc. I would allow to be changed/personalized. In the case of this one app I placed the values in a configuration table (tblConfig). Then on each form's FormActivate event I used code like the following line (LEADS was the application name, hence dmLEADS is the data module): lblDistrictName.Caption := dmLEADS.tblConfigDistrictName.Value; The only caveat is to make sure the length of the string/varchar is no longer (obviously) than the space you have for the label, etc. I initially wrote that app in 2000 and it has worked well for me through all the changes since, and is still running strong and correctly with the personalizations. HTH, Jan Ferguson -- Roy Lambert wrote: > With an app I'm starting I'm thinking of building in a > personalisation (not internationalisation) facility for labels, > columns headers etc. What do you lot do? > > Roy Lambert > t |
Sun, Oct 10 2010 10:11 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Jan
That's pretty much what my first thoughts were. Can you tell me roughly how many labels / how fast it was? My second thoughts are: 1. subclass dbtext to have a default value used when the table doesn't exist or there's no corresponding record 2. have a table with overrides 3. use dbtexts rather than labels Roy Lambert |
Sun, Oct 10 2010 10:27 AM | Permanent Link |
Jan Ferguson Data Software Solutions, Inc. Team Elevate | Roy,
IIRC it was somewhere around 50 (but not more than 50). There was no discernable speed hit from what I could see. Even with it being in the FormActivate event, the form appears to show just as quickly as with using static captions (at least as quickly as my eye and brain could discern. I'm sure there are nano-second differences but I couldn't see it.) -- Jan Roy Lambert wrote: > That's pretty much what my first thoughts were. Can you tell me > roughly how many labels / how fast it was? |
This web page was last updated on Tuesday, May 7, 2024 at 06:25 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |