>In the Init of a ComboBox I have the code below. It gives me an syntax error. This code works for other stuff (it's parent code in a class). The debugger makes it hard to tell, but THIS doesn't seem to be available, but that could just be scoping. I do know that when I get back to the instance (out of the class) THIS is an object, but ListIndex under the object in the watch window shows as "expression could not be evaluated" or whatever. Any ideas? Thanks!
>
>
>THIS.ListIndex = 1
>
Perhaps you're returning .f. from the Init of this control somewhere earlier in the method.
Also are you sure you specified valid RowSource and RowSourceType?
If it's not broken, fix it until it is.
My Blog