FYI: You will not be able to distribute an RBase Form to a Machine that doesn't 
have this ActiveX control already installed on it.

  But if you want to use it here's how:

There is no Variabel assignment directly to the control, however the listed 
properties of the control are accessible through the GetProperty Command, so 
use the info that follows and apply it as best it fits your situation:

Any time after a date is selected on the control (which for this example bears 
the ComponentID of 'AxCal' )


set var vtest TEXT = null
Getproperty AxCal Value 'vTest'

-- The variable vTest now contains a text value representing the date selected. 
You can do a date conversion on it using standard RBase functions or just do a 
straight Coercion such as:

Set var vAxDate Date = .vTest







----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Monday, January 28, 2008 1:50 PM
Subject: [RBASE-L] - Re: ActiveX Microsoft Calendar Control 11.0 Issue 01-28-08


>I have imported the ActiveX  "Microsoft Calender Control 11.0" into an R:Base 
>form.
> The component ID = Cal, and ActiveX Object Property of interest =  Day (It 
> contains
> the day of the month that was clicked on.)
>
> I am trying to set a variable (Temp) to the day of the month clicked on when 
> running this ActiveX control in R:Base.
>
> What line of code would work here?
> Set Var Temp Integer =   ????
>
> Thank you for any help in this matter.
> Robert - Agemco Corp.
> 


Reply via email to