Information générale
Catégorie:
Codage, syntaxe et commandes
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
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