on mouseUp get day/month

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
appsurd
Posts: 10
Joined: Wed Sep 29, 2010 7:50 pm

on mouseUp get day/month

Post by appsurd » Wed Sep 29, 2010 8:03 pm

Hi Guys!

I am looking to create an on mouseUp event that gets the current day/month. How can I do that?

Thank you in advance.

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: on mouseUp get day/month

Post by Klaus » Wed Sep 29, 2010 8:11 pm

Hi appsurd,

ONE thread for a topic is enough, agreed?
Good :D

Code: Select all

on mouseup
  answer the date
end mouseup
See "date" and "itemdelimiter" in the docs (Rev Dictionrary).

Best

Klaus

P.S.
I recommend some or all of these stacks to get you started:
http://www.runrev.com/developers/lesson ... nferences/

appsurd
Posts: 10
Joined: Wed Sep 29, 2010 7:50 pm

Re: on mouseUp get day/month

Post by appsurd » Wed Sep 29, 2010 8:42 pm

Great, thank you. Sorry for the post in the other forum, but I think this is the right place for it.

appsurd
Posts: 10
Joined: Wed Sep 29, 2010 7:50 pm

Re: on mouseUp get day/month

Post by appsurd » Wed Sep 29, 2010 9:33 pm

Also, I want to ask how I can get the button name when doing an on mouseUp event. Do you know?

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: on mouseUp get day/month

Post by Klaus » Thu Sep 30, 2010 12:44 am

appsurd wrote:Also, I want to ask how I can get the button name when doing an on mouseUp event. Do you know?
See Bernd's excellent explanation in the namely thread 8)

Best

Klaus

Post Reply