Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ComboBox.additem, error?
#1
I am using code such as the following (all variables and such are declared)
Code:
frmBla.cmbBlarghh.AddItem(Index & ": " & bala & " " & bala2)

and I get no error. However, when I add the optional index,
Code:
frmBla.cmbBlarghh.AddItem(Index & ": " & bala & " " & bala2, index)

I get an error (in design-time, not run-time)...
Code:
Compile error:
Expected: =

I have no clue why it does this, any help?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)