Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Editing an array with a grid
Message
De
13/09/1998 05:39:53
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
11/09/1998 16:32:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00134672
Message ID:
00135925
Vues:
12
>>>>>[...] If you bind column.controlsource to array element then (I guess) you should see the same values in all rows of the same column.
>>>>
>>>>No, using RECNO() as the row number in the ControlSource fixes that. In effect, each element in a column has a different ControlSource.
>>>
>>>Ok, but you omitted the first part of my reply, which, IMO, is more important. Anyway, you need in cursor of the same size as array, so just throw out the array as redundant element and it still works the same way.
>>
>>Actually not exactly the same way - with a cursor field as a columnsource, you get same data type for all rows; with array they may be different. Though, such a multi...colored grid would be a real pain to maintain.
>
>Any array-ed data type can be represented by character.

That's for sure - unless we want this not to be read-only. Well, then we'd have to have some unbound controls, with some handy code to update the contents both ways (textbox.value to array member and vice versa).

Anyway, this sounds as if it would work, if anyone had the time to do it.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform