Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Difficulty with Class declaration
Re: Difficulty with Class declaration [message #26132 is a reply to message #26131] Sun, 04 April 2010 18:01 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

brokndodge wrote on Sun, 04 April 2010 17:43

Next issue: try as I might, I'm having trouble with \n in a String. The newline sequence seems to be completely ignored. It's not showing up in the code, but it's also not resulting in a newline. I also tried crating my own popup window for this task with the same result.
String helpTxt= " CCI - Customer Called IN \n"
	" RMC - Returned my Call \n"
	"  NA - No Answer \n"
	"DC1,2,3,w - Phone 1,2,3,work Disconnected \n"
	"LM1,2,3,w  - Left Message on phone 1,2,3,work \n"
	"APPT - Set Appointment \(open appointment popup\) \n"
	"  AC - Appointment Confirmed \n"
	"  NS - Didn't Show for Appointment \n"
	"KEPT - Kept Appointment \n"
	"  NN - Enter New Note \n"
	"Find - Open Find Prospect Popup";
	
	//qnhelp.DoneButton.WhenAction = THISBACK(CallToStub); */
	
	PromptOK(helpTxt);

The above code results in:
Quote:


CCI - Customer Called IN RMC - Returned my Call NA - No Answer DC1,2,3,w - Phone 1,2,3,work Disconnected LM1,2,3,w - Left Message on phone 1,2,3,work APPT - Set Appointment (open appointment popup) AC - Appointment Confirmed NS - Didn't Show for Appointment KEPT - Kept Appointment NN - Enter New Note Find - Open Find Prospect Popup




Hi!
That is not a bug, that is a feature Wink PromptOK expects its argument to be QTF formated. You can find more info on the formating in documentation. If you want to show just a plain text, you can use
PromptOK(DeQtf(helpTxt));

Best regards,
Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem installing Upp under Ubuntu
Next Topic: My Custom Control not seen
Goto Forum:
  


Current Time: Sun Jun 02 19:37:17 CEST 2024

Total time taken to generate the page: 0.00862 seconds