Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disappearing circles
Message
From
17/08/2005 12:31:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Disappearing circles
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01041696
Message ID:
01041696
Views:
53
I have a large form with a map image on it. When the map is clicked, a messagege box opens and if the user response is 'Yes' a small circle is drawn at the coordinates of the click. All worked pretty good until I created the EXE. Now with every click of the mouse, the circles disappear. There is no 'Thisform.refresh' in the code. I created some 'refresh' code for a right click but the result is the same. The circles flash onto the form and then disappear.

Here is my refresh code (Which worked fine in the development stage)
Count To Locations

If Locations < 1
	Return
Endif

For SpotToRefresh = 1 To Locations
	Goto SpotToRefresh
*	X and Y are map coordinates
	XX = X
	YY = Y
	Thisform.Circle(12,XX,YY,1)
	If SpotToRefresh > 1
		Goto SpotToRefresh
	ENDIF
Next SpotToRefresh
Any idea what is causing this problem?
I ain't skeert of nuttin eh?
Yikes! What was that?
Next
Reply
Map
View

Click here to load this message in the networking platform