Guidance
指路人
g.yi.org
Guidance Forums
/
Rapid-Q Basic
/ RichEdit problem
最新
搜索
论坛
Reginald Rexx
STC(宏晶)单片机与电路设计
wxWidgets (wxWindows) in C++
奇瑞QQ车友论坛
生活信息交流与学习角
质量与可靠性
Rapid-Q Basic
FreeBasic
Reginald
Forum
Examples
RapidQ
Forum
Bugs
Examples
Resource
RQ Doc
RQ Intro
System
LeonAutoBackup
Home
Software
App
Lib
RapidQ
Reginald
Upload
Chrononet
回顶部
⇑
Forum List
•
Thread List
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
1.
RichEdit problem
#756
Posted by:
2003-01-28 08:52:35
I'm fairly new to Rapid-Q and to a lesser extent to programming as well.
Anyway, on to my problem...
I have a QRICHEDIT on a form. It is there to display formatted text: verses from the New Testament one verse at a time.
I also have a text file. It contains, you may have guessed, the New Testament: one verse per line.
My program will search the file for the verse selected by the user in three ComboBoxes--but I digress.
My immediate problem is that I can't seem to get a single verse to display in the RichEdit. I can get the entire file in with:
MyRichEdit.LoadFromFile("MyTextFile.txt") but that's not what I want.
I'm sure there must be a way, and I'm sure that someone here knows how to do it.
Please help me.
Craig
2.
QFileStream
#757
Posted by:
guidance
2003-01-28 09:43:10
QFileStream has ReadLine method:
http://h.ods.org/_scripts/file.php?f=2439&r=2330
Tutorial:
http://h.ods.org/_scripts/file.php?f=2190&r=2330
Forum List
•
Thread List
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
掌柜推荐
¥490.00
TMM-R80-BM指针式柴油机发动机转速表可接发电机、Mini-Gen带背光
¥748.00
D2H-3C-70双向齿轮转速传感器非接触式有源3线正反转识别法兰耐压
¥810.00
SRE-PD1N智能速度继电器转速监控NAMUR输入接口带方波脉冲输出
¥289.00
双福N1H-3C-70齿轮转速传感器M16*1.5长70发电机测速免磁铁全螺纹
¥388.00
双福N1R-6C-70细齿轮转速传感器M14*1长70有源3线非接触测速推挽
¥660.00
TOM-R80-BI背光指针式温度表1000度双通道80mm可定制刻度厂家直销
©
Fri 2024-5-3
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0