79528001

Date: 2025-03-22 19:34:39
Score: 0.5
Natty:
Report link

I had the same problem and I couldn't find the solution, so I tried another way to solve this problem:

  1. When you change the tab, delete all previous tab buttons (create them again when you click on your tab)

  2. Put a condition inside all of your OnClick functions that if this button is not visible, do nothing.

  3. Rewrite your ON_EVENT:

    #define ON_EVENT(event,control,handler) if(id==(event+CHARTEVENT_CUSTOM) && sparam==control.Name()) {handler(); return(true);}

Reasons:
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • Low reputation (1):
Posted by: Salar Hamidi