Exactly. And your example works in a small .prg file. Thank you.
But when I set the value of my edit boxes to the same values as you have, it does not work. The issue must be that my edit boxes are in a container which is inside a page of a pageframe. And I set the anchor values in the INIT method of the form. Could it be that the anchor value of the PageFrame or the container is causing the problem?
>Is this what you are trying to accomplish?
>
>
>loForm = CREATEOBJECT('myForm')
>loForm.Show(1)
>
>DEFINE CLASS myForm as Form
> height = 450
> ADD OBJECT myTopEditBox as EditBox WITH top = 5, width = 200, height = 200, left = 5, anchor = 75
> ADD OBJECT myBotEditBox as EditBox WITH top = 210, width = 200, height = 200, left = 5, anchor = 30
>ENDDEFINE
>
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham