Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Box causes C5 error
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00720810
Message ID:
00720871
Views:
10
>When you add a grid box to a form and set the "MousePointer" to a non default value and then run the form you get a C0000005 error when you move the mouse over the grid control.
>
>Steps to reproduce:
>
>1. Create a blank form
>2. Add a grid control
>3. Set the grid MousePointer = 1
>4. Use any table so that the grid will show data.
>5. Run the form
>6. Wave your mouse around on the grid control for a few seconds.
>
>You should get the C5 error within about 10 seconds or so.
>
>Tested on Windows XP Pro with and without SP1.

No repro here: have you tried turning your video acceleration off?
USE HOME(1) + "labels"
lox = CREATEOBJECT("Form")

lox.AddObject("Grid", "grid")
lox.Grid.Visible = .t.
lox.Grid.MousePointer = 1

lox.AlwaysOnTop = .T.
lox.Visible = .t.

DO WHILE .T.
	MOUSE CLICK AT MROW() + 1, MCOL() + 1
	MOUSE CLICK AT MROW() - 1, MCOL() - 1
	doevents
ENDdo
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform