Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image Control and Form Resizing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00765283
Message ID:
00765649
Vues:
24
Hi Caroline,

Thank you for taking the time to reply.

Yes, the control does have a visible property and using this would be perfect, however the trick is knowing when to turn it off and on. For example, I can set the ocx.image.visible = .F. as the first line of the resize method. However, at what point is the resize event completed so that I can ocx.image.visible = .T.?

This is probably a simple question that requires some understanding of when the method has completed its work.

Regards...Rex

>>Hi,
>>
>>I have a form containing an image ocx which I have designed to resize in line with the resizing of the form. However, due to the size of the image, there seems to be a delay with redrawing the image when the form is resized which can be very annoying to the user.
>>
>>What I would like to know, is there a way of hiding the image during the form resize process, then redisplay it with the new size when the resize is completed?
>>
>>Any assistance or ideas would be appreciated.
>Rex,
>Does the control have a Visible property?
>
>Another option would be to replace the displayed image with a standard low resolution resizing image then replace it with the correct image at the end of the resize process.
>HTH
Rex Toomey
ISD Port Macquarie NSW
Australia

'Inside every older person is a younger person wondering what happened.'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform