Home Forums ActiveX components Other ActiveX components How do I select a subitems key in a ComboBox?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #43353 |

    There is an example in lesson #16 that demonstrates how this can be done. The code contains the following:

    Private Function GetItemSelected(Item As BoWSmartUI.SmartItem) As BoWSmartUI.SmartItem

    Dim SubItem As SmartItem

    For Each SubItem In Item.SubItems
        If SubItem.Caption = Item.Value Then
            Set GetItemSelected = SubItem
            Exit Function
        End If
    Next SubItem
    End Function

    Applies to Xceed SmartUI (ActiveX). Imported from legacy forums. Posted by Xceed admin (had 1591 views)

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.