I add a view dynamically, but when it appears on the form, it’s in the upper left hand corner.
Where do I set the X and Y of the new subview?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should set the frame property:
This will position the view at location (10,10), with a size of 200×100