Subject Re: [IBO] Using colorscheme
Author nibler@t-online.de
Riho-Rene,


> I use some ordinary controls together with TIB_Edits.
> When dataset enteres Edit or Delete state then the TIB fields change color.
> How can I catch this change and paint also other controls?

Best way is to use IB_SessionProps and then

procedure TForm1.IB_SessionProps1GetDataLinkColor(Sender: TIB_Session;
DataLink: TIB_DataLink; var StateColor: TColor);
begin
MyControl.Color := IB_Edit1.color
end;

Harald