FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Combobox in toolbar
Posts: 58
Joined: Fri Oct 07, 2005 06:30 AM
Combobox in toolbar
Posted: Fri May 25, 2007 08:55 AM

I would want to insert a combobox in the toolbar between the buttons.
How I can make?

Thanks in advance.
Pier Luigi

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Combobox in toolbar
Posted: Fri May 25, 2007 10:45 AM
Try

@ row, col COMBOBOX ... OF oBar


EMG
Posts: 58
Joined: Fri Oct 07, 2005 06:30 AM
Re: Combobox in toolbar
Posted: Fri May 25, 2007 02:43 PM
I write

...

oToolBar:AddButton( { || MsgInfo() }, nil, nil )   // 1
oToolBar:AddButton( { || MsgInfo() }, nil, nil )   // 2

@ row, col COMBOBOX ... OF oToolBar

oToolBar:AddButton( { || MsgInfo() }, nil, nil )  // 3
oToolBar:AddButton( { || MsgInfo() }, nil, nil )  // 4

...


The combobox is inserted at row/col, but over the buttons 3 and 4.
How I can distance the buttons?

Pier Luigi
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Combobox in toolbar
Posted: Fri May 25, 2007 04:05 PM

You may try using oBtn:Move() method.

EMG

Continue the discussion