Reading everyline from a TXT?

Just starting out? Need help? Post your questions and find answers here.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Can you post a link to the text file? Don't post the text - I need the raw file.
I may look like a mule, but I'm not a complete ass.
sharkbate24
User
User
Posts: 50
Joined: Sat Aug 30, 2008 3:21 pm

Post by sharkbate24 »

srod wrote:Can you post a link to the text file? Don't post the text - I need the raw file.
I changed the text box into an editor box, and it works fine, but how do I make an editor box read only?

Thanks.
[Registed PB User]
[Windows XP SP2 | PureBasic 4.20]
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

#PB_Editor_ReadOnly

Well it should work fine with a text gadget. I'd be interested in taking a look at the text file if possible.
I may look like a mule, but I'm not a complete ass.
sharkbate24
User
User
Posts: 50
Joined: Sat Aug 30, 2008 3:21 pm

Post by sharkbate24 »

srod wrote:#PB_Editor_ReadOnly

Well it should work fine with a text gadget. I'd be interested in taking a look at the text file if possible.
Got it, thanks.

The only content in the TXT file is:

Code: Select all

Product Name:

Update Version:

Comments:
Thanks.
[Registed PB User]
[Windows XP SP2 | PureBasic 4.20]
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

> The only content in the TXT file is:
well, no. there was more.
as you see, there are no boxes.

as srod said
Don't post the text - I need the raw file.
I bet there ARE different LineFeed chars in the file,
that are not recognized by the textgadget but by the editorgadget.

yout source textfile is created by another app, maybe in a format compatible to another OS.
oh... and have a nice day.
Post Reply