| Mirage Source http://web.miragesource.net/forums/ |
|
| ComboBox.additem, error? http://web.miragesource.net/forums/viewtopic.php?f=201&t=3821 |
Page 1 of 1 |
| Author: | Stomach Pulser [ Wed Jun 11, 2008 2:52 am ] |
| Post subject: | ComboBox.additem, error? |
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? |
|
| Author: | Pbcrazy [ Sun Jun 15, 2008 7:54 pm ] |
| Post subject: | Re: ComboBox.additem, error? |
it prolly is wanting to know what the new index is. i would go back through the code to make sure you defined it as something. might try the search. |
|
| Author: | Stomach Pulser [ Sun Jun 15, 2008 8:57 pm ] |
| Post subject: | Re: ComboBox.additem, error? |
even just putting a number (such as 0, 1, 17, 69) in there gives an error |
|
| Author: | Pbcrazy [ Sun Jun 15, 2008 8:59 pm ] |
| Post subject: | Re: ComboBox.additem, error? |
well is the last index even a conditional? other than that idk |
|
| Author: | Stomach Pulser [ Sun Jun 15, 2008 10:08 pm ] |
| Post subject: | Re: ComboBox.additem, error? |
It says it is an optional thing. |
|
| Author: | Pbcrazy [ Sun Jun 15, 2008 10:19 pm ] |
| Post subject: | Re: ComboBox.additem, error? |
hmmm idk. |
|
| Author: | mustorze [ Sat Jun 21, 2008 2:56 am ] |
| Post subject: | Re: ComboBox.additem, error? |
use frmBla.cmbBlarghh.AddItem Index & ": " & bala & " " & bala2, index |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|