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
[email protected]
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode