View previous topic :: View next topic |
Author |
Message |
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Thu Nov 06, 2003 6:43 am Post subject: Calendar DSU |
|
|
This DSU helps you add a Default Windows calendar element which is more feature-rich as compared to VDS calendar element. You can have different colored background, headings, fonts etc
Download here:
==========
http://www.vdsworld.com/index.php?page=download&fileid=362
The DSU uses VDSUG dll now. But after (or if) the VDS update is released then this can be done with pure VDS. _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
Serge Professional Member
Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Thu Nov 06, 2003 11:20 am Post subject: |
|
|
looks fantastic codescript...you are the man!!!
serge _________________
|
|
Back to top |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Nov 06, 2003 9:09 pm Post subject: |
|
|
!! !!
This is a TRULY EXCELLENT VDS EXAMPLE! I can't even put into
words how great this is! _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Fri Nov 07, 2003 2:34 am Post subject: |
|
|
Thanks for your ecncoragement
Quote: | ...you are the man!!! |
I just created an example out of the @LIB() and @UG() function provided by Jules and Mac So they are *the* men _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
jules Professional Member
Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Nov 07, 2003 12:03 pm Post subject: |
|
|
CodeScript wrote: | I just created an example out of the @LIB() and @UG() function provided by Jules and Mac So they are *the* men |
You are too modest! It takes genius to create something amazing from our basic foundations. I reckon CR should employ you to develop the next version of VDS! _________________ The Tech Pro
www.tech-pro.net |
|
Back to top |
|
|
arcray Valued Contributor
Joined: 13 Jul 2001 Posts: 242 Location: Aude, France
|
Posted: Wed Jun 23, 2004 8:36 am Post subject: |
|
|
Hello Codescript!
I have started using your DSU, and it is just what I was looking for!
However on compilation the compiler notes:-
Warning: Floating-point functions used with OPTION DECIMALSEP
Only a minor thing...
Andy _________________ Andrew GRAY
If you don't know I am looking for work, I won't get the job.
andrewrcgray.com |
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Wed Jun 23, 2004 5:15 pm Post subject: |
|
|
I will fix that and post sometime later. _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
GregLand Valued Contributor
Joined: 15 Jun 2004 Posts: 212 Location: FRANCE
|
Posted: Fri Oct 15, 2004 3:43 am Post subject: |
|
|
Hello everyboddy
I have a little problem...
I tried to put date in the calendar using this method :
Code: |
%%titre = "Test"
title %%titre
#INCLUDE calelm.dsu
DIALOG CREATE,%%titre,-1,0,631,496,CLASS Calendedw
%%Calend = @Calendar(Create,#Calendedw,100,272,auto,auto,WEEKNUMBERS)
dialog show
list create,1
list loadfile,1,@path(%0)date.txt
%%date = @item(1,0)
calendar setdate,%%Calend,%%date
list close,1
rem There is in the date.txt file the date i want witch is in the format 20,01,1979
:evloop
wait event
goto @event()
:close
exit
|
But unfortunately, the date is not modified in the calendar !
Do you know where is my error ?
Thanks for your answer... |
|
Back to top |
|
|
Skit3000 Admin Team
Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Fri Oct 15, 2004 7:02 am Post subject: |
|
|
Hi GregLand,
I think you know that VDS doesn't execute code which is between double quotes. The same principle counts for texts you load from external files. When loading a file which countains something like 12,12,2004, you should read it like this: "12,12,2004". That's why it doesn't work if you put all three values in one variable. You can change the next lines into the once below, after which it should work:
Code: | list create,1
list loadfile,1,@path(%0)date.txt
%%date = @item(1,0)
calendar setdate,%%Calend,%%date
list close,1 |
Code: | list create,1
list loadfile,1,@path(%0)date.txt
%%date = @item(1,0)
# The next line changes the "fieldseperator" into a comma
option fieldsep,","
# And this one uses the "fieldseperator" to parse all other values into
# different variables, after which you can use these to oad the setdate command
parse "%%month;%%day;%%year",%%date
calendar setdate,%%Calend,%%month,%%day,%%year
list close,1 |
_________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
Back to top |
|
|
GregLand Valued Contributor
Joined: 15 Jun 2004 Posts: 212 Location: FRANCE
|
Posted: Fri Oct 15, 2004 9:57 am Post subject: |
|
|
Very Good... It works Fine !
Thanks Skit3000 |
|
Back to top |
|
|
arcray Valued Contributor
Joined: 13 Jul 2001 Posts: 242 Location: Aude, France
|
Posted: Thu Feb 18, 2010 8:47 am Post subject: |
|
|
Been using this recently and it works very well. BUT one thing I noticed is that it breaks TRACING.
In other words if any calendar command/function is output to a TRACE file, the TRACE stops working at that point.
Not really a biggie, but thought you would want to know. _________________ Andrew GRAY
If you don't know I am looking for work, I won't get the job.
andrewrcgray.com |
|
Back to top |
|
|
uvedese Contributor
Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
Posted: Fri Jul 30, 2010 3:51 pm Post subject: |
|
|
Hi guys
I'm using calendar.dsu. It's great.
But... How I remove/hide/change position this calendar? ...
... From their ID? But, Why?
Thanks in advance.
______________
uVeDeSe
______________ |
|
Back to top |
|
|
uvedese Contributor
Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
Posted: Sat Jul 31, 2010 3:03 pm Post subject: |
|
|
OK!
Code: | window position,"%"%%calend,"top","left","width","height"
window close,"%"%%calend
window hide,"%"%%calend |
But it not works:
Code: | window activate,"%"%%calend |
And... Have you tried this?
Code: | window maximize,"%"%%calend |
Very funny
Bye.
______________
uVeDeSe
______________ |
|
Back to top |
|
|
arcray Valued Contributor
Joined: 13 Jul 2001 Posts: 242 Location: Aude, France
|
Posted: Thu Oct 21, 2010 3:39 pm Post subject: |
|
|
Ah! It breaks TRACING because it is a DSU. Has anyone got a DSC version? _________________ Andrew GRAY
If you don't know I am looking for work, I won't get the job.
andrewrcgray.com |
|
Back to top |
|
|
|