Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Desktop property on the fly
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00614690
Message ID:
00614720
Vues:
30
Sorry, was wrong, gives an error property DESKTOP is readonly. I never realized that.

>How do you create the form programmatically?
>Could you create a class instead?
>
>I assume you could change the DESKTOP property of a class after you instantiated but before you SHOW() it:
>
>loLookup = NEWOBJECT("MyLookupForm", "HereItIs")
>loLookup.DESKTOP = .T.
>loLookup.SHOW(1)
>
>something like this I could imagine.
>
>HTH
>
>>Hi there,
>>I have created a function to browse anything (i.e accounts, items) and return a value. It is a form which is created programmatically and gives users a quick lookup into the account name, and selection by clicking the first characters of this account. The problem I face is that the main calling form is a desktop form and when calling this function I cannot set its desktop property to .T. at runtime. I have tried showwindow and other solutions but the new auto createed form is just hiding somewhere and does not show itself on the screen.
>>
>>Any ideas.
>>
>>You are welcome
>>
>>Jonathan
Christian Isberner
Software Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform