Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Reference Error
Message
De
01/12/1999 17:10:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00297549
Message ID:
00297580
Vues:
28
>>Hi Arne,
>>
>>>TVar = "thisform.DescLine.ControlSource = S["+alltrim(str(CurrRow))+",18]"
>>>&TVar
>>>TVar = "thisform.InfoLine.ControlSource = S[" + alltrim(str(CurrRow))+",20]"
>>>&TVar
>>
>>Use this code instead:
>>
>>Thisform.DescLine.ControlSource = s[CurrRow, 18]
>>Thisform.InfoLine.ControlSource = s[CurrRow, 20]

>>
>>As for the variable reference, what is s[CurrRow, 20] exactly?
>
>I thought than when setting control sources on the fly you had to surround them with quotes unless the array is returning the control source as a string.

When trying to set them by hand in the property sheet...you're making a dynamic assignment in code of a value.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform