Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fpw 2.6a, win 3.x - Screen control menu
Message
 
À
19/11/1996 00:31:22
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00012725
Message ID:
00012742
Vues:
29
>Does anyone know if it is possible to trap for the user selecting close from a screens control menu?
> (fpw 2.6a, win 3.x).
>
>ie I would like user to be able to close a screen by:
> - pressing cancel button or
> - selecting close from screens control menu or
> - double clicking screens title bar icon
>All of which are standard win 3.x interface actions.
>
>Also - selecting close from the screens control menu doesn't seem to clear the read.
>
>Thanks for any help.
>--
>Peter Clemmett
>petercle@ihug.co.nz
>
>http://202.37.133.151/starsoft/
>
>God put me on earth to accomplish a certain number of things.
>Right now I am so far behind, I will never die!
Hi Peter,
Let's see one at a time,
when you say pressing the 'Cancel' button,
while in the screen designer, double click on that button to go to the
'Push button' dialog box, and select 'Terminate READ on selection'.
To close the screen using 'Close' from the control menu, while
you are in the screen designer, go to the 'Layout' option under
the 'Screen' menu bar, then in the screen layout dialog click
on 'Window Style' and select 'Close' under 'Atributes', then
click on 'Code' in the 'Screen Layout' dialog box and go to
'On Window Deactivate', if you don't have anything in there
like 'READDEACT()', then click on 'Expresion' and then
just add .T. (that is true).
And the last one, you can't close a window just by double clicking
the title bar, double clicking the title bar will 'maximize' the
window or restore the window to the previous size.
Hope this help.
Good Luck !
luisg@netrunner.net
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform