What's wrong on my code?
I did it alreay,but the same error message had been releasedWhat's wrong on my code?
You can't focus controls in OnCreate event. Put your code in OnShow event.
I did it alreay,but the same error message had been releasedWhat's wrong on my code?
You can't focus controls in OnCreate event. Put your code in OnShow event.
It is almost impossible to help if you do not post the project or code.Please look at it
It is almost impossible to help if you do not post the project or code.Please look at it
I finally found the issue,it's my mistake,thanks a lot!It is almost impossible to help if you do not post the project or code.Please look at it
I suggest to you again: make small project that shows this behaviour and post it here.
If you don't want to, you could check in object inspector that OnCreate event points to FormCreate method and not to FormShow method.
Everything else is pure guessing from our side.