Class
Lcalendar_window
Home
In: locana/l_calendar.rb
Parent: Lwindow

This creates a popup window with the calendar in it. It allows you put a calendar in your applets for selecting dates. It is based on the Lwindow class and uses the Lcalendar class.

Methods

include_objects, ipadx, ipady, on_enter_key, on_escape_key, open, otype, style, title, valid_attribute?,
Public Instance methods
valid_attribute?(attribute, lvalue=nil) src

Support the :include_time and :value attributes where :value is the date to open the window with.

ipadx() src

Defaults to 5.

ipady() src

Defaults to 5.

otype() src

The default is :modal.

title() src

The default is ‘Locana Calendar’.

style() src

The default is :calendar so this window pulls from the :calendar style and not the :calendar_window style.

include_objects() src

Adds objects needed by the popup calendar window.

open(start_date=nil, parent=nil) {|gCalendar.value| ...} src

Yields the selected date if a block is provided with the open.

on_enter_key(levent=nil, &block) src

Close the window and yield the selected date if a block was provided with the open.

on_escape_key(levent=nil, &block) src

Close the window.


Seva Software


Thank you for taking the time to visit this web page. I trust you found the information contained in this page useful.
Please email any questions, concerns, or issues with this web site to webmaster@sevasoftware.com.
Please remember Seva Software when your company would benefit from an experienced database architect and software engineer.

http://www.arunadb.org http://www.locana.org http://www.ruby-lang.org http://www.coolwell.org http://www.sevasoftware.com