Results 1 to 3 of 3

Thread: Combo boxes in Active X Controls

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Posts
    14

    Combo boxes in Active X Controls

    Hi all!

    I've created an active x control that contains some combo boxes...now i'm using this control as a repeater in a data repeater control (mimicking the continuous form ability of access)...when i edit/add new record to the textboxes of the active x control they update fine but whenever i try to choose a value in the combo boxes, the value doesn't update but if i type a value in, it updates...it's like the combo options don't exist.

    Any ideas on how to fix this?

    Thanx in advance

  2. #2
    Fanatic Member Slaine's Avatar
    Join Date
    Jul 2002
    Posts
    641
    Can you post some sample code?
    Martin J Wallace (Slaine)

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Posts
    14
    here's the combo box code for the control....

    Public Property Get RTC() As String
    RTC = cmbRTC.Text
    End Property

    Public Property Let RTC(ByVal newRTC As String)
    cmbRTC.Text = newRTC
    End Property

    Private Sub cmbRTC_Change()
    PropertyChanged "RTC"
    End Sub

    Private Sub UserControl_Initialize()
    cmbRTC.AddItem "Commercial"
    cmbRTC.AddItem "Residential"
    End Sub

    .....the code that I used for the textboxes is the same...maybe that's the problem?

    Thanx.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width