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
•
Reply
•
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
•
Reply
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
掌柜推荐
¥1,580.00
SDE-AE2H-AC CRS18差动转速速度继电器超欠速差速报警20mA电流
¥271.00
N1H-5A-35转速传感器速度探头霍尔齿轮测速M18*1.5超短双福
¥1,170.00
SRE-AD2H-AC智能速度继电器20mA转速电流变送器显示转速监控模块
¥477.00
双福D1H-5A-44双向齿轮传感器M18*1.5转速正反转识别非接触式霍尔
¥840.00
双福SRE-AD0H转速脉冲频率电流电压模拟量变送器模块4~20mA带显示
¥1,580.00
DMM-R100-BV双向转速表背光指针式正反转船用尾轴转速表孔径102
©
Thu 2025-5-8
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0