ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » W2k Rexx Calendar code

Post new topic  Reply to topic
 W2k Rexx Calendar code « View previous topic :: View next topic » 
Author Message
p175
PostPosted: Thu Jul 27, 2006 9:50 am    Post subject: W2k Rexx Calendar code Reply with quote

Newbie

Joined: 27 Jul 2006
Posts: 1

Roger,

From many moons ago you kindly provided some Rexx code that produced a popup calendar function. I know this is a little forward .. heh, but I'm gonna ask anyway as I'm desperate ..

Is there anyway that that particular function can be modified so that it actually 'selects' and returns a given date [mm/dd/yyyy] when one clicks on it ? If for example I select any given date it closes the window and returns the date selected ? What I'd like to do is call this from a menu program I am trying to write, once for start and then again for an end date.

I'm very new to Rexx [actually any programming truth be told] and I am learning such to interface to DB2 on W2k. I'm thinking this is a very handy way of determining a start / end date range that I need for some data selection criteria.

If it is at all possible I'd very much appreciate any assistance or guidance you could offer.

Best regards Tim.D
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Mon Jul 31, 2006 8:08 am    Post subject: Re: W2k Rexx Calendar code Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

p175 wrote:
From many moons ago you kindly provided some Rexx code that produced a popup calendar function.

Is there anyway that that particular function can be modified so that it actually 'selects' and returns a given date [mm/dd/yyyy] when one clicks on it ?

I wrote that code back in the late 90's using IBM's Object Rexx for Windows. Actually, the calendar is a display of buttons. Hence, it is in the format you want. What you need to do is enable the events and then catch the 'click events'.

I don't do Rexx GUI programming anymore (just command-line / batch programming). Rexx is a great language for scripting. It COULD have been a great language for GUI programming - rivaling VB but IBM wanted to charge for everything (back in the 90s that is). You could NOT freely distribute the Rexx runtime. At that time, IBM wanted licensing fees for the Rexx runtime. (as oppose to Microsoft who freely gave away the VB RUN DLL.).

Actually, my first MQ Editor was written in Obect Rexx. Since, nobody had Object Rexx (except for OS/2 Warp people) and I couldn't freely distribute the Rexx runtime, I threw anyway the code and forced myself to learn Java and Java Swing.

The funniest part is that someone at IBM finally saw the light of day, although, too little - too late, and open sourced Object Rexx late in 2004.

Sorry but I won't be of much help. The best advice I can give you is go and download Object Rexx, work through the examples and read (and read) the documentation (the ooRexx Programming Guide is the first manual you should read).
http://www.oorexx.org/

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » W2k Rexx Calendar code
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.