Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any ideas how to do these UI features?
Message
De
06/09/2005 13:24:04
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
06/09/2005 13:17:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01046660
Message ID:
01047085
Vues:
16
Then I don't understand why the VFP homepage does not behave the same for you. Perhaps its your screen resolution? I'm running 1280 x 1024. If I reduce my browser's width from full screen, eventually I see horizontal scrollbars and the links stop "reflowing". Prior to that happening, the content in the middle of the page all rearrange!

Mike


>Yes, the UT resizes and repositions.
>
>
>>Hi Tracy,
>>
>>Really? How about the links and text in the threads above? What do they do when you resize the browser? In my IE, they all resize and readjust their vertical positions.
>>
>>Mike
>>
>>
>>>When I go to that website none of the objects resize. If I make the IE window small and drag the lower-right corner out, stil' nothing changes size. I only get the scrollbars but everything remains the same size and position.
>>>
>>>
>>>>Hi Bernard,
>>>>
>>>>I guess I didn't explain myself clearly. I am not at all surprised that you can make the textbox control resize as the container resizes. That's a pretty straight forward thing to do. My issue is as follows:
>>>>
>>>>To keep things simple lets say that I have two labels on a form. I put one label across the top. It is a very wide label (like a paragraph of text) so wordwrap is .T. and I anchor the left and right sides (anchor=10). I put the second label immediately below the first and it has the same settings (wordwrap, anchor) so that they do not overlay. In fact there is a small vertical gap between them.
>>>>
>>>>Now run this form. Resize it. What I see is the following:
>>>>
>>>>The two labels initially appear as expected, i.e. exactly as they looked when I designed them. However, when I resize the form, their widths resize ok, but, note how the top label begins to overlap the second label. The second label does not know that it should adjust it's top location "to get out of the way". I guess what I'm asking for is a way to anchor a control to another control at it's level (i.e. not a container).
>>>>
>>>>Take a look at the VFP homepage (http://msdn.microsoft.com/vfoxpro/). Note how the contents of the web page flow and readjust themselves as you resize the browser window. Objects do not overlap each other.
>>>>
>>>>Regards,
>>>>
>>>>Mike
>>>>
>>>>>
>>>>>Not sure if you want the controls to actually move about or resize, but in tests I have no problem with anchoring objects within a container.
>>>>>
>>>>>Test1:
>>>>>
>>>>>I created a new form, added a container and into the container I added a textbox. I made the anchor property of both = 15
>>>>>
>>>>>The object resizes when the form resizes.
>>>>>
>>>>>Test2:
>>>>>I created a class with a container and inserted a textbox. I set the Anchor of both the container and the textbox = 15. I had to set the Container manually and could set the textbox using the builder.
>>>>>
>>>>>I then dropped it on a form. Everything worked as it should.
>>>>>
>>>>>Maybe I don't fully understand what you mean?
>>>>>
>>>>>Bernard
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform