Welcome, Guest
Please Login or Register.    Lost Password?

[Solved] Right_click Menu work ?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: [Solved] Right_click Menu work ?
#13840
[Solved] Right_click Menu work ? 3 Years, 9 Months ago  
I make a skin,
if i use button to change month, it's work good,
but, if i use right_clock menu to change month, it's not work correct, like this:

what can i do to make right_click menu work correct?
have any idea?
thk!!

language:Traditional Chinese
my skin is this:
File Attachment:
File Name: LunarCal.zip
File Size: 107708
anoob
Platinum Boarder
Posts: 500
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: TaiChung, Taiwan, R.O.C. Birthday: 02/12
Last Edit: 2014/07/31 21:31 By anoob.
The administrator has disabled public write access.
I couldn't speak English! This skin released to Customize.org(Do you want it? Click Picture) Please contact me if interested: jhg5702@gmail.com
 
#13841
Re:Right_click Menu work 3 Years, 9 Months ago  
If understand you what you're saying is that the text below the days doesn't move with the days (for each month, of course) ?

If that's right, when i click on the arrow buttons the text doesn't move either.

I had some similar problem with another skin. The fact is that you're calling the function allstart() when the window initialize and this only ocurrs when create. When you change the month allstart() isn't called.

You need to:
* add in Initialize Rainlendar_SetEventHandler(allstart, 13, window) to call allstart()
* you can now remove allstart() in Initialize.
* Erase the Rainlendar_Redraw(1) in allstart() because if you don't the CPU will be forever in a redraw circle.

Hope this helps you.
Jorge_Luis
Platinum Boarder
Posts: 792
graphgraph
User Offline Click here to see the profile of this user
Gender: Male My Rainlendar Skins Location: Argentina Birthday: 03/15
The administrator has disabled public write access.
 
#13843
Re:Right_click Menu work 3 Years, 9 Months ago  
Jorge_Luis wrote:
If understand you what you're saying is that the text below the days doesn't move with the days (for each month, of course) ?
that's right.

If that's right, when i click on the arrow buttons the text doesn't move either.
first, I'm sorry.
I once modified "../Rainlendar2/scripts/months.lua" file,
so, the attach file is not whole.

You need to:
* add in Initialize Rainlendar_SetEventHandler(allstart, 13, window) to call allstart()
* you can now remove allstart() in Initialize.
* Erase the Rainlendar_Redraw(1) in allstart() because if you don't the CPU will be forever in a redraw circle.

Hope this helps you.

It's really helpful, problem solved.
Thank your answer.
anoob
Platinum Boarder
Posts: 500
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: TaiChung, Taiwan, R.O.C. Birthday: 02/12
The administrator has disabled public write access.
I couldn't speak English! This skin released to Customize.org(Do you want it? Click Picture) Please contact me if interested: jhg5702@gmail.com
 
#13845
Re:Right_click Menu work 3 Years, 9 Months ago  
Its good to know that finally works.

I don't know Chinese, but some words in the skin gave me the idea that is something related to the moon. Then i though, why not a moon calendar in every day of the month?

This is the beginning of a new skin...
Jorge_Luis
Platinum Boarder
Posts: 792
graphgraph
User Offline Click here to see the profile of this user
Gender: Male My Rainlendar Skins Location: Argentina Birthday: 03/15
The administrator has disabled public write access.
 
#13846
Re:Right_click Menu work 3 Years, 9 Months ago  
To Jorge_Luis:

Your idea is correct.
The text map moon phase.
such as 15th is full moon.
In Chinese, use text to show usually.

thx again.
anoob
Platinum Boarder
Posts: 500
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: TaiChung, Taiwan, R.O.C. Birthday: 02/12
Last Edit: 2011/07/06 04:16 By anoob.
The administrator has disabled public write access.
I couldn't speak English! This skin released to Customize.org(Do you want it? Click Picture) Please contact me if interested: jhg5702@gmail.com
 
Go to topPage: 1
get the latest posts directly to your desktop