Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning from printing to form
Message
 
À
17/03/1998 13:14:46
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00084927
Message ID:
00085287
Vues:
35
>Sorry, Nigel, but now I'm really confused.
>
>You have an application that has a data entry (?) form. This form is modeless, and has a button that issues a REPORT FORM command and sets focus...where? Why? If the button is on the form, and has focus enough to issue a set focus command to it's parent form, then the parent form already has focus, doesn't it?
>
>Admittedly I don't handle my reporting like this, but the set focus seems really odd. What happens if you just do the REPORT FORM w/o a set focus (just for jollies)?
>
>Also, what did you mean in your original message about having to restart the program after printing? Does the form close? Does the APP quit? Does this happen both from the command window and from running the EXE directly (if there is one)?
>
>Where is your READ EVENTS? Where is your CLEAR EVENTS?
>
>You specifically mention that you have 9 buttons and 3 of them print reports. Was that important? Do some of the print buttons work okay? What do the other six buttons do?
>
>You'll probably already have solved your problem, and I might be chasing a red herring
>
>PS you need an ON SHUTDOWN routine to close your app with the "X"
>
>...snip
>>To answer Nancy's questions first the form is modeless, its in
>>an application and that was all the code in the command button
>>except for a setfocus to the form.
>>
>...snip
>>
>>the message says "Cannot quit Fox Pro but when you click OK
>...snip

Nancy,
As Derek said, my message was in reply to his original. The only reason I put setfocus is to take the focus off of the "Print" button so that the operator cannot "accidentally" hit enter and trigger the report again. It is not there to solve any problems - apparently it does???
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform