Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Activate Window In As Top Level Form?
Message
De
19/04/2006 13:30:37
 
 
À
19/04/2006 11:27:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01114611
Message ID:
01114662
Vues:
18
This message has been marked as the solution to the initial question of the thread.
>I cannot display windows define with DEFINE WINDOW in my AS TOP LEVEL form. How can I do that? Thank you!

Use IN WINDOW option of DEFINE WINDOW command to specify parent window name
(usually the same as form's name property)
See example code:
loForm = CREATEOBJECT("TopLevelForm")
loForm.Show()

DEFINE WINDOW Child FROM 0, 0 TO 10, 10 IN WINDOW TopLevelForm 
SHOW WINDOW Child 


DEFINE CLASS TopLevelForm as Form
  ShowWindow = 2
  Name = "TopLevelForm"
ENDDEFINE 
/A new technology turns into completely outdated stuff before you have a time to read "Getting Started..." section.
/If there are some "system programmers" then others are unsystematic.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform