Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Click Event On and Off Scrollbar of Editbox?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Miscellaneous
Thread ID:
01405530
Message ID:
01405531
Views:
40
>Ok, it's Friday. I'm thinking about the weekend... mmmm maybe grill some steaks.....
>
>Anyway, I just can't seem to remember if I've run into this problem before but I can't seem to figure out how to do it.
>
>My problem is that I have code in the Click and Right Click events of an edit box that I don't want to fire when the scrollbar of the edit box is clicked. If I do a NODEFAULT then the scroll bar doesn't work. If I do a DO DEFAULT() then the scrollbar moves but my code fires too.
>
>This is probably just a "oh yeah, that's how you do it" but if anyone could refresh my memory I would greatly appreciate it!
>
>Thanks!

You can always simulate a click with MouseDown event if there are no better alternatives.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform