Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disappearing Close button?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00127692
Message ID:
00127718
Views:
24
>>I've got a closeable form which works fine until I make a call to GETDIR(). When the user selects a directory, and is returned to the form, all is well except for the fact that the close button in the top right-hand corner is now grayed-out. Anyone have any experience with this? Thanks for your help.
>
>Hi Richard,
>
>I tried this in VFP 5.0 and couldn't replicate the problem either with a modal or modeless form. The only way I could duplicate this behavior was by setting the .Closable property to .F.
>
>Try setting a breakpoint on the _SCREEN.ActiveForm.Closable property.
>
>hth,

There is one thing which can gray out 'close' button: it's some form property pointing to existing object. All these properties should be set to NULL in Form.Destroy event.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform