Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GRID ::: Manipulated values in Text Box in Grid
Message
De
04/09/1998 06:02:45
 
 
À
04/09/1998 05:50:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00133151
Message ID:
00133165
Vues:
14
>>I have a grid, which is based on table. The col2 , is readonly col. and that col2 is actually string manipulation of fields 2,3 and 4 of a table.
>>
>>How would I do this ?
>Satya,
>You mean you want to show something like ie :
>substr(columns(2).value,1,3)+substr(columns(3).value,4,7) ?
>If so, you set controlsource to be manipulated field expression. That column is a "calculated value" and readonly by default (you cannotmake it RW).
>Cetin


Exactly the same way.
the col2 , control source is like that, but, I have a very long method of writing that code.

eg :

if col(2)).value = 'A' then
column2.controlsource = 'Attribute' + str(col 3) + ..blah blah
else
blah
blah
endif

Where should I write this code (I mean in what method or event)
for that column ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform