RE: Selecting Noneditable field

2001-08-16 Thread Avilla, Dane
In OS 3.3 one can select content of that field, but it won't destroy it. In OS 3.5 one can select content and it erases it. What can I do? They told me to catch penDown event and check bounds... I have editable field on form too. Is there easy way of sorting this out? Sure. There is a

RE: Selecting Noneditable field

2001-08-16 Thread Peter Epstein
You shouldn't have to go through so much work to keep text from being selected in a non-editable field. Just catch the fldEnterEvent and return with handled = true. No need to mess with bounds checking, since the field already does this for you. If all the fields on the form are non-editable,

RE: Selecting Noneditable field

2001-08-16 Thread Avilla, Dane
-Original Message- You shouldn't have to go through so much work to keep text from being selected in a non-editable field. Just catch the fldEnterEvent and return with handled = true. No need to mess with bounds checking, since the field already does this for you. If all the

RE: Selecting Noneditable field

2001-08-16 Thread Peter Epstein
Good point. If all the fields in the form are non-editable, then there is no difference. Otherwise, there is this minor difference. -- Peter Epstein -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/