Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with different grids on pageframe
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00775302
Message ID:
00776346
Vues:
13
OK. Here is what I found. I have a way around it.
I defnied the controlsource of all the columns in the init
method of the form for the second grid. Then it goes whacky
and shows the same record all over. But if I omit defining
the controlsource for FIRST column then it works OK. And I
can define the controlsource for the first column in the properties
window at design time. It just turns out to be ok for this case.
Is that a VFP bug?

>Paul;
>
>Have you assigned the properties (control source) on the grid property sheet or using code? If you used code let us know where the code is located and give an example of it.
>
>It works fine here and I have forms with many pageframes and grids.
>
>Tom
>
>
>>I tried that and then it ignores the controlsource for each column.
>>The problem is only when the grids alias source is not the current
>>alias. The first page grid has current alias and works OK.
>>
>>Getting to think this is a VFP6 bug. Did something like this in
>>VFP5 and it displayed OK for 4 different grids on 4 different
>>pages.
>>
>>>Paul, besides the column.controlsource have you also set the grid.recordsource?
>>>
>>>
>>>>I have two grids displaying data on different pages of a pageframe.
>>>>The grids use the .....columnx.controlsource = somefieldsubstring
>>>>defnitions.
>>>>The first grid which uses the current alias works OK. But the
>>>>second grid on the second page just repeats its current record all
>>>>over. The second grid displays ok if it is ..coluumnx.controlsource
>>>>is the current alias but then the first grid goes whacky same way.
>>>>
>>>>Any ideas?
>>>>
>>>>I am using VFP6 and some .....DYNAMICBACKCOLOR definitions
>>>>in each of the grid init methods.
-----------------------------------------------------------------
Paul Lee ........... Abri Technologies ......... http://abri.com/
'Recover' - top rated FoxPro/dBase file repair utility.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform