Barbara (sorry didn't catch it <grin>)
the DAYS array is a PUBLIC ARRAY declared in the FORM LOAD. The CONTAINER INIT assigns the control (Checkbox) name to the array. Checkboxes in the container are named d11, d12, d13, d14... d21, d22, d23... etc.
This whole idea of using arrays was so that I could set the "caption" by using a FOR ENDFOR loop.
I should mention, if I haven't, I am attempting to duplicate the ACTIVE X Calendar Control so that I can have "days" highlight when their is data on it... (apparently something that can't be done with the Active X contol). I thought, hey, why not, I can probably make my own. Geez, who was I kidding!!!!
I tried adding a RELEASE ALL in the FORM.DESTROY to release the public array creation in the FORM.LOAD. That doesn't seem to help.
As I do this though, I am wondering if I need an array at all?!?! I have read something about containers containing arrays of controls. Would that be a better option for setting the captions and recording what "date" was selected (which 3d Checkbox was hit?)
Peter Brama
West Pointe Enterprises
VFP is getting easier but STILL alot to learn!!