Subject | Re: [IBO] Re: DisplayLabel (IB_Components.pas) |
---|---|
Author | Andreas Hesse |
Post date | 2007-04-23T23:56:23Z |
When designing Databases it is normal to use an underscore as a
replacement for a space and all letters in Uppercase to make a valid
fieldname.
The Label should be readable for the user, so in most times the
default behavior would be to correct the case und to convert
underscores in spaces.
example:
FieldName: TEST_ACCOUNT
Label: Test Account
If you have special needs for displaying a label, you can use
TIB_Connection.FieldsDisplayLabel to define label text for fieldnames
like you want and need.
Andreas
replacement for a space and all letters in Uppercase to make a valid
fieldname.
The Label should be readable for the user, so in most times the
default behavior would be to correct the case und to convert
underscores in spaces.
example:
FieldName: TEST_ACCOUNT
Label: Test Account
If you have special needs for displaying a label, you can use
TIB_Connection.FieldsDisplayLabel to define label text for fieldnames
like you want and need.
Andreas
> Not many answers so far...
>
> Can anybody at least tell me what the general idea and need is
> behind this replacement?
>
> Regards,
> Kjell Ljungqvist
>
>