Hello.
Thanks to you I can read a text file. But now here is another problem
The text of the label is set in the properties. The text of the field is read from a file. The font is the same in both ("system").
I can display the file in any other app without problem (Windows or Android).
I think that LiveCode doesn't like me
Thanks for help.
Problem with text displaying
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: Problem with text displaying
Hi,
Glad to know you can open and read a file.
It seems your need to decode your file.
I never did something for androïd but I met similar problems on iOS and for exchanges between OS X and Windows.
Fortunately, LiveCode forum help us.
Best regards
Jean-Marc
Glad to know you can open and read a file.
It seems your need to decode your file.
I never did something for androïd but I met similar problems on iOS and for exchanges between OS X and Windows.
Fortunately, LiveCode forum help us.
Best regards
Jean-Marc
https://alternatic.ch
Re: Problem with text displaying
Strange. I display my file in a data grid, and it's ok ! I don't understand why.
I didn't change anything else.
I didn't change anything else.
Re: Problem with text displaying
It looks to me like the 'file' is in csv format? "System" I believe uses the fonts that your system is set to display for various objects (differences vary from os to os). Whether you are using Windows, Mac, or Linux, title-bars, labels, buttons, and text fields in particular display slightly differently depending on the 'theme' the os is using, unless you have changed your system settings. The data grid top line is more likely to be displaying the same as a text field I believe, not a label.
Re: Problem with text displaying
The problem is how you load the text in the field. See http://livecode.wikia.com/wiki/TextDecode
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w