Subject [IBO] Re: edit masks
Author Jonathan M. Freedman
Geoff...whether using the TEditMask formatting characters for both
the EditMask and DisplayFormat properties of TIB_Query or PROPER in
the CharCase property of TIB_Query, neither the input or output
through IB_ComboBox is affected...however, using the above with
UPPER, both display and edit is affected...i'm pretty sure that the
total editmask interface is not implemented for the combobox object.


--- In IBObjects@yahoogroups.com, Geoff Worboys <geoff@t...> wrote:
> > there is a page on a tabbed page control that contains
> > client information...there are several combo boxes including
> > cbTown...the CharCase property for the Town variable is
> > PROPER...there is also a combobox called cbVillage, with
> > CharCase as PROPER...both comboboxes have their item
> > properties filled using a cursor...both are set to save with
> > the insert sql automatically generated by IBO...however,
> > the Village one is displayed and saved with the first letter
> > capitalized and the Town one isn't. I have deleted all trial
> > data from the database in an attempt to see whether that had
> > an impact, but no.
> > cbuilder6 ibo 4.2i firebird 1.5 rc5 windows xp prof
>
> There does not appear to be any mention of edit masks or UPPER
> in this example.
>
> Edit masks only effect user INPUT, they do not effect the
> display of existing data. AFAIK this is also true of the
> "PROPER" character case capability. I am not sure now about
> the UPPER character case stuff, whether it would/should convert
> existing data - I would need to investigate. But you could do
> that with a standard TEdit control. Assign its text directly
> in code and see if it converts it.
>
> --
> Geoff Worboys
> Telesis Computing