Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Define Window help
Message
 
 
À
04/12/2016 05:56:31
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01644264
Message ID:
01644417
Vues:
61
Thanks for the info Dragan. I'll file this for future info as needed.

>>>What is the READ command following the define window? Seems like I remember that you would issue a READ MODAL command to have a modal form.
>>
>>Greg, I went ahead and put a grid in a class which took care of it.
>
>Good, you did do that step back and look at the larger picture. You replicated what it was doing, not how it was doing it.
>
>In general, you can actually execute the code like that with the old-style window creation and then suspend and take a look at _screen.forms collection. You should be able to find that window - perhaps as .forms[1] or .forms[2] (the ordering is switched around, every time a window is show()n or got focus, it becomes #1). Then just do amembers() on that form/window with changed properties only, and you should be able to then create a form class which would behave the same as the window from the Create Window command, but it would now be an object and totally under your control.
>
>Done that before, and it worked swimmingly - IIRC there was some advice from Martina to do that when I needed a tooltip form class.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform