Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to Define Winodow and to add objects to i
Message
 
 
À
16/11/1998 09:16:50
Mark Kessler
U.S.M.C. - Network Operation Center
Quantico, Virginie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00157806
Message ID:
00157859
Vues:
18
Mark,

Don't use DEFINE WINDOW, do this instead:
x = createobject( "Form" )
x.Visible = .t.
x.AddObject( "cmdTest", "CommandButton" )
with x.cmdTest
   .Top = 100
   .Left = 100
   .Visible = .t.
endwith
When you AddObject() something to a form it's Visible is set to .f. so you can manipulate it before making it show on the form.

>I used the command 'Define Window' to create an about screen.
>
>I was wondering if there was a way to addobjects or createobjects
>on this window?
>
>I tryed to use createobject to create a command button but it would not display at all.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform