Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What would keep my form from being movable?
Message
 
To
20/10/2009 14:37:49
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01430089
Message ID:
01430167
Views:
35
>>>>>>>I have a VFP form I've added to a project, but for some reason when I run the exe I can't move the screen around?
>>>>>>>I have the myForm.movable property set to .T.
>>>>>>
>>>>>>If it's regular form you cannot move it outside of VFP desktop window unless property Desktop=.T..
>>>>>
>>>>>Interesting. I have myForm.ShowWindow = 0 ... but still have the problem unless I set Desktop = .T. Strange I don't think I've had the problem in the past....
>>>>
>>>>As I said, a regular form (ShowWindow=0 - In screen) is confined to VFP Desktop (_SCREEN) window.
>>>
>>>In other words, you can move it inside the screen area and not outside.
>>
>>Riiiiight - but I don't recall having to set desktop = .T. to allow me to move it at all.....if I don't set the property it's just stuck auto-centered.
>
>Was your _screen.visible at all? I never played with form.ShowWindow=0 and invisible _screen - I guess it wouldn't have worked anyway (app can't show and stays stuck, or quits promptly), but in case it did, maybe this was it?

_screen.visible is .T. - if it was not then myform wouldn't appear at all as it's showing up inside _screen.
ICQ 10556 (ya), 254117
Previous
Reply
Map
View

Click here to load this message in the networking platform