XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently 2017年 Nov 19日 16:20

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Memo Bug
PostPosted: 2016年 Jul 25日 03:08 
Offline
User avatar

Joined: 2016年 Jul 24日 03:19
Posts: 9
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 72 times

_________________
My deviantart = http://adiim.deviantart.com


Last edited by Adiim on 2016年 Jul 28日 00:44, edited 2 times in total.
Top
 Profile  
 
 Post subject: Re: Memo Bug
PostPosted: 2016年 Jul 25日 06:29 
Offline
User avatar

Joined: 2012年 Dec 5日 17:52
Posts: 4555
I can't test it right now but using memo there is an option in the designer to auto save or not the text.

_________________
Image
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
 Post subject: Re: Memo Bug
PostPosted: 2016年 Jul 25日 07:20 
Offline
User avatar

Joined: 2016年 Jul 24日 03:19
Posts: 9
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 . . .

_________________
My deviantart = http://adiim.deviantart.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group