XWidgetSoft Forum
https://www.bbs.xwidget.com/

Memo Bug
https://www.bbs.xwidget.com/viewtopic.php?f=3&t=6389
Page 1 of 1

Author:  Adiim [ July 25th, 2016, 3:08 am ]
Post subject:  Memo Bug

Guys i need your help, how to save a word with new line code '\n' on memo . . . ?

1a. when manually press enter on keyboard :
Image

1b. when use new line code :
Image

setValue on memo will be different :
Image

then restart xwidget from tray icon
Image

2a. 'test' word still available when use enter on keyboard :
Image

2b. but when use new line code, 'test' word will be gone . . . :shock:
Image

Attachments:
File comment: Press shift on memo to make new line
untitled.xwp [6.54 KiB]
Downloaded 264 times

Author:  Jimking [ July 25th, 2016, 6:29 am ]
Post subject:  Re: Memo Bug

I can't test it right now but using memo there is an option in the designer to auto save or not the text.

Author:  Adiim [ July 25th, 2016, 7:20 am ]
Post subject:  Re: Memo Bug

i already use that autosave option Jim, but everytime i use new line code '\n', the memo cant auto save it . . . :(
i try to save configuration with script code :

OnResize :
SetMemo("Save Memo", memo1.text)

OnLoad:
memo1.text = GetMemo("Save Memo". memo1.text)

still same, no one change, i think memo cant save a word with code "\n" on it . . .

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/