Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
?? chr(7) and Command button pictures
Message
De
18/03/1999 14:14:40
 
 
À
18/03/1999 13:38:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00198543
Message ID:
00199389
Vues:
21
>>>>Whenever I execute a ?? chr(7) my pictures in my command buttons jump when the button is down. Is there a fix for this.
>>>>
>>>>TIA
>>>
>>>To re-create the problem just create a simple form with a command button. Select any bmp in the command button picture and in the command button click event put ?? chr(7). Now run the form and after the first click on the button click it again and notice that the picture moves up while it is selected. It seems that the chr(7) is printing a blank line below the bmp.
>>>
>>>What is the problem,
>>>
>>>TIA
>>
>>If you blank the .Caption property, it won't do this.
>
>
>What if you want the caption? I guess I'm out of luck
>
>Thanks
>
>Claude

Erik gave you one possible work-around. Another would be to use the API to ring the bell. Sorry, I'm not sure how that would be done, maybe someone else could help there.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform