Subject Re: GSG036. IB_Query: DisplayWidth
Author Marco Menardi
--- In IBObjects@y..., Raymond Kennington <raymondk@c...> wrote:
> Normally field widths are specified in characters displayed.
>
> Why is display width specified in pixels?

I think it's for preserving correct grid column width, so it's independent from font size

>
> What happens if a user uses larger fonts?

Grid columns remain of the same width, you have only the column text "trimmed"

>
> How do entry fields prevent a user from entering more than a character field's maximum
> field-width of characters?

DisplayWidth is for... DISPLAY, and Grid display. For data entering, you simply can not enter more characters that the field size, whatever DisplayWidth you specify (if you want to limit it to a lower value, use an edit mask).
Marco Menardi