forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Calendar DSU

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Units
View previous topic :: View next topic  
Author Message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1054
Location: India

PostPosted: Thu Nov 06, 2003 6:43 am    Post subject: Calendar DSU Reply with quote

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
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Thu Nov 06, 2003 11:20 am    Post subject: Reply with quote

looks fantastic codescript...you are the man!!!

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Nov 06, 2003 9:09 pm    Post subject: Reply with quote

!! Shocked !!

This is a TRULY EXCELLENT VDS EXAMPLE! Very Happy Thumbs Up I can't even put into
words how great this is! Very Happy

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1054
Location: India

PostPosted: Fri Nov 07, 2003 2:34 am    Post subject: Reply with quote

Thanks for your ecncoragement Smile

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 Smile

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Fri Nov 07, 2003 12:03 pm    Post subject: Reply with quote

CodeScript wrote:
I just created an example out of the @LIB() and @UG() function provided by Jules and Mac So they are *the* men Smile


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! Very Happy

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Wed Jun 23, 2004 8:36 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1054
Location: India

PostPosted: Wed Jun 23, 2004 5:15 pm    Post subject: Reply with quote

I will fix that and post sometime later.
_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
GregLand
Contributor
Contributor


Joined: 15 Jun 2004
Posts: 156
Location: FRANCE

PostPosted: Fri Oct 15, 2004 3:43 am    Post subject: Reply with quote

Hello everyboddy Very Happy
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 ! Shocked
Do you know where is my error ?

Thanks for your answer...
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Fri Oct 15, 2004 7:02 am    Post subject: Reply with quote

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
View user's profile Send private message
GregLand
Contributor
Contributor


Joined: 15 Jun 2004
Posts: 156
Location: FRANCE

PostPosted: Fri Oct 15, 2004 9:57 am    Post subject: Reply with quote

Very Good... It works Fine ! Very Happy

Thanks Skit3000 Wink
Back to top
View user's profile Send private message Visit poster's website
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Thu Feb 18, 2010 8:47 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
uvedese
Contributor
Contributor


Joined: 21 Jan 2006
Posts: 159
Location: Spain

PostPosted: Fri Jul 30, 2010 3:51 pm    Post subject: Reply with quote

Hi guys Very Happy

I'm using calendar.dsu. It's great.

But... Rolling Eyes How I remove/hide/change position this calendar? Question Question Question ...

... From their ID? But, Why?

Thanks in advance.

______________

uVeDeSe
______________
Back to top
View user's profile Send private message Visit poster's website
uvedese
Contributor
Contributor


Joined: 21 Jan 2006
Posts: 159
Location: Spain

PostPosted: Sat Jul 31, 2010 3:03 pm    Post subject: Reply with quote

OK!

Code:
  window position,"%"%%calend,"top","left","width","height"
  window close,"%"%%calend
  window hide,"%"%%calend


But it not works:

Code:
  window activate,"%"%%calend


And... Very Happy Very Happy Very Happy Have you tried this?

Code:
  window maximize,"%"%%calend


Very funny Razz Laughing Laughing

Bye.

______________

uVeDeSe
______________
Back to top
View user's profile Send private message Visit poster's website
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Thu Oct 21, 2010 3:39 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Units All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group