Update: Sorry for having bothered you with this. After reading some more posts in this forum and a very sunny day at the beach that burned my brains out
, I have found out that this is a known limitation fixed in the next version.
Answered at http://www.purebasic.fr/english/viewtop ... 22&t=54333
Hi! I've just started playing around with the form designer in PB 5.11 and don't read this forum frequently, so please forgive me if I miss something obvious.
I've created several windows, each with its own toolbar with images. But if I include the forms in one main file like this:
Code: Select all
XIncludeFile "mainwindow.pbf"
XIncludeFile "contactswindow.pbf"
it won't compile, because the form designer creates exactly the same code for the included images in global variables and the same for toolbar enumeration and other names unless I change them - but I cannot change the image names, they always seem to be Img_0, Img_1, ... in every .pbf file!
How can I tell it to make the variable names unique?