Matthias Benkmann wrote:

Hi Matthias,

           // create WindowDescriptor

           WindowDescriptor wd = new WindowDescriptor();

           wd.Type = WindowClass.SIMPLE;

           wd.Parent = xWinPeer;

           wd.Bounds = new Rectangle(0, 0, 100, 100);

           wd.ParentIndex = -1;

           wd.WindowAttributes = WindowAttribute.SHOW;

You have to add the following attribute to the window descriptor to create a combobox with dropdown button.

wd.WindowAttributes = WindowAttribute.SHOW|VclWindowPeerAttribute .DROPDOWN;

Regards,
Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to