Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Cursor Objects In The DataEnvironment
Message
De
08/07/1998 16:51:18
 
 
À
08/07/1998 16:47:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00115475
Message ID:
00115479
Vues:
15
>>If I need to generically access all of the Cursors so that I can
>>set the properties (would you believe the CursorSource property?...
>>of course you would).
>>
>>The best I've been able to come up with is using a loop
>>coupled with a macro, but I'm hoping that there's a more elegant
>>method (that seems so kludgey).
>>
>>The DE apparently isn't a container object, so I can't use
>>Controls(), evidently AINSTANCES() only works with objects
>>instantiated with CREATEOBJECTS() OR GETOBJ(), and there
>>doesn't seem to be any other property or method to tell you
>>how many cursors have been created, nor what their names are.
>>
>>advTHANKSance...
>>
>> ...kt
>
>

>=amembers(myarray,thisform.dataenvironment,2)
>for n=1 to alen(myarray)
> cName=myarray[n]
> =messagebox(thisform.dataenvironment.&cName..cursorsource)
>endfor

I feel certain that I'm going to name one of my sons Edward. :)
Thank you sir.

...kt
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform