I created TEdit dynamically, I can’t write anything to it in the program, I can’t even highlight it

ned1 = new TEdit(TabControl4); ned1->Parent = TabControl4; ned1->Width = 150; ned1->Position->X= 200; ned1->Position->Y= 0; ned1->CanFocus = true; ned1->ReadOnly= false; 

if you simply add a TEdit on the form, then you can immediately write to it. Tell me what to do? maybe some handler is needed? Or maybe because in TabControl created? although on another TabControl static edit works

c ++, radstudio c ++ builder program for android

  • It seems to me that first you need to make it visible, and visual operations with the invisible is useless. After Parent or Width enter ned1->Visible = true; - nick_n_a
  • He initially see - Max

0