Are the labels supposed to be on top of the shapes?
When designing the form, if you click on a label, is the label object selected or is the shape object selected?
If it's the shape object, this means that the label is behind the shape in the graphical level. Basically you can have lots of objects in front of each other, but unless you add them in the right order you can get the wrong ones on top of each other. To correct this, you use the "Send to back" option.
Try selecting one of the shape objects and on the format menu, click the "Send to Back" option. This will put the shape behind the label. THen run the form and see if that has fixed the problem. If so, do the same with all the other shapes.
Hope that helps,
Stewart
PS If you want to get the best response to a question, please check out FAQ184-2483 first.
So the problem appears to be not in shapes and labels as such, but in not being able to save the form?
Do any other changes get saved?
Or any other types of files on the same drive?
if i change the size of the shapes when i open the form again it puts some labels on top and other on back and the same thing in the case of the shapes (i dont need to run the form 'modi form')
if i change the size of the shapes when i open the form again it puts some labels on top and other on back and the same thing in the case of the shapes
So you mean that the changes in size get saved OK? You probably should look for occurrences of ZOrder calls all over the place.
(i dont need to run the form 'modi form')
What do you mean by that?
You have plenty of other controls on your form, besides shapes and labels. If you change anything else, like the size of the grid, or location of a combo box, or a color of whatever, then save, are these changes still there when you reopen the form?
Did you check all code in the form for occurrences of ZOrder method calls?
I see that you have a label (?) saying VFP-Skin 2.0
What is that? Is it a "skin" for a VFP form? Maybe that's interfering in some way?
zOrder - this is a method as well as a property. As Stella says, check all the methods in your form (on the find dialog form, change the scope to "All objects") to see if the method is called anywhere.
Hope that helps,
Stewart
PS If you want to get the best response to a question, please check out FAQ184-2483 first.
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.