Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anchor for two editboxes
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01616840
Message ID:
01616970
Views:
35
>>>Hi Hugo,
>>>
>>>I may have found what is causing the problem I have with Anchor in Edit Boxes. My edit boxes are pretty "short"; the Height is 64.
>>>Your example uses edit box of height 200. If, in your example, I change the height of the edit boxes to 64, the anchor does not work correctly. That is, I see that the two edit boxes grow but NOT proportionally.
>>>Please, if you have time, test it and see if you get the same results.
>>>
>>>Thank you.
>>
>>Yes, you are right, you need to size the container to fit the editboxes as close as possible (I you have other objects in this container, then instead of putting this two editboxes directly in your container, put them in another container inside your container)
>
>You are right that placing "short" edit boxes into a container works. So now I have to redesign my UI to make this happen. I hope VFP 9 won't "break" when I have the following hierarchy: Form -> PageFrame -> Page -> Container 1 -> Container 2 -> edit boxes.
>Thank you.

It won't break, you will need to check the references though, if you were referencing form.pageframe.page.container.editbox1 you will need to change it to the new path, but other than that it should be not problem.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform