Expand a combobox

forum.centura.team.developer (1998-2005) & forum.sqlwindows (2000-2005)

Expand a combobox

Post by Jenny » 07 Feb 2005, 10:15

 Posted by:  Jenny 

I have a combobox in a column in a child table. Now I want to expand the
combobox in run time so that the user can se all alternatives available.
How can I do this?


Martin Duty

Re: Expand a combobox

Post by Martin Duty » 07 Feb 2005, 17:48

 Posted by:  Martin Duty 

ALT-DownArrow will expand it if the user presses that key combination.
Programmatically... shrug

Martin Duty
IT Manager
Underground Vaults & Storage, Inc.
TD 3.0 PFT2
Client Win 2K/XP
Database MS Sql Server 2000

Christian Astor

Re: Expand a combobox

Post by Christian Astor » 07 Feb 2005, 18:04

 Posted by:  Christian ASTOR 

eg, SalTblSetFocusCell(), keybd_event()

Stephen Wells

Re: Expand a combobox

Post by Stephen Wells » 07 Feb 2005, 23:52

 Posted by:  Stephen Wells 

Hi Jenny

I have the properties of the column as "Auto Drop Down" set to yes. When
the user moves the focus there the combo box gets displayed. To make
this happen when you want just set the focus as suggested below.



Re: Expand a combobox

Post by Jenny » 14 Feb 2005, 10:55

 Posted by:  Jenny 

Ok thank you all. I will try to use your solutions :)

Return to “forum.sqlwindows”

Who is online

Users browsing this forum: [Ccbot] and 1 guest