Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scrolling pictures on buttons
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00616168
Message ID:
00616438
Vues:
25
I figured out what is causing the problem and it MUST be a bug because I certainly don't consider this a feature. The pictures stay on the button and work fine UNTIL the following line of code is executed.
?? CHR(7)
Once the "beep" is executed, the pictures start scrolling off the buttons whenever you press them!!

Cathy


We do not encounter this problem with our apps runnning on VFP6 and VFP7 because we use the Platform SDK (WinAPI) function MessageBeep:
Declare Long MessageBeep IN USER32.DLL ;
	Long uType		&& sound type

=MessageBeep(-1)                && Beep through the speaker

* Other possibilities for MessageBeep parameter are:

* SystemAsterisk 
#define MB_ICONASTERISK 0x40
* SystemExclamation 
#define MB_ICONEXCLAMATION 0x30
* SystemHand 
#define MB_ICONHAND 0x10
* SystemQuestion 
#define MB_ICONQUESTION 0x20
* SystemDefault 
#define MB_OK 0
HTH
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform