PDA

Click to See Complete Forum and Search --> : Option controls


Andy Collyer
Nov 22nd, 1999, 04:08 PM
I've got a form with lots of controls on it including two Option control arrays, one called "optWitness" (Indexes 0 and 1) and one called "optCompanies" (Indexes 0 through to 4). Somehow they seem to have got merged - when I try to set the Value of (say) optWitness(0), all of optCompanies become False.

Why? Has anyone seen this before? What can I do about it?

I've tried deleting optCompanies and starting again with it but it makes no odds whatsoever.

It's damn annoying and I haven't got a clue what to do about it. I've also tried deleting the form.frx file but that makes no difference either.

Help please it's driving me insane!

AndyC
London

------------------
* * * * * * * * * * * * * * * * * * * * * *
* *
* AndyC *
* London *
* email: andy.collyer@bigfoot.com *
* *
* * * * * * * * * * * * * * * * * * * * * *

onerrorgoto
Nov 22nd, 1999, 06:14 PM
Are your optioncontrols grouped in two frames separate from eachother?

if so, did you create them on the form and then just dragn'dropped them to a frame,or did you create them in their frames?



------------------
On Error Goto Bed :0)
anders@zsystemdesign.se

Andy Collyer
Nov 22nd, 1999, 06:36 PM
I created them on different tabs of an SSTab control but I've also done quite a bit of cut-and-paste reorganising.

Just put them in different frames and it would seem that that would indeed be the problem - a quirk I wasn't aware of - I thought being on a different tab would suffice. How wrong I was!

Thanks very much - you live and learn :)

Thanks again,
AndyC
London