In your load procedure, use the pointer to the field to clear its 'editable'
attribute. Something like:

    FieldAttrType attr;
    FldGetAttributes(fld, &attr);
    attr->editable = 0;
    FldSetAttributes(fld, &attr);

The only problem with this is it accesses the attribute structure directly -
not recommended by Palm.

    Dominique

"Slava V. [work e-mail]" <[EMAIL PROTECTED]> wrote in message
news:100569@;palm-dev-forum...
>
> Hello All!
>
> I'm in deadlock. Help someone!!!
>
> All I need is show read-only information in table.
>
> Style "labelTableItem" is simple but I not needed it's appended colon(:).
> Style "textTableItem" is great but I cann't force it to be read-only!
> When I set style "textTableItem" and set ItemPtr, table show nothing.
> When I set style "textTableItem" and set LoadProcedure all data showed
> right but table is editable :-(((
>
>   Where is the right way???
>
> With best regards, Slava V.
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to