>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,
George
Ubi caritas et amor, deus ibi est