In fact the key to it is .minwidth
You can set this to 0 instead of -1. At design time it will still pop back to 117 but at run time you can set any size you want in the init event
INIT...
thisform.width = 20
If you still want the title bar on, it will look pretty ugly as it gets smaller, so best to do .titlebar=Off
>Placing a vertical strip image to the right border of my form I want my form look like a thin vertical strip after clicking on this image ( Sort of panel collapsion to the left/expansion to the right which we can see in Netscape Navigator. )
>The thing is even in designer you are not allowed to have the form with the width less than 115 pixels ( main reason seems to be to feet icon,min/max/close buttons... ) Making all this false doesn't change the imposed limit. Am I missing something ? If not, is there way to create something like this in VFP ?
>
>
>
>maximized
>--------------|
>| my form | |
>| |<-|
>|-------------|
>
>minimized
>
>| |
>| |
>|->|
>| |
>
>
>
>Thanks
>Michael