As always Mike  Thanks for you help

Gunnar Ekblad
Kontema IT AB
H�stholmsv�gen 32
S-131 30 NACKA
070 545 50 38
[EMAIL PROTECTED]
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MikeB
Sent: den 29 november 2004 19:55
To: RBG7-L Mailing List
Subject: [RBG7-L] - RE: Rb7 Form Based Calendar


Gunnar,
  The easiest way to take care of it was to ditch the TMON function.

There is an "Internationalized" version to download in its place.
The internationalization is limited to the month dropdown.
In the OnBeforeStart EEP, you find variable vMonthList.
There is the English version set there as well as a German version that
is
commented out.
Just put the Swedish replacements in the string and it will work
correctly.  Be
careful in the replacement to NOT have any spaces before or trailing the
names.
In other words it is 'Name,Name,Name,Name' ....  Spaces cause problems
on
selection in the dropdown.



----- Original Message ----- 
From: "Gunnar Ekblad" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, November 29, 2004 12:56 PM
Subject: [RBG7-L] - RE: Rb7 Form Based Calendar


Mike
You know your code better than I do! Is the tmon function where I have
do something to replace January with Januari and so on
Otherwise it is great





Gunnar Ekblad
Kontema IT AB
H�stholmsv�gen 32
S-131 30 NACKA
070 545 50 38
[EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MikeB
Sent: den 29 november 2004 16:59
To: RBG7-L Mailing List
Subject: [RBG7-L] - Rb7 Form Based Calendar

I know there are myriad ways to get a date from a calendar control in
RBase,
but I wanted to do something that behaved a bit more under my control,
so a
made a calendar based form in Rb7.

It's standard behavior differs from the controls only that it is a
complete
form, so you can modify it any way you want.
Conceivably, you could use it as a basis for an appointment scheduler or
such.

The form arguments take the name of the Caption to be used, the variable
name
to receive the return value, and the Seed date (the starting date to
display).

It has buttons to advance and retard the Month Values and Year Values as
well
as Drop downs for both Month and Year.  Whenever the Year is changed,
the
dropdown is refreshed with +5 and -5 year values from the new Year date.

Anyway, it's going to be well utilized in my changeover of my own
internal
application and I think it may have some utility value to others, so
here is
the link:

http://www.byerley.net/Rb7Calendar.zip

There is a Caldemo.rmd file in the zip to call it with explanation of
the way
arguments are passed...

Reply via email to