Le 7 mai 07 à 19:37 Soir, Norman Palardy a écrit:

> On 7-May-07, at 11:16 AM, Bart Pietercil wrote:
>
>>
>> On 7-mei-07, at 18:44, Arnaud Nicolet wrote:
>>
>>> Le 7 mai 07 à 18:38 Soir, Bart Pietercil a écrit:
>>>
>>>> But why would I need control arrays if i have controls
>>>> addressable by
>>>> name :-)
>>>> if I know that radiobutton1 and radiobutton2 need to be checked
>>>> against each other I just retrieve those two from the ControlDict
>>>>
>>>> Bart
>>>
>>> Yes, that's true.
>>> It's just sometimes more convenient to clone controls if they have a
>>> lot of properties to configure which are same as the cloned one.
>>
>> Euhm, I definitely am in untested waters now, but could I clone a
>> control from my ControlDict ?
>> Lets assume checkboxes
>> If I know I want to clone those later on I have set the index of the
>> original CB = 0
>>
>> Something like
>>
>> aCB = ControlDict.Value("CB1")
>> anotherCB = new aCB
>> anotherCB.Name = "CB2"
>> ControlDict.Value("CB2") = anotherCB
>
> No
> Needs to be a member of a control array unless it's a container  
> control

I'm not sure. In the original question, ControlDict.Value("CB1") is  
assumed to be a member of a control array (at least, a reference of).  
Does that change anything?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to