Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_screen object
Message
From
14/03/2017 09:01:18
 
 
To
14/03/2017 07:06:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01649000
Message ID:
01649032
Views:
53
Thanks Tamar!
Even for top level form the commands ? and ?? work exclusively if form.scrollbars=0 (not 1,2,3)
if form.scrollbars=0 the results are output on the form exactly as _screen (troncated).
this is a test (can change form.scrollbars in code).
Publi oform
oform=Newobject("asup")
oform.Show
Read Events
Retu
*
Define Class asup As Form
	Top = 75
	Left = 381
	Height = 303
	Width = 390
	ShowWindow = 2
	scrollbars=0     &&1,2,3 dont work !
	Caption = "Form1"
	Name = "form1"

	Add Object command1 As CommandButton With ;
		Top = 48, ;
		Left = 228, ;
		Height = 37, ;
		Width = 132, ;
		FontBold = .T., ;
		Caption = "? and ?? commands", ;
		MousePointer = 15, ;
		Name = "Command1"

	Procedure Destroy
	Clea Events
	Endproc

	Procedure command1.Click
	For i=1 To 500
		?i
		?? Cos(i)
	Endfor
	Endproc

Enddefine
*
*-- EndDefine: asup
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform