Thank you both of you.
gazybara is right. it’s better to use the Load event in case of ‘before show’.