Subject Re: [IBO] TIB_UpdateBar::OnReceiveFocus
Author Andreas Pohl
> I'd like to disable or hide the Insert Button on my TIB_UpdateBar
> when a certain datasource has focus, while still being able to insert
> records programmatically.

Did you consider TIB_Query.OnGetCanModify? It is perfectly working with
TIB_XBars and allows disabling/enabling of certain buttons.

You are always able to insert/edit/... record sets programmatically by using
TIB_DSQL independent from state of TIB_Query...

Mit freundlichem Gruss & Best Regards

Andreas Pohl