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 » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » PromtpOK("--");
PromtpOK("--"); [message #22915] Fri, 28 August 2009 14:13 Go to next message
g6b0r is currently offline  g6b0r
Messages: 11
Registered: August 2009
Promising Member
hello,

I found interesting behavior of PromptOK when the string contains -- or ++.
when -- is in the text then "Error: Not in table:" message appears on the message box.
when ++ is in the text then there is empty editbox on the message box.
Is this "normal"? or bug in the qt below TheIde?
(I have 1252 on win).

gabor
Re: PromtpOK("--"); [message #22920 is a reply to message #22915] Fri, 28 August 2009 19:44 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

g6b0r wrote on Fri, 28 August 2009 14:13

hello,

I found interesting behavior of PromptOK when the string contains -- or ++.
when -- is in the text then "Error: Not in table:" message appears on the message box.
when ++ is in the text then there is empty editbox on the message box.
Is this "normal"? or bug in the qt below TheIde?
(I have 1252 on win).

gabor


Hi gabor,
It's not a bug, it's a feature Wink PromptOK (and many other controls in U++) allows to use formated text in QTF format. In this format a lot of characters including + and - have some special meaning. If you want to type just ++ or -- you have to escape them by apostrophe:
PromptOK("Ultimate'+'+");
or escape whole group of characters using byte 1:
PromptOK("\1whatever--\1");

For more information about QTF see it's manual.
By the way: There is no qt below theide or u++ Wink
Re: PromtpOK("--"); [message #22921 is a reply to message #22920] Fri, 28 August 2009 21:59 Go to previous message
g6b0r is currently offline  g6b0r
Messages: 11
Registered: August 2009
Promising Member
thx!!!
Previous Topic: search in "HELP Topic" - Topic itselfs
Next Topic: Comment
Goto Forum:
  


Current Time: Fri Apr 19 11:55:01 CEST 2024

Total time taken to generate the page: 0.03508 seconds