Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'Invalid Subscript' error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00815237
Message ID:
00815694
Vues:
13
Nope this is the proper syntax...



>My only guess is that you may have the syntax incorrect.
>
>I'm thinking here of something like a Treeview node, that can be accessed with syntax like
ThisForm.Tree1.Nodes(23).Key = "anything"
>
>Do you maybe need something like:
.TableID(x).TableRow(y).TableCol(z).txAttribute =
>
>good luck
>
>
>>Hello All,
>>
>>I have an ocx from TXTextControl that is an awesome word processor with great control over most properites and methods BUT it has a few propeties which must be set similar to the following:
>>
>>TXTextControl1.TableCellAttribute(tableID, tableRow, tableCol, txAttribute) = RGB(255, 0, 0)
>>
>>This one property is implemented to control 19 attributes of a table cell
>>
>>The problem is that VFP of course sees an me trying to assign a value to an array element which doesnt exist, thereby triggering a 'Invalid Subscript' error.
>>
>>Can anyone see a way around this ?
>>
>>TIA
>>Greg
Greg Foote
Software At Work, Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform