Combobox - prevent DropDown

forum.td.development (2005-2010)
klaushaidinger
Austria
Posts: 68
Joined: 13 Dec 2017, 06:08
Location: Austria

Combobox - prevent DropDown

Post by klaushaidinger » 16 Mar 2010, 09:10

 Posted by:  Klaus Haidinger 

Hi!

is it possible to create a combobox, which does´nt dropdown?
a return FALSE on SAM_DropDown or VisListSetDropdownState() doesn´t work.

TD52 SP1

thank you
klausl

Thomas

Combobox - prevent DropDown

Post by Thomas » 16 Mar 2010, 16:01

 Posted by:  Thomas 

Hi, Klaus.
Maybe you like it like that?!

On SAM_Create
Call SalDisableWindow( hWndItem )

klaushaidinger
Austria
Posts: 68
Joined: 13 Dec 2017, 06:08
Location: Austria

Combobox - prevent DropDown

Post by klaushaidinger » 17 Mar 2010, 07:32

 Posted by:  Klaus Haidinger 

Hi Thomas,

thank you, but i need the datafield part of the combobox and the
listbox-button, too. the
only thing is that the listbox shouldn´t popup.

regards
klaus

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1087
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Combobox - prevent DropDown

Post by Dave Rabelink » 24 Mar 2010, 22:14

Hi Klaus,

I just uploaded a sample which actually does this.

Download it from here:
http://samples.tdcommunity.net/index.ph ... opdown.zip

Is this what you need?

Regards,
Dave

Return to “td.development”

Who is online

Users browsing this forum: [Ccbot] and 0 guests