Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
*Compatibility Report 5-7* TopLevel Form always OnTop
Message
 
To
16/09/2002 23:01:30
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00697438
Message ID:
00701083
Views:
24
Hi Nancy,

PMFJI, but you forgot to set AlwaysOnTop = .T. :)

Regards,
Armin

>>Description :
>>
>>When a CreateObject implies a new Win-task, i.e. the new form is defined as ShowWindow as TopLevel Form, and this form is defined as AlwaysOnTop, this Form now indeed will be an "always on top" Form opposed to all Win-tasks running.
>
>I don't see this behavior. With ShowWindow = 2 other applications will correctly be displayed on top of the form when I switch to them. Here is the code I used to try and duplicate the problem.
PUBLIC oform1
>
>oform1=NEWOBJECT("form1")
>oform1.Show
>RETURN
>
>
>	**************************************************
>*-- Form:         form1 (p:\pos\temp.scx)
>*-- ParentClass:  form
>*-- BaseClass:    form
>*-- Time Stamp:   09/16/02 07:58:09 PM
>*
>DEFINE CLASS form1 AS form
>
>
>	Top = 0
>	Left = 0
>	Height = 574
>	Width = 791
>	ShowWindow = 2
>	DoCreate = .T.
>	Caption = "Form1"
>	Name = "Form1"
>
>
>ENDDEFINE
>*
>*-- EndDefine: form1
>**************************************************

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform