Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anchor for two editboxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01616840
Message ID:
01616971
Vues:
22
>>>>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.

Yes, I am checking all the references now. No customer would understand "why" I had to spend so many hours getting to this solution.
Thank you.
"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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform