Omnis refusing to change $top of a field
I hope someone has some wise words here because I’m absolutely stumped
by this and I’ve lost well over an hour on this seemingly insignificant
I have a scrollbox with an entry field on it. When I type something into
the entry field and tab out in the evAfter I detect that the entry field
is not empty, add a new record into a structure, clear the entry field,
add a subwindow to the scrollbox that presents the new record and call a
routine that will position the subwindows and entry field so the entry
field moves down.
I can repeat this to add more and more records and it all works beautifully.
Except for the very first time.
When I reposition the fields Omnis refuses to change the $top of my
entry field. The notation is correct, after the fact I can use the
notation inspector to change the $top and it works, the 2nd, 3rd, 4th,
10th, 100th time all work fine, but the very first time this logic runs
it fails each and every time.
I have made dozens of windows just like this without any problem.
It is frustrating the ….. out of me 🙂
Manage your list subscriptions at lists.omnis-dev.com