Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deactivate Popup
Message
From
09/11/2005 04:03:50
 
 
To
08/11/2005 21:53:32
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP3
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01066645
Message ID:
01066700
Views:
16
Hi,

Maybe better not to mix mouse tracking with Focus events.
Why not just use the MouseEnter and MouseLeave Events for this?
Regards,
Viv


>There are two command buttons on Form1.
>On the MouseMove event of command1, I use following codes
>
>this.setfocus
>LOCAL SELE1
>SELE1=0
>
>DEFINE POPUP ABC SHORTCUT RELATIVE FROM 8,77 to 14,109  TITLE 'I N P U T S'
>DEFINE BAR 1 OF ABC PROMPT '\<1- Receipt Voucher'FONT "Verdana",10 COLOR ,RGB(0,0,255,0,255,128)
>DEFINE BAR 2 OF ABC PROMPT '\<2- Payment Voucher'FONT "Verdana",10 COLOR ,RGB(0,0,255,0,255,128)
>DEFINE BAR 3 OF ABC PROMPT '\<3- Journal Voucher'FONT "Verdana",10 COLOR ,RGB(0,0,255,0,255,128)
>ON SELECT BAR 1 OF ABC SELE1 =1
>ON SELECT BAR 2 OF ABC SELE1 =2
>ON SELECT BAR 3 OF ABC SELE1 =3
>Activate POPUP ABC
>
>This work fine but I want when Mouse leaves the command1 then Popup Abc must disappear/deactivate.
>Next time when command1 get focus, through both Mouse or Keyboard, then popup ABC should appear again.
>
>Please Help
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform