Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preventing Report's Window to be destroyed
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Preventing Report's Window to be destroyed
Divers
Thread ID:
00675607
Message ID:
00675607
Vues:
55
Hi All,

When I modify the report it comes either into a window that VFP creates or I can create the window by myself. The problem is that if that window comes on top of another form and I click on that form, then the Report’s window is destroyed.

I tried to control that via a custom code and it did not help. I even made this window as Modal as seen in that code below. I am trying to keep this window open as long as it is needed and only when user is closing it then it should be destroyed.
Any idea?

m.loForm=NEWOBJECT("MyReport","MyForm.Prg")
MODIFY REPORT mMate WINDOW (m.loForm.Name)
DEFINE CLASS MateReport AS FORM 
  AutoCenter = .T.
  Name="frmReport"
  AlwaysOnTop=.T.
  Width=1075
  Height=635
  Comment=This.Caption
  WindowType=1 
    
ENDDEFINE
Regards,

Doron
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform