 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Danny Guest
|
Posted: Sun Mar 18, 2007 8:10 am Post subject: TButton in TEdit component |
|
|
Hi all,
I have created a component from TCustomEdit, and I have insert a button:
void __fastcall TPddPathEdit::CreateWnd()
{
TCustomEdit::CreateWnd();
btn=new TButton(this);
btn->Parent =this;
btn->Align =alRight;
btn->Width =btn->Height;
btn->Caption="...";
btn->OnClick=btnClick;
}
But when the focus goes on my edit, I lost the refresh on my button (it
becomes white).
Can I avoid this effect?
Thanks |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|