Is possible set COMBOBOX to type TYPE XBPCOMBO_LIST but with block editing field ?
Or TYPE XBPCOMBO_DROPDOWNLIST but with always list all fields and marked whem mouse movement via fields so as when move via buttons (DCADDBUTTON) ?
I found only 3 types XBPCOMBO, but LIST type have editing function, which I do not want.
DCCOMBOBOX always list down and mouse cursor marked
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: DCCOMBOBOX always list down and mouse cursor marked
I use
and in the itemmarked block i set the items in the second Combobox depending on the selected item.
Code: Select all
@1.00,1.80 DCCOMBOBOX v_auftyp LIST aAufTyp1 ;
TYPE XBPCOMBO_SIMPLE ;
IMMEDIATE ;
PARENT oAufArtBox ;
OBJECT oATyp ;
REFRESH ;
SIZE 16, 7.5 ;
ITEMMARKED {|| .... } ;
TABGROUP XBP_BEGIN_GROUP ;
TABSTOP
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: DCCOMBOBOX always list down and mouse cursor marked
Hi Wolfgang,
If you set type XBPCOMBO_SIMPLE , can you edit selected item in combobox ?
Because I can, and it is not good, because then user can write to selected cell. This have not any effect, only I want disable keyboard input when selecting in combobox.
If you set type XBPCOMBO_SIMPLE , can you edit selected item in combobox ?
Because I can, and it is not good, because then user can write to selected cell. This have not any effect, only I want disable keyboard input when selecting in combobox.
Re: DCCOMBOBOX always list down and mouse cursor marked
Solved !
I use this
STATIC FUNCTION myHandler( nEvent, mp1, mp2, oXbp )
IF nEvent == xbeP_Keyboard .AND. oXbp:isDerivedFrom('XbpComboBox')
RETURN DCGUI_IGNORE
ENDIF
RETURN DCGUI_NONE
from
http://bb.donnay-software.com/donnay/vi ... e+keyboard
And now work as I want, XBPCOMBO_SIMPLE with unwrapped combobox and with keyboard input disabled in cell space.
Thanks
I use this
STATIC FUNCTION myHandler( nEvent, mp1, mp2, oXbp )
IF nEvent == xbeP_Keyboard .AND. oXbp:isDerivedFrom('XbpComboBox')
RETURN DCGUI_IGNORE
ENDIF
RETURN DCGUI_NONE
from
http://bb.donnay-software.com/donnay/vi ... e+keyboard
And now work as I want, XBPCOMBO_SIMPLE with unwrapped combobox and with keyboard input disabled in cell space.
Thanks