Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Flexgrid array binding
Message
From
18/10/2002 11:09:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
18/10/2002 08:36:31
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00712806
Message ID:
00712904
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform