Hot Topic (More than 10 Replies) Pop up calendar (Read 13363 times)
wildwood
Full Member
***
Offline


No personal text

Posts: 156
Location: New York
Joined: Apr 2nd, 2004
Pop up calendar
Jan 15th, 2005 at 10:36pm
Print Post Print Post  
Saw a very useful pop up calendar in the  sesame season's application. Is it a purchase only facit or can one obtain the programming for it here?

Peter
  
Back to top
 
IP Logged
 
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Re: Pop up calendar
Reply #1 - Jan 16th, 2005 at 12:21am
Print Post Print Post  
See page 19 of Supplement 1.1

@calendar

It is one of the new Sbasic functions and commands

  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
SpencerWulwick
Senior Member
Members
*****
Offline



Posts: 677
Location: Wilton Manors, Florida
Joined: Jan 16th, 2005
Re: Pop up calendar
Reply #2 - Jan 22nd, 2005 at 5:59pm
Print Post Print Post  
I can't find the .dsr for Sesame Seasons to see how to use @calendar.  That creates 2 questions:

1)  Should I be able to open SesameSeasons.dsr?

2)  If not, how do you use @calendar?
  

- Spencer

    ** Practice random kindness & senseless acts of beauty!
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Pop up calendar
Reply #3 - Jan 22nd, 2005 at 6:31pm
Print Post Print Post  
Open Sesame Designer.
Click Open File
Point to Sesame Seasons and Sdesigner will create the DSR files for you.
(Or in Sesame Runtime, select 'Redesign current application')

Also, be sure to read the programming supplement that shows how to use it. You can download it from www.lantica.com


Steve
  
Back to top
IP Logged
 
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Re: Pop up calendar
Reply #4 - Jan 22nd, 2005 at 6:31pm
Print Post Print Post  
To create a dsr file from Sesame Seasons database

Open Sdesigner
click on file on top menu bar
click  application
select Sesameseasons.db
It will then ask you to name the dsr
Name it sesameseasons
Now you have the dsr file

To use the calendar  just use the @calendar command on  page 19 of Supplement 1.1


P.S. Spencer your Q&A help database has been one of my most valued tools over the years. I always wanted to say thanks but never new how. So THANK  YOU
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
SpencerWulwick
Senior Member
Members
*****
Offline



Posts: 677
Location: Wilton Manors, Florida
Joined: Jan 16th, 2005
Re: Pop up calendar
Reply #5 - Jan 22nd, 2005 at 6:52pm
Print Post Print Post  
Thanks for the helpful info; I hadn't realized you could create (or recreate, if necessary) a dsr file from the db file.

Apparently there was a manual supplement that I am not aware of.   Can it be downloaded from the web-site?  If so, would appreciate the link.

Thanks!
  

- Spencer

    ** Practice random kindness & senseless acts of beauty!
Back to top
IP Logged
 
wildwood
Full Member
***
Offline


No personal text

Posts: 156
Location: New York
Joined: Apr 2nd, 2004
Re: Pop up calendar
Reply #6 - Jan 22nd, 2005 at 6:58pm
Print Post Print Post  
I was interested if it is possible to merely have the popup calendar just popup in an application without placing a "date" in one of the fields. Basically need it to view a future date, near one of my date elements and not place it. Just as a reference. I have just such an application on my desktop but prefer it to come within sesame and after viewing the necessary date to "X" it out. Also when I installed it it came up without the "X" on the top taskbar next to the name of the calendar.

Peter
  
Back to top
 
IP Logged
 
SpencerWulwick
Senior Member
Members
*****
Offline



Posts: 677
Location: Wilton Manors, Florida
Joined: Jan 16th, 2005
Re: Pop up calendar
Reply #7 - Jan 22nd, 2005 at 7:05pm
Print Post Print Post  
I see that I need to read replies more carefully.  I was so anxious to get to the "solution" part, that I missed some other info.

First,  I do see the reference to www.Lantica.com; however, I could still not find a manual supplement that could be downloaded.  So, I would still appreiate a specific link if someone would be kind enough to provide it.

Next, I just saw your "thank you" (Bob Scott) and I truly appreciate the feedback.

Who knows, perhaps I'll work on something similar for Sesame.  Open Sesame perhaps?   Cheesy
  

- Spencer

    ** Practice random kindness & senseless acts of beauty!
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Pop up calendar
Reply #8 - Jan 22nd, 2005 at 7:08pm
Print Post Print Post  
Here's a link to the thread covering the release of 1.1

http://www.lantica.com/Forum2/cgi-bin/yabb/YaBB.pl?board=gen_disc;action=display...



  
Back to top
IP Logged
 
SpencerWulwick
Senior Member
Members
*****
Offline



Posts: 677
Location: Wilton Manors, Florida
Joined: Jan 16th, 2005
Re: Pop up calendar
Reply #9 - Jan 22nd, 2005 at 7:13pm
Print Post Print Post  
WOW!  I'm impressed.  I barely got back to playing with Sesame, and already an answer was posted.  The manual supplent (along with Sesame's menu structure) is being printed as I type.  Thanks much.
  

- Spencer

    ** Practice random kindness & senseless acts of beauty!
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Pop up calendar
Reply #10 - Jan 22nd, 2005 at 7:29pm
Print Post Print Post  
Peter,

I'm seeing the same thing. There is no 'X' to close the calendar. It looks like once the calendar is called, the user is forced to select a date or press Escape. I think that pressing Escape on the keyboard should return "" to the variable, but for some reason I'm getting strange numbers returned when I press escape. Probably bad programming.

Here's an untested example:

var vdate as string

vdate = @calendar(@date,"Heres a calendar to view")
if vdate = "" then MyElementName = "X"

Let us know how you do.

Steve
  
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Pop up calendar
Reply #11 - Jan 22nd, 2005 at 7:59pm
Print Post Print Post  
Quote:
Who knows, perhaps I'll work on something similar for Sesame.  Open Sesame perhaps?
Spencer, I may have saved you some time. 

I just sent you an email with Q&AnswerMan in Sesame attached.  It was one of the first Q&A applications I converted into Sesame.  Had no contact info for you, so I could not get your approval for distribution. 

Hope this helps....
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
wildwood
Full Member
***
Offline


No personal text

Posts: 156
Location: New York
Joined: Apr 2nd, 2004
Re: Pop up calendar
Reply #12 - Jan 22nd, 2005 at 8:37pm
Print Post Print Post  
Hey Steve,
Thanks!!!!
Your @calendar programming did the trick. I get it to pop up right before I insert the date on any new record, to reference it, and bassically just click on any date and its disappears. Works about the same as if I hit an X to exit.

Peter
  
Back to top
 
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Pop up calendar
Reply #13 - Jan 22nd, 2005 at 9:34pm
Print Post Print Post  
Peter,

Glad to hear it!  Smiley

Steve
  
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Pop up calendar
Reply #14 - Jan 22nd, 2005 at 9:47pm
Print Post Print Post  
Quote:
Peter,

I'm seeing the same thing. There is no 'X' to close the calendar. It looks like once the calendar is called, the user is forced to select a date or press Escape. I think that pressing Escape on the keyboard should return "" to the variable, but for some reason I'm getting strange numbers returned when I press escape. Probably bad programming.

Here's an untested example:

var vdate as string

vdate = @calendar(@date,"Heres a calendar to view")
if vdate = "" then MyElementName = "X"

Let us know how you do.

Steve


Check with @error before using the value returned from @Calendar. It gets set if the user exits the dialog without picking a date.
Code
Select All
var vdate as string
var MyDate as date

vdate = @Calendar(@Date, "here is a calendar to view")
if(not @error)
{
    MyDate = vdate
}
 




  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged