Hi,
I'm looking to acheive an interface somewhat similiar to the interface of FPS Creator using BlueGUI. (I am completely and totally guessing that FPS Creator itself, uses Blue). What I am going for is a toolbox window gadget that can be moved around, just like any toolbox window gadget. However, when you place this window over a toolbar, it almost "jumps into" the toolbar, copying all of its buttons onto that location on the toolbar. I was just wondering if there's any built in way to do this.
At first, I thought that it was simply a very clever bit of code on the part of The Game Creators. Both a toolbar containing the icons needed AND a window consisting of the exact same icons are created. Then the window is hidden. Before the icons in the toolbar, there is a splitter. Now the code simply checks for a mouseclick on the splitter icon, upon which the icons are removed from the toolbar and the window is shown. However, this presents a problem because when you drag the window back to the toolbar, the icons will "jump back" to toolbar wherever your mouse pointer was. Meaning that you can position them anywhere you like on the toolbar. And as far as I know, there is no functionality for this in Blue.
So if anyone else has any ideas, or knows of a built-in way to acheive this effect, please let me know. I would be most grateful of any help that anyone has.
Thanks again,
Nick Small.
P.S. On an unrelated sidenote, I'm having a problem with the deletegadget command. If I say deletegadget(handle), Dark Basic won't let me compile. I MUST say deletegadget (handle). The difference being the space before the parenthesis.
P.P.S. On another unrelated sidenote, I can call all of the commands relating to tabs (e.g. createtabs, addtab, etc.) without ever calling startblue. I don't know if this is a bug or not, and I haven't looked into the problem with anything other than tabs, but I just thought that I'd let Rob know.
Lightning Wheels-Ultimate Roller Coaster Simulator