Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scrolling pictures on buttons
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00616168
Message ID:
00616438
Views:
23
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!

Previous
Reply
Map
View

Click here to load this message in the networking platform