PlanetSquires Forums

Support Forums => General Board => Topic started by: John Messingham on August 08, 2010, 01:05:37 PM

Title: Combo on toolbar
Post by: John Messingham on August 08, 2010, 01:05:37 PM
Hi,

Does anyone have a link to a a toolbar sample showing how to add a combo to it?
Title: Re: Combo on toolbar
Post by: John Messingham on August 08, 2010, 03:13:50 PM
I found a sample on the Powerbasic forums that I have managed to understand.
Title: Re: Combo on toolbar
Post by: Roger Garstang on August 09, 2010, 01:01:27 PM
I've put things in Statusbars and Listviews before using SetParent. Unless a built in way of doing it exists it may be the same concept.
Title: Re: Combo on toolbar
Post by: John Messingham on August 09, 2010, 01:18:09 PM
That's how I have done it.

This is the thread that helped.
http://www.powerbasic.com/support/pbforums/showthread.php?t=8081 (http://www.powerbasic.com/support/pbforums/showthread.php?t=8081)
Title: Re: Combo on toolbar
Post by: Rolf Brandt on August 09, 2010, 02:00:22 PM
Here is an extremely simple Firefly project.
Basically you nee just 2 lines of code to set the combobox as child of the toolbar (SetParent)  and to position it properly (SetWindowPos).
Title: Re: Combo on toolbar
Post by: Pat Dooley on August 12, 2010, 05:31:07 AM
Thanks Rolf. Nice example.