lucksjb Posted March 6, 2013 Posted March 6, 2013 Hi guys, when I run a showmodal in a form, the first edit don´t focused. how can I solve this ? tnx advanced Luciano *** I´m attached the sample with error. erro modal.rar Quote
Administrators Farshad Mohajeri Posted March 6, 2013 Administrators Posted March 6, 2013 ActiveControl --> UniEdit1 Quote
lucksjb Posted March 6, 2013 Author Posted March 6, 2013 tnx Farshad, with uniform1.activecontrol = uniedit1 is running tnx again Quote
Charles Holmes Posted April 24, 2014 Posted April 24, 2014 Hi, I having a similar problem with a UniDBGrid1 in MainForm; when I call Second_Form.ShowModal, the focus remains in the MainForm-->UniDBGrid1 and stay there until I click in the Second_Form I tried this: procedure TSecond_Form.UniFormShow(Sender: TObject); begin inherited; ActiveControl := Other_UniDBGrid; end; Thanks Charles Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.