These huge "Global section" at the beginning of the source makes me wired. Sometimes they are not changed correcty, sometimes some are missed. Why not adding the "global" keyword in front of the Gadget/ Window-Command like this:
Code: Select all
Global IMG_Haupt_Auswertungen = ButtonImageGadget(#PB_Any, 510, 0, 160, 160, ImageID(Image3))