CalendarWidget
Charles Szasz
cszasz at mac.com
Mon Mar 26 22:21:25 EDT 2012
on mouseUp
if dialogdata is not empty
then
put item 2 of dialogdata into t
put "/" after t
put item 3 of dialogdata after t
put "/" after t
put item 1 of dialogdata into s
delete character 1 to 2 of s
put s after t
put t into field "date1" of stack "My app"
else
put the uMonth of group "calendarWidget" of card id 1002 into t
put "/" after t
put the uMonth of group "calendarWidget" of card id 1002 after t
put "/" after t
put the uYear of group "calendarWidget" of card id 1002 into s
delete character 1 to 2 of s
put s after t
put t into field "date1" of stack "My app"
end if
close this stack
end mouseUp
What changes do I need to make so calendarWidget 101 can insert dates in other fields?
Charles Szasz
cszasz at mac.com
More information about the use-livecode
mailing list