Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class based forms and Default DS
Message
De
17/01/2007 15:24:40
Mike Yearwood
Toronto, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01186390
Message ID:
01186417
Vues:
28
This message has been marked as a message which has helped to the initial question of the thread.
Naomi

>>I knew there is something more :-))))))))
>>Grids doesn't like when you switch data sessions. But I think SET DATASESSION is much faster than CURSORTOXML/XMLTOCURSOR. You just must redefine your grid, if you pass DATASESSIONID as parameter and not use _screen.ActtiveForm.
>
>Right, Borislav, I used the Load idea and the cursor is now accessible. But now my FormatAndSetCaption method of the grid is giving me "Object name is invalid" error on NewObject command... :(
>
>I actually was lazy again (as always) and thought I would try to format grid initially in run-time, then switch to command window and grab all properties and then use some sort of a builder. But I think designing it in design time in this case would be easier and less time wasting.
>
>Thanks a lot for your help.
>
>On the second thought <g> let me try something like Re: Grid - replacing text boxes with my text boxes... Thread #626348 Message #626508 first.

How about in the child form load set the datasession to the calling form's datasessionid? If the child cursor already exists, the grid will find it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform