Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying window in the Form
Message
De
27/08/2005 01:53:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Displaying window in the Form
Divers
Thread ID:
01044495
Message ID:
01044495
Vues:
55
Hi everybody,
I am trying to display a text file in a window. When I activate this window, it goes hidden behind the application. How can I show this window in the active form? Following is the code I am using
loNewForm = CREATEOBJECT("FORM")
loNewForm.NAME = "View_Wind"
WITH loNewForm
   .CAPTION = "GIV Details"
   .HEIGHT = 300
   .WIDTH = 675
   .FONTNAME = "Courier New"
ENDWITH

loThisform = THISFORM.NAME
ACTIVATE WINDOW View_Wind IN WINDOW (loThisform)

SET CENTURY OFF
STORE "c:\temp\z" + SUBSTR(SYS(3),1,7) TO textfile
REPORT FORM rep31_1 TO FILE (textfile) NOCONSOLE
MODIFY COMMAND (textfile+".txt") IN WINDOW View_Wind NOEDIT 
SET CENTURY ON
RELEASE loNewForm
ERASE (textfile+".txt")
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform