Hi,
Can someone please help me understand the combobox function for the PropertyManagerPage...
I would like to have the combobox editable and the text sorted alphabetically... acc. to SWX API help one should use the enumerations specified in the swconst.bas file, where it says
Public Enum swPropMgrPageComboBoxStyle_e swPropMgrPageComboBoxStyle_Sorted = &H1 swPropMgrPageComboBoxStyle_EditableText = &H2 End Enum
Therefore I'm now (without any luck) trying this code before showing my PropertyManagerPage
pComboBoxDrawnBy.Style = swPropMgrPageComboBoxStyle_Sorted pComboBoxDrawnBy.Style = swPropMgrPageComboBoxStyle_EditableText pPropertyManagerPage.Show
I managed to get the alphabetical sorting right and the combobox is in fact editable but for some reason editing the combobox won't call the function/sub PropertyManagerPage2Handler_OnComboboxEditChanged as the SWX API help says it will....
Private Sub PropertyManagerPage2Handler_OnComboboxEditChanged(ByVal ID As Long, ByVal Text As String) Select Case ID Case DrawnBy MsgBox Text End Select End Sub
I'm stuck with this problem and at this point all the "work-arounds" I can think of are both difficult and "ugly"....
Ideas someone??!!...
TIA,
KimSky