Hey, comment all you wish! I LOVE comments in code :-)
>Barb,
>
>You have been a great help - I will get it out to you - uncommented so you can see what it is doing. I appreciate all your time.
>
>Thanks
>
>Pete
>
>
>>Peter,
>>Don't worry about the name - just remember to put spaces inside your < grin > brackets so UT doesn't think it's and HTML code :-)
>>
>>Why don't you ZIP up your form and email it to me. I promise I'll look at it tomorrow as soon as I get back from a client visit. Certainly by this time!
>>
>>Just click on the blue envelope by my picture above to get an email to me.
>>
>>Barbara
>>
>>
>>>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?)