Guidance
指路人
g.yi.org
Guidance Forums / Rapid-Q Basic / printing QRICHEDIT problem!

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. printing QRICHEDIT problem!
#641
Posted by: 2002-11-06 22:18:11
when I set at QRICHEDIT wanttabs=true it prints this kind of
rectangle 

how can I avoid this?
Message2. Re: printing QRICHEDIT problem!
#647
Posted by: guidance 2002-11-07 10:46:19
REPLACESUBSTR$ helps?
Message3. Re: printing QRICHEDIT problem!
#648
Posted by: 2002-11-07 16:40:26
thanx for reply

works well with letters:
Text1.text= REPLACESUBSTR$(Text1.text, "c", "x")
but
Text1.text= REPLACESUBSTR$(Text1.text,CHR$(???),"    ")

what do you suggest I should insert instead of ???
CHR$(11) = horizontal tab but doesn't work
Message4. Re: printing QRICHEDIT problem!
#650
Posted by: guidance 2002-11-07 18:43:24
Try:
 $escapechars on
 Text1.text=REPLACESUBSTR$(Text1.text, "t","    ")

Have you confirmed it is indeed tab character?

s=text1.text
for i=1 to len(s)
 ? asc(mid$(s,i,1))
next
Message5. Re: printing QRICHEDIT problem!
#651
Posted by: 2002-11-07 19:58:29
I see why guidance = guidance

your're right

I red the wrong colum on my ascii-table; CHR$(11) was wrong
11 = the okt. not the dez.-value for horz. tab = CHR$(9)

brrrrrrrrrrrrrrrrrrrrrrr

first example with $escapechars on works as well

second one not checked

thanx again
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Mon 2022-12-5  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0