Calendar.tooltip read/write property


Get or set the tooltip text that appears when the user moves the mouse over the Calendar, represented as a string value.
Set the property to an empty string to remove the tooltip message.

Example

local ui = require "ui" -- create a simple Window local win = ui.Window("Combobox.tooltip sample", "fixed",340, 180) local label = ui.Label(win, "Select an date : ", 10, 20) local cal = ui.Calendar(win, label.x+label.width+6) cal.tooltip ="Choose a date" win:show() -- update user interface repeat ui.update() until not win.visible