xsharp.eu • Disable output of Text/EndText to screen???
Page 1 of 1

Disable output of Text/EndText to screen???

Posted: Fri Sep 27, 2019 3:07 pm
by Anonymous
What setting will prevent Text/EndText from writing its output to the screen?

I'm sure X# is following some VFP behavior that I have turned off in VFP, and I need to know that to do in X# to turn it off there also??

.

Code: Select all

Local cName = "Matt"
Local cMessage As String
	
Text To cMessage Textmerge 
	
	Name Is <<cName>>
			
Endtext
	
? cMessage

Wait
2019-09-27_10-06-57.png
2019-09-27_10-06-57.png (9.05 KiB) Viewed 347 times

Disable output of Text/EndText to screen???

Posted: Fri Sep 27, 2019 3:34 pm
by atlopes
Matt, I usually issue TEXT with the NOSHOW clause. Also, a FLAGS 1 will prevent output being sent to whatever _TEXT file might be open.

Disable output of Text/EndText to screen???

Posted: Fri Sep 27, 2019 3:40 pm
by FoxProMatt
Grrrr... Indeed, all my FoxPro Text/EndText statements have NoShow in them because my keyboard template adds that automagically. But, when I typed Text/EndText manually in X# sample app, I did not add NoShow. This shows you how dependent we become on snipptet/code templates, and maybe even copy-paste...

Looks like I need to learn how to setup code snippets in VS for my VFP testing...

Regardless, yes, atlopes, NoShow does work in X#