Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What would keep my form from being movable?
Message
 
À
20/10/2009 14:37:49
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01430089
Message ID:
01430167
Vues:
36
>>>>>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform