Combobox in toolbar

Post Reply
User avatar
Pier Luigi
Posts: 58
Joined: Fri Oct 07, 2005 6:30 am
Location: Rome - Italy

Combobox in toolbar

Post by Pier Luigi »

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

Thanks in advance.
Pier Luigi
User avatar
Enrico Maria Giordano
Posts: 8736
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Combobox in toolbar

Post by Enrico Maria Giordano »

Try

Code: Select all | Expand

@ row, col COMBOBOX ... OF oBar


EMG
User avatar
Pier Luigi
Posts: 58
Joined: Fri Oct 07, 2005 6:30 am
Location: Rome - Italy

Re: Combobox in toolbar

Post by Pier Luigi »

I write

Code: Select all | Expand

...

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
User avatar
Enrico Maria Giordano
Posts: 8736
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Combobox in toolbar

Post by Enrico Maria Giordano »

You may try using oBtn:Move() method.

EMG
Post Reply