[Done] Multiple forms and images in toolbar

You need some new stunning features ? Tell us here.
User avatar
Erich
User
User
Posts: 49
Joined: Thu Sep 30, 2010 9:21 pm

[Done] Multiple forms and images in toolbar

Post 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?
"I have never let my schooling interfere with my education." - Mark Twain
User avatar
Erich
User
User
Posts: 49
Joined: Thu Sep 30, 2010 9:21 pm

Re: [Solved] Multiple forms and images in toolbar

Post 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. :?
"I have never let my schooling interfere with my education." - Mark Twain
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: [Solved] Multiple forms and images in toolbar

Post by Polo »

This is already changed in 5.20.
Post Reply