Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Desktop property on the fly
Message
From
04/02/2002 08:14:41
 
 
To
04/02/2002 08:13:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00614690
Message ID:
00614720
Views:
27
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
Previous
Reply
Map
View

Click here to load this message in the networking platform