Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: Form Des. repeat SelectAll,Copy,Paste can stop save
Message
From
22/10/2005 10:46:13
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Title:
BUG: Form Des. repeat SelectAll,Copy,Paste can stop save
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01061395
Message ID:
01061395
Views:
42
Observed:
if on Form Designer,
the sequence SelectAll,Copy,Paste is used more times,
when the number of objects overcomes a certain value,
it becomes impossible to save the form.

Repro:
ON ERROR 
ERASE "testform$$$$$$.scx"
CREATE FORM testform$$$$$$ NOWAIT
ASELOBJ(aDesign,1)
aDesign[1].AddObject("CONTAINER1","Container")
SAVEFORM()

MODIFY FORM testform$$$$$$ NOWAIT
FOR K=1 TO 4 && with 3 all is ok
	COPYALLPASTE()
NEXT
* THE BUG: a Record out of range
SAVEFORM()


PROCEDURE COPYALLPASTE
	ACTIVATE WINDOW "FORM DESIGNER - testform$$$$$$.scx"
	KEYBOARD '{CTRL+A}'
	DOEVENTS && select all
	ACTIVATE WINDOW "FORM DESIGNER - testform$$$$$$.scx"
	KEYBOARD '{CTRL+C}'
	DOEVENTS && copy
	ACTIVATE WINDOW "FORM DESIGNER - testform$$$$$$.scx"
	KEYBOARD '{CTRL+V}'
	DOEVENTS && paste

PROCEDURE SAVEFORM
	ACTIVATE WINDOW "FORM DESIGNER - testform$$$$$$.scx"
	KEYBOARD '{CTRL+S}' 
	DOEVENTS && save
	RELEASE WINDOWS (WONTOP())
Reply
Map
View

Click here to load this message in the networking platform