trichview.support
| 
 Re: How to select a Control by clicking a button  | 
| 
 Author  | 
 Message  | 
| 
 Pieter E.  | 
 Posted: 11/14/2004 21:47:31 I'd like to select a component by clicking a button. I use the following code for adding a component: TEdit* edt = new TEdit((TComponent*)NULL); edt->Text = "This is a test"; edt->OnClick = OnControlClick; rve->InsertControl("", edt, rvvaBaseline); if (rve->CurItemStyle == rvsComponent) rve->SetCurrentItemExtraIntProperty(rvepResizable, 1, True); Thanks. Pieter E.  | 
Powered by ABC Amber Outlook Express Converter