hi
i have a problem with closing transparent form and myown titlebar with pane
when i open "frm2" > two or many time only close form that opened first and i cant close others
You are storing frm2 in a global variable in a Code module.
When the second instance is initialized, the first is overwritten and no longer available. To get this to work, you would need to put the code in a class module and manage them separately.
This code is no longer in your project.
Anyway, you can convert your "form2" into a Class and instantiate a new form in the Click event.
Your modified project attached.
EDIT: I'Sorry @stevel05 ! I was writing and don't see your previous answer.