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:
00765796
Vues:
20
Rex,
That occurred to me as well.

Have you tried using the MouseUp event? If the one in the control doesn't capture it would the form one work then set a flag that you where doing a resize? (or use the fact that the object is not visible).
HTH
Caroline

>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
Caroline
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform