Forum > LCL

[Solved]error release when memo.setfocus

<< < (2/2)

VTwin:
It is almost impossible to help if you do not post the project or code.

badmintonfan:

--- Quote from: VTwin on January 27, 2023, 12:59:28 am ---It is almost impossible to help if you do not post the project or code.

--- End quote ---
Please look at it

dseligo:

--- Quote from: badmintonfan on January 27, 2023, 05:36:04 am ---
--- Quote from: VTwin on January 27, 2023, 12:59:28 am ---It is almost impossible to help if you do not post the project or code.

--- End quote ---
Please look at it

--- End quote ---

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.

badmintonfan:

--- Quote from: dseligo on January 27, 2023, 05:40:29 am ---
--- Quote from: badmintonfan on January 27, 2023, 05:36:04 am ---
--- Quote from: VTwin on January 27, 2023, 12:59:28 am ---It is almost impossible to help if you do not post the project or code.

--- End quote ---
Please look at it

--- End quote ---

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.

--- End quote ---
I finally found the issue,it's my mistake,thanks a lot!

Navigation

[0] Message Index

[*] Previous page

Go to full version