Subject Re: [IBO] TIB_EDIT readonly with ParamName set
Author Helen Borrie
At 01:18 PM 9/04/2005 +0000, you wrote:


>I have a TIB_EDIT control connected to a TIB_DATASOURCE >
>TIB_STOREDPROCEDURE and ParamName set.
>
>I have TIB_EDIT>READONLY set to TRUE because I want the value set from
>options in a listbox.
>
>The problem is I can still edit the TIB_EDIT even though it is set to
>READONLY.
>
>Am I missing something here?

Yes: don't use this way of assigning to an ib_edit that is hooked to a
ParamName. Use a TIB_Listbox instead and directly hook the selection to
the parameter via the ParamName property of that control. If you want to
reflect the parameter selection to something, use an ordinary TLabel for that.

Helen