Page 1 of 1

[Done] Multiple forms and images in toolbar

Posted: Fri Jun 28, 2013 11:38 pm
by Erich
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 8) , 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?

Re: [Solved] Multiple forms and images in toolbar

Posted: Sun Jul 14, 2013 6:02 pm
by Erich
I've marked this as solved because it's a known bug, but wonder: When can we expect an update that fixes this?

Right now, the form designer is pretty much useless for me since I have multiple windows with toolbars and image buttons. :?

Re: [Solved] Multiple forms and images in toolbar

Posted: Thu Jul 25, 2013 12:05 pm
by Polo
This is already changed in 5.20.