Page 1 of 1
Problem with form center
Posted: Wed May 30, 2007 1:10 pm
by falsam
Hi from France and sorry for my english,
I have a problem with this code
object f as form
f.Center
end object
f.ShowModal
the form is not centered ?:-/
Problem with form center
Posted: Wed May 30, 2007 3:32 pm
by Marco
hi,
First, within the object declaration you do not need to use the object name.
Second, center is not a method but a property.
This will center your form:
object f as form
center=true
end object
f.showmodal
Or:
ocject f as form
end object
f.center=true
f.showmodal
Thanks for your comment and best regards.
Problem with form center
Posted: Wed May 30, 2007 3:49 pm
by falsam
Sorry, I usually practise rapid-q. I will look at documentation attentively.