Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automatización del Resize.
Message
From
21/06/2001 08:31:59
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
21/06/2001 08:09:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00521824
Message ID:
00521835
Views:
17
>Como puedo hacer para que se mantenga el logo en su sitio indiferentemente del tamaño del monitor.
>Gracias por tu ayuda.

Digamos que el objeto logo se llama MyLogo.

En el evento Form.Resize(), debes cambiar la propiedad .Top y .Left del objeto. Usa las propiedades ThisForm.Height y ThisForm.MyLogo.Height para calcular la posición vertical exacta. Para la anchura, reemplaza por .Width.

No estoy seguro si Resize() se invoca automáticamente; en caso que no, debes invocarlo explícitamente desde Form.Init().

Si el usuario no puede redimensionar el Form, puedes poner todo en Form.Init().

Saludos, Hilmar Zonneveld.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform