XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently May 7th, 2025, 12:00 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Word warp for edit???
PostPosted: May 11th, 2014, 2:30 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
If I remember well there was the "Word Warp" function for the text when you use the "edit" component...
Was removed on the last version...? :?
IS VERY IMPORTANT AND A MUST HAVE FUNCTION!

Edit: Tested and works manually pressing the "Enter" to change line.

This works only on the Designer but when debug/run widget, the Enter doesn't work! :idea:

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


Top
 Profile  
 
PostPosted: May 11th, 2014, 6:02 pm 
Offline
User avatar

Joined: June 10th, 2012, 5:57 am
Posts: 313
word wrap is a function of memo component.
edit component never has it.


Top
 Profile  
 
PostPosted: May 12th, 2014, 2:02 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Damm you're right..!!!
Anyway, a word warp for the edit I think that is necessary too..

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


Top
 Profile  
 
PostPosted: May 12th, 2014, 2:36 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
BUT WHY the "OnChange" tag is missing from the "memo"...?????!!!!! :shock: :|

Is there a way though a custom script to reproduce this function but for memo?

Quote:
function edit1OnChange(Sender)
{
if(edit1.Text)
{
image1.visible=true;
}
else
{
image1.visible=false;
}
}

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


Top
 Profile  
 
PostPosted: May 12th, 2014, 3:19 am 
Offline
User avatar

Joined: June 10th, 2012, 5:57 am
Posts: 313
you can replace onchange with onkeydown.


Top
 Profile  
 
PostPosted: May 12th, 2014, 3:44 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Thanks mate! Works ok :mrgreen:

Quote:
function memo1OnKeyDown(Sender)
{
if(memo1.Text)
{
image1.visible=true;
}
else
{
image1.visible=false;
}
}



What about a "save ini" function? I need that the image will stay on after the reload of the widget (the image appears when the memo contains text) . After reload the memo is saved but the image disappears..

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


Top
 Profile  
 
PostPosted: May 12th, 2014, 4:53 am 
Offline
User avatar

Joined: June 10th, 2012, 5:57 am
Posts: 313
it's not easy to save the information.
since we have to save the date together.
and when we change month in calendar and click one day,we have to choose which memo and which info to display.
it's harder than you think.
so,i would like to help you next week.


Top
 Profile  
 
PostPosted: May 12th, 2014, 5:09 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
I see... :(
I used a simple way to show/hide the images with the corrisponding memo and this works ok.
The hard part is that we have the months that are changing but the images are steady...
If there are steady images and texts will be easy..
Anyway I will wait for your help when you will have some free time.. Thank you!

Of course meanwhile, if someone else can help us is welcome! :roll:

I'm will replacing the "edit" components "memos" and I will attach the widget here..

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


Top
 Profile  
 
PostPosted: May 12th, 2014, 10:13 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Here is the widget with memo instead of edit components.
- Double click on each date to slide in/out the memo panel for the corrisponding date.
- Click on the "Today" to go to today.


Attachments:
transparent_ice_calendar.xwp [259.59 KiB]
Downloaded 410 times

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/
Top
 Profile  
 
PostPosted: May 20th, 2014, 2:25 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Any help guys? :(
It will be awesome with it, but if it's really hard to add the extra note function for each day, I will remove this mode adding just a single generic note panel...
So please confirm..

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


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

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 34 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