Subject | TIB_Edit : setting borderStyle property |
---|---|
Author | ulrich_groffy |
Post date | 2003-11-28T13:54:41Z |
Hello, (D7, IBO4.3Aa, W2k/SP4)
I noticed some strange behaviour. I had the idea to visualy enhance
the active (where the focus is) IB_Edit with a different borderStyle.
After the cursor enters the IB_Edit, the control seems to be empty
(?).
My code :
procedure TfrmTest.IB_EditEnter(Sender: TObject);
begin
TIB_Edit(Sender).borderStyle:=bsSingle;
end;
procedure TfrmTest.IB_EditExit(Sender: TObject);
begin
TIB_Edit(Sender).borderStyle:=bsNone;
end;
If I try to change Text.Font.Style or Text.Font.Color with this code
everything is perfekt.
Any ideas?
Best - Ulrich
I noticed some strange behaviour. I had the idea to visualy enhance
the active (where the focus is) IB_Edit with a different borderStyle.
After the cursor enters the IB_Edit, the control seems to be empty
(?).
My code :
procedure TfrmTest.IB_EditEnter(Sender: TObject);
begin
TIB_Edit(Sender).borderStyle:=bsSingle;
end;
procedure TfrmTest.IB_EditExit(Sender: TObject);
begin
TIB_Edit(Sender).borderStyle:=bsNone;
end;
If I try to change Text.Font.Style or Text.Font.Color with this code
everything is perfekt.
Any ideas?
Best - Ulrich