Welcome, Guest
Please Login or Register.    Lost Password?

Event/task script
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Event/task script
#14935
Event/task script 3 Years, 4 Months ago  
i need a script that allows me edit and delete events/tasks.


I'm not know much about scripting, so if there's a manual for scripting, can anyone share it with me?
instigator
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#14936
Re: Event/task script 3 Years, 4 Months ago  
Rainlendar2 uses Lua programming language. You can see or learn about how to program one of this scripts with:
* www.lua.org/manual/5.1/
* www.lua.org/pil/index.html
* The Rainlendar2 help file
* Reading another skin already maded
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.
 
#15010
Re: Event/task script 3 Years, 4 Months ago  
Thanks for the links. I read it and right now, I finished the script for edit tasks/events. But i can't say the same for a script that delete events/tasks. So please, can you guide me?.
instigator
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#15027
Re: Event/task script 3 Years, 4 Months ago  
Can You paste your way how to edit task/events ? Let me know what you have done.
I have done the same job, and we can discuss.
My way:
edit task/events use Rainlendar_OpenDialog(dialog, param)
delete task/events use Rainlendar_DeleteComponent(Uid, [Calendar])
anoob
Platinum Boarder
Posts: 498
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
 
#15086
Re:Event/task script 3 Years, 4 Months ago  
Well, i already made the Lua function for delete.
Code:


function Delete_task(param)
  Rainlendar_DeleteComponent(param)
end


Code:


function Delete_event(param, strWindow)
    Rainlendar_DeleteComponent(param)
    Rainlendar_Redraw(1, strWindow)
end


and in the button code:
For events:action="Delete_event(#GUID#, '#WINDOW#')"
For tasks:action="Delete_task(#GUID#)"
Hope this may help someone.
instigator
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop