Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Flexgrid array binding
Message
De
18/10/2002 11:09:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
18/10/2002 08:36:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00712806
Message ID:
00712904
Vues:
16
Does FlexGrid really have that method ?
This works for me :
DIMENSION laRegel[2,2]

laRegel[1,1]="Test1"
laRegel[1,2]="Test2"
laRegel[2,1]="Test3"
laRegel[2,2]="Test4"
With oFlex
 FOR ix=1 TO ALEN(laRegel,1)
  FOR jx=1 TO ALEN(laRegel,2)
   .TextMatrix(ix-1,jx-1)=laRegel[ix,jx]
  ENDFOR
 endfor
Endwith
Cetin

>Hi all,
>
>I'm trying to bind an array to a Flexgrid with the following code
>
>DIMENSION laRegel[2,2]
>
>laRegel[1,1]="Test1"
>laRegel[1,2]="Test2"
>laRegel[2,1]="Test3"
>laRegel[2,2]="Test4"
>
>oFlex.BindToArray(laRegel)
>
>
>but on the bindtoarray line i keep getting OLE unknow COM status.
>Has anybody used this function with Flexgrid an if so what am i doing wrong ?
>
>Thx for any help,
>
>Guillaume
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform