Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Super Mover Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00488649
Message ID:
00489953
Vues:
8
Mike,
Add DODEFALT() in front of your code to execute parent class Init.
Also the size of array shoul be 5 rows not 6.
<b>DODEFAULT()</b>
local lachoices(<b>5</b>,1)
lachoices(1,1)="Test1"
lachoices(2,1)="Test2"
lachoices(3,1)="Test3"
lachoices(4,1)="Test4"
lachoices(5,1)="Test5"
THIS.INITCHOICES(@LACHOICES)
>Having problems using the mover foundation class. I have placed the following code in the Init() event of the mover object to populate the choices for the left hand listbox.
>
>
local lachoices(6,1)
>lachoices(1,1)="Test1"
>lachoices(2,1)="Test2"
>lachoices(3,1)="Test3"
>lachoices(4,1)="Test4"
>lachoices(5,1)="Test5"
>THIS.INITCHOICES(@LACHOICES)
>
>This code populates the left side lis box ok. But when I try to move one over, I receive an error message... "array dimension invalid".
>
>I have read that you can use the same code for the selections on the right hand list box but not sure on how to initialize the InitSelections() method. Have tried several combinations but continue to get the same message.
>
>Any help would be greatly appreciated.
>
>Mike
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform