If you look in the Mover method of the VFPSkin2 class you will see that it references a property right at the top. Mine is this:
IF THIS.inmovil=.F.
...I am just guessing here, but try setting the inmovil property to .T. in the class itself and I think it will stop moving your form. Also, if you want it to be a case-by-case basis then you could make it reference the form property instead by changing the line in the VFPSkin2 Mover method to:
IF THISFORM.Movable =.F.
...a little word of caution, I haven't tried this but it seems in reading the code that it will do what you want. Give it a try, there be some other stuff you'll need to fix up that I haven't seen or thought of yet.
Slighthaze = NULL
[ul][li]FAQ184-2483 An excellent guide to getting a fast and accurate response to your questions in this forum.[/li][/ul]
Glad I could help. There is a method called Miresize of the VFPSkins2 class and it is called from the MouseMove event of the shpresize object. Go into the MouseMove event and either comment out the code in there that calls Miresize or you can make it dependent on the forms borderstyle by putting:
LPARAMETERS nButton, nShift, nXCoord, nYCoord
IF nButton = 1 and thisform.borderstyle = 3
THIS.PARENT.MIRESIZE
ENDIF
...into the MouseMove event for the VFPSkin2.shpresize object. Do a search for the word "miresize" in the code of the VFPSkin2 class because this is the only place miresize is called.
Slighthaze = NULL
[ul][li]FAQ184-2483 An excellent guide to getting a fast and accurate response to your questions in this forum.[/li][/ul]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.