Subject RE: [IBO] Dataset.ReadOnly
Author Claudio Valderrama C.
> -----Original Message-----
> From: guido.klapperich@... [mailto:guido.klapperich@...]
> Sent: Lunes 9 de Abril de 2001 20:35
> So it seems, that I have to write my own controls derived from the
> IB-Standardcontrols. Any idea, what and where I have to change
> the code, so
> that for example the IB_Edit and the IB_LookupCombo will hide
> their buttons,
> when the datasource is readonly ?

It's very easy to avoid the list being displayed by intercepting the
dropdown event, see Nico's code. Don't drown in a glass of water.
For TIB_Date it's the same tale: write code for the OnButtonClick event and
simply call Abort: the calendar won't be displayed.