Information générale
Catégorie:
Codage, syntaxe et commandes
>>I am using a form that is in a class library, I have put a pageframe on the form and I am putting the grid on the pageframe. Setting that grid up the way you suggested above. I have thisform.grd2.RecordSource="test"
>> Thisform.grd2.Visible = .t.
>>when I click on the command button, I am getting an error stating that the grid is an unknown member. Help is telling me obvar.memberobj.property no member named memberobj was found. Does this have something to do with the Form being a class?? How can I fix this? I have also tried using Thisform.pageframe.grid (the pageframe will come up as the object not being a member)
>
>Run:
>thisform.pageframe.page.grid.visible=.t. && surely pageframe/page has name
>or better (if commandbutton sits on the same page):
>this.parent.grid.visible=.t.
Thank you it works!!!! I am just learning if you did not catch on to that. Are you going to FoxTeach?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement