Gaurav Palvia wrote:
> i have created a field and using constructor i made its Single Line 
> attribute false and Dynamic Size attribute true [...] but when i 
> enter in this field it does not expand and only the end chars are 
> shown.  i want it to work in the same way as the name field in the 
> address book work.  what should i do

You need to handle the fldHeightChanged event and resize the field
yourself.  The Dynamic Size attribute doesn't cause a field to resize
itself; it only causes that event to be sent when a resize is needed. 
Beware, this can get very tricky if you have to move other objects
around on the form to accommodate the expansion, since your field is not
part of a table.  (Tables do the resizing automatically.)

-slj-

Reply via email to