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 Bug ??

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Thu Nov 06, 2003 6:20 am    Post subject: Calendar Bug ?? Reply with quote

Calendar Bug ??

Visual DialogScript 5 Help wrote:
DIALOG ADD, CALENDAR,<name>,<top>,<left>,<width>,<height>,<value>,<hint>,<styles>

This dialog element creates a calendar at the position and size specified, setted to the date <value>.


But this one below seems to ignore the date which is set and instead selects the current date Confused
Is it just me OR ...

Code:
DIALOG ADD,CALENDAR,CALENDAR1,240,346,185,108,25/11/2003

_________________
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: Thu Nov 06, 2003 10:21 am    Post subject: Reply with quote

I have to say that I wasn't particularly conscious that VDS had a calendar element. I'd never looked at the code for it until now. This is what I discovered:

The only value you can supply when the element is created is a number 1 - 12, which sets the month. It's probably best not to set it here at all.

You can set the date using DIALOG SET. However, the format is fixed and must be mm/dd/yyyy where '/' must be either the system date separator or '|'.

I think I'd have preferred it to be set using the result of a @datetime() function...

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


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Thu Nov 06, 2003 1:20 pm    Post subject: Reply with quote

Code:
DIALOG ADD,CALENDAR,CALENDAR1,240,346,185,108,25/11/2003


The above date was entered by Dialog designer itself
(25/11/2003 was the current date Wink )
So I think the error in Dialog Designer and the documentaion
needs to be fixed.

Anyway I really doubt if I need this element anymore Wink

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports 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