Hello,
if transform a readme files to a string with FileToString() command and i send to the log, i have some issues:
- sometime i have empty lines before the readme
- sometime i have nothing but the progress bar is small
- sometime i have first lines showed and the up of the next
A problem of text format ?
About the progress bar, when i move the vertical slider with mouse wheel, it go directly down of the file (i can't see all lines of the readme).
If i move the slider with the mouse directly is ok i can see all the readme lines.
Problem to show Readme file to a log box
Re: Problem to show Readme file to a log box
What is a "log box" ?
Can show some example loading and some small code?
Can show some example loading and some small code?
Christos
Re: Problem to show Readme file to a log box
This is screenshots for differents readme files:
The log box is the "Event logger" you can find in "demo" example in RAPAGUI examples.
the part of code is
The log box is the "Event logger" you can find in "demo" example in RAPAGUI examples.
the part of code is
Code: Select all
function p_showreadme()
readme$ = ram:readme.txt
text$ = filetostring(readme$)
p_log(text$)
Endfunction
function p_log(text$)
moai.domethod("log", "clear", text$)
moai.domethod("log", insert", bottom", text$)
Endfunction
[SOLVED] Problem to show Readme file to a log box
ok problem solved, i have replaced the logbox of the RAPAGUI "demo" by the Textbox of the Editor and work perfectly !
Re: Problem to show Readme file to a log box
ok this was a listview widget, which is not intended to display pure text so..
but you should provide some basic WORKING code to start understant its not possible to always guess what you have done wrong..
but you should provide some basic WORKING code to start understant its not possible to always guess what you have done wrong..
Christos
Re: Problem to show Readme file to a log box
Yes, i will try next time