Thanks. Got it. Just seems odd to have both in system. 
  Derek

CV <[EMAIL PROTECTED]> wrote:
  
On Sep 27, 2006, at 6:05 AM, D P wrote:

>>> All good except that the compiler takes exception to my array of
>>> editfields e(x,y)
>>>
>>> They/it don't exist.
>>>
>>>
>> In Open the array e(8,8) is declared as a local variable, which means
>> that its scope is limited to the Open event, which is long over by
>> the time you push the button. You will want to declare e as a
>> property of the window, and deleted the dim e(8,8) from the Open
>> event. Doing that assures that e will stay in scope.
>>
>> Best,
>>
>> Jack
>>
>
> Thank you.
>
> A definite "getting started" oversight.
>
> I find it interesting that the editfields are not a property of 
> the window by the method I used considering after the 'loaded' 
> editfields accept text that can be deleted etc as if they exist. 
> Considering they are all clones of the Editfield1(0) I placed on 
> the window I find this a little hard to work around. Just extra 
> code I guess.
>
> I'm just back at this after playing in VB6 and I have to remind 
> myself of the diffs again; so thanks again.
>
> all the best
> Derek
>
>

The cloned editfields should be accessible as EditField1(1), 
EditField1(2),...etc. In other words, they are elements in a control 
'array' created by Rb, not to be confused with an array data type. 
All that happened in your case is that the reference to your array, 
e, went out of scope.

Best,

Jack
_______________________________________________
Unsubscribe or switch delivery mode:


Search the archives of this list here:




________________________________________________________________ 

A man's own manner and character is what most becomes him.
  - Marcus Cicero.
   
  www.drunkenpoets.com
  www.soundtower.com
   

                
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1ยข/min.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to