In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
ocx Control Events
- Dionisis Divaris
- Mensajes: 485
- Registrado: Jue Jul 12, 2007 8:48 pm
- Ubicación: Athens Greece
ocx Control Events
Hello Ignacio , Jose , Josi
I have an ocx control with the following events defined in the contol class:
/* Fired when right mouse button is clicked */
EVENT RClick()
/* Fired when the browsed date is changed. */
EVENT DateChanged()
/* Fired when the selection is changed. */
EVENT SelectionChanged()
/* Fired when the focused date is changed. */
EVENT FocusChanged()
/* Occurs when the user is about to change the browsed date. */
EVENT DateChanging( uHeaderArrow, vCancel )
How can i conrol those events to make them working? I try all known ways
but nothing happens.
Any help would be apreciated.
Regards
Dionisis
I have an ocx control with the following events defined in the contol class:
/* Fired when right mouse button is clicked */
EVENT RClick()
/* Fired when the browsed date is changed. */
EVENT DateChanged()
/* Fired when the selection is changed. */
EVENT SelectionChanged()
/* Fired when the focused date is changed. */
EVENT FocusChanged()
/* Occurs when the user is about to change the browsed date. */
EVENT DateChanging( uHeaderArrow, vCancel )
How can i conrol those events to make them working? I try all known ways
but nothing happens.
Any help would be apreciated.
Regards
Dionisis
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
ocx Control Events
Hi Dionisis,
you should define the events of the control concerned in in the
FormInitialize event of your form:
For example:
CLASS TMainForm FROM TForm
METHOD RClick()
// other events
ENDCLASS
METHOD FormInitialize( oSender ) CLASS TMainForm
WITH OBJECT ::oControl := TMyControl:New(<parent control>l)
:nAlign := alCLIENT
:Create()
:RClick := "MyControlRClick"
// other events
END
METHOD MyControlRClick()
MsgInfo("Right click")
RETURN Nil
Hope this clarifies!
Regards,
Stephan
"Dionisis Divaris" <info@sgs-soft.gr> wrote in message
news:471f8daa$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hello Ignacio , Jose , Josi
>
> I have an ocx control with the following events defined in the contol
> class:
> /* Fired when right mouse button is clicked */
> EVENT RClick()
>
> /* Fired when the browsed date is changed. */
> EVENT DateChanged()
>
> /* Fired when the selection is changed. */
> EVENT SelectionChanged()
>
> /* Fired when the focused date is changed. */
> EVENT FocusChanged()
>
> /* Occurs when the user is about to change the browsed date. */
> EVENT DateChanging( uHeaderArrow, vCancel )
>
> How can i conrol those events to make them working? I try all known
> ways but nothing happens.
>
> Any help would be apreciated.
>
> Regards
> Dionisis
>
you should define the events of the control concerned in in the
FormInitialize event of your form:
For example:
CLASS TMainForm FROM TForm
METHOD RClick()
// other events
ENDCLASS
METHOD FormInitialize( oSender ) CLASS TMainForm
WITH OBJECT ::oControl := TMyControl:New(<parent control>l)
:nAlign := alCLIENT
:Create()
:RClick := "MyControlRClick"
// other events
END
METHOD MyControlRClick()
MsgInfo("Right click")
RETURN Nil
Hope this clarifies!
Regards,
Stephan
"Dionisis Divaris" <info@sgs-soft.gr> wrote in message
news:471f8daa$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hello Ignacio , Jose , Josi
>
> I have an ocx control with the following events defined in the contol
> class:
> /* Fired when right mouse button is clicked */
> EVENT RClick()
>
> /* Fired when the browsed date is changed. */
> EVENT DateChanged()
>
> /* Fired when the selection is changed. */
> EVENT SelectionChanged()
>
> /* Fired when the focused date is changed. */
> EVENT FocusChanged()
>
> /* Occurs when the user is about to change the browsed date. */
> EVENT DateChanging( uHeaderArrow, vCancel )
>
> How can i conrol those events to make them working? I try all known
> ways but nothing happens.
>
> Any help would be apreciated.
>
> Regards
> Dionisis
>
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
ocx Control Events
Hi Dionisis,
you should define the events of the control concerned in in the
FormInitialize event of your form:
For example:
CLASS TMainForm FROM TForm
METHOD RClick()
// other events
ENDCLASS
METHOD FormInitialize( oSender ) CLASS TMainForm
WITH OBJECT ::oControl := TMyControl:New(<parent control>l)
:nAlign := alCLIENT
:Create()
:RClick := "MyControlRClick"
// other events
END
METHOD MyControlRClick()
MsgInfo("Right click")
RETURN Nil
Hope this clarifies!
Regards,
Stephan
"Dionisis Divaris" <info@sgs-soft.gr> wrote in message
news:471f8daa$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hello Ignacio , Jose , Josi
>
> I have an ocx control with the following events defined in the contol
> class:
> /* Fired when right mouse button is clicked */
> EVENT RClick()
>
> /* Fired when the browsed date is changed. */
> EVENT DateChanged()
>
> /* Fired when the selection is changed. */
> EVENT SelectionChanged()
>
> /* Fired when the focused date is changed. */
> EVENT FocusChanged()
>
> /* Occurs when the user is about to change the browsed date. */
> EVENT DateChanging( uHeaderArrow, vCancel )
>
> How can i conrol those events to make them working? I try all known
> ways but nothing happens.
>
> Any help would be apreciated.
>
> Regards
> Dionisis
>
you should define the events of the control concerned in in the
FormInitialize event of your form:
For example:
CLASS TMainForm FROM TForm
METHOD RClick()
// other events
ENDCLASS
METHOD FormInitialize( oSender ) CLASS TMainForm
WITH OBJECT ::oControl := TMyControl:New(<parent control>l)
:nAlign := alCLIENT
:Create()
:RClick := "MyControlRClick"
// other events
END
METHOD MyControlRClick()
MsgInfo("Right click")
RETURN Nil
Hope this clarifies!
Regards,
Stephan
"Dionisis Divaris" <info@sgs-soft.gr> wrote in message
news:471f8daa$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hello Ignacio , Jose , Josi
>
> I have an ocx control with the following events defined in the contol
> class:
> /* Fired when right mouse button is clicked */
> EVENT RClick()
>
> /* Fired when the browsed date is changed. */
> EVENT DateChanged()
>
> /* Fired when the selection is changed. */
> EVENT SelectionChanged()
>
> /* Fired when the focused date is changed. */
> EVENT FocusChanged()
>
> /* Occurs when the user is about to change the browsed date. */
> EVENT DateChanging( uHeaderArrow, vCancel )
>
> How can i conrol those events to make them working? I try all known
> ways but nothing happens.
>
> Any help would be apreciated.
>
> Regards
> Dionisis
>
- Dionisis Divaris
- Mensajes: 485
- Registrado: Jue Jul 12, 2007 8:48 pm
- Ubicación: Athens Greece
ocx Control Events
Hello Stephan
Many thanks for your answer. This is the first thing that i try , but
nothing happens. Work well with xailer inherit conrols but not with third
party activex conrols.
Regards
Dionisis
Ο "Stephan Hennekens" <stephan.hennekens@wur.nl> ÎγÏαψε στο μήνυμα
news:471fb55b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hi Dionisis,
>
> you should define the events of the control concerned in in the
> FormInitialize event of your form:
>
> For example:
>
> CLASS TMainForm FROM TForm
> METHOD RClick()
> // other events
> ENDCLASS
>
> METHOD FormInitialize( oSender ) CLASS TMainForm
> WITH OBJECT ::oControl := TMyControl:New(<parent control>l)
> :nAlign := alCLIENT
> :Create()
> :RClick := "MyControlRClick"
> // other events
> END
>
> METHOD MyControlRClick()
> MsgInfo("Right click")
> RETURN Nil
>
> Hope this clarifies!
>
> Regards,
> Stephan
>
>
> "Dionisis Divaris" <info@sgs-soft.gr> wrote in message
> news:471f8daa$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Hello Ignacio , Jose , Josi
>>
>> I have an ocx control with the following events defined in the contol
>> class:
>> /* Fired when right mouse button is clicked */
>> EVENT RClick()
>>
>> /* Fired when the browsed date is changed. */
>> EVENT DateChanged()
>>
>> /* Fired when the selection is changed. */
>> EVENT SelectionChanged()
>>
>> /* Fired when the focused date is changed. */
>> EVENT FocusChanged()
>>
>> /* Occurs when the user is about to change the browsed date. */
>> EVENT DateChanging( uHeaderArrow, vCancel )
>>
>> How can i conrol those events to make them working? I try all known
>> ways but nothing happens.
>>
>> Any help would be apreciated.
>>
>> Regards
>> Dionisis
>>
>
>
Many thanks for your answer. This is the first thing that i try , but
nothing happens. Work well with xailer inherit conrols but not with third
party activex conrols.
Regards
Dionisis
Ο "Stephan Hennekens" <stephan.hennekens@wur.nl> ÎγÏαψε στο μήνυμα
news:471fb55b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hi Dionisis,
>
> you should define the events of the control concerned in in the
> FormInitialize event of your form:
>
> For example:
>
> CLASS TMainForm FROM TForm
> METHOD RClick()
> // other events
> ENDCLASS
>
> METHOD FormInitialize( oSender ) CLASS TMainForm
> WITH OBJECT ::oControl := TMyControl:New(<parent control>l)
> :nAlign := alCLIENT
> :Create()
> :RClick := "MyControlRClick"
> // other events
> END
>
> METHOD MyControlRClick()
> MsgInfo("Right click")
> RETURN Nil
>
> Hope this clarifies!
>
> Regards,
> Stephan
>
>
> "Dionisis Divaris" <info@sgs-soft.gr> wrote in message
> news:471f8daa$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Hello Ignacio , Jose , Josi
>>
>> I have an ocx control with the following events defined in the contol
>> class:
>> /* Fired when right mouse button is clicked */
>> EVENT RClick()
>>
>> /* Fired when the browsed date is changed. */
>> EVENT DateChanged()
>>
>> /* Fired when the selection is changed. */
>> EVENT SelectionChanged()
>>
>> /* Fired when the focused date is changed. */
>> EVENT FocusChanged()
>>
>> /* Occurs when the user is about to change the browsed date. */
>> EVENT DateChanging( uHeaderArrow, vCancel )
>>
>> How can i conrol those events to make them working? I try all known
>> ways but nothing happens.
>>
>> Any help would be apreciated.
>>
>> Regards
>> Dionisis
>>
>
>
ocx Control Events
Hello Stephan
Many thanks for your answer. This is the first thing that i try , but
nothing happens. Work well with xailer inherit conrols but not with third
party activex conrols.
Regards
Dionisis
Ο "Stephan Hennekens" <stephan.hennekens@wur.nl> ÎγÏαψε στο μήνυμα
news:471fb55b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hi Dionisis,
>
> you should define the events of the control concerned in in the
> FormInitialize event of your form:
>
> For example:
>
> CLASS TMainForm FROM TForm
> METHOD RClick()
> // other events
> ENDCLASS
>
> METHOD FormInitialize( oSender ) CLASS TMainForm
> WITH OBJECT ::oControl := TMyControl:New(<parent control>l)
> :nAlign := alCLIENT
> :Create()
> :RClick := "MyControlRClick"
> // other events
> END
>
> METHOD MyControlRClick()
> MsgInfo("Right click")
> RETURN Nil
>
> Hope this clarifies!
>
> Regards,
> Stephan
>
>
> "Dionisis Divaris" <info@sgs-soft.gr> wrote in message
> news:471f8daa$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Hello Ignacio , Jose , Josi
>>
>> I have an ocx control with the following events defined in the contol
>> class:
>> /* Fired when right mouse button is clicked */
>> EVENT RClick()
>>
>> /* Fired when the browsed date is changed. */
>> EVENT DateChanged()
>>
>> /* Fired when the selection is changed. */
>> EVENT SelectionChanged()
>>
>> /* Fired when the focused date is changed. */
>> EVENT FocusChanged()
>>
>> /* Occurs when the user is about to change the browsed date. */
>> EVENT DateChanging( uHeaderArrow, vCancel )
>>
>> How can i conrol those events to make them working? I try all known
>> ways but nothing happens.
>>
>> Any help would be apreciated.
>>
>> Regards
>> Dionisis
>>
>
>
Many thanks for your answer. This is the first thing that i try , but
nothing happens. Work well with xailer inherit conrols but not with third
party activex conrols.
Regards
Dionisis
Ο "Stephan Hennekens" <stephan.hennekens@wur.nl> ÎγÏαψε στο μήνυμα
news:471fb55b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hi Dionisis,
>
> you should define the events of the control concerned in in the
> FormInitialize event of your form:
>
> For example:
>
> CLASS TMainForm FROM TForm
> METHOD RClick()
> // other events
> ENDCLASS
>
> METHOD FormInitialize( oSender ) CLASS TMainForm
> WITH OBJECT ::oControl := TMyControl:New(<parent control>l)
> :nAlign := alCLIENT
> :Create()
> :RClick := "MyControlRClick"
> // other events
> END
>
> METHOD MyControlRClick()
> MsgInfo("Right click")
> RETURN Nil
>
> Hope this clarifies!
>
> Regards,
> Stephan
>
>
> "Dionisis Divaris" <info@sgs-soft.gr> wrote in message
> news:471f8daa$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Hello Ignacio , Jose , Josi
>>
>> I have an ocx control with the following events defined in the contol
>> class:
>> /* Fired when right mouse button is clicked */
>> EVENT RClick()
>>
>> /* Fired when the browsed date is changed. */
>> EVENT DateChanged()
>>
>> /* Fired when the selection is changed. */
>> EVENT SelectionChanged()
>>
>> /* Fired when the focused date is changed. */
>> EVENT FocusChanged()
>>
>> /* Occurs when the user is about to change the browsed date. */
>> EVENT DateChanging( uHeaderArrow, vCancel )
>>
>> How can i conrol those events to make them working? I try all known
>> ways but nothing happens.
>>
>> Any help would be apreciated.
>>
>> Regards
>> Dionisis
>>
>
>
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
ocx Control Events
Works fine here with ActiveX controls from other parties. Take a look at the
OCX sample Xailer provides. Otherwise give us more details. Which control do
you want to use BTW?
Regards,
Stephan
"Dionisis Divaris" <info@sgs-soft.gr> wrote in message
news:[email=471fbdd5@ozsrv2.ozlan.local...]471fbdd5@ozsrv2.ozlan.local...[/email]
> Hello Stephan
>
> Many thanks for your answer. This is the first thing that i try , but
> nothing happens. Work well with xailer inherit conrols but not with third
> party activex conrols.
>
> Regards
> Dionisis
>
> Ï "Stephan Hennekens" <stephan.hennekens@wur.nl> Ýãñáøå óôï ìÞíõìá
> news:471fb55b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Hi Dionisis,
>>
>> you should define the events of the control concerned in in the
>> FormInitialize event of your form:
>>
>> For example:
>>
>> CLASS TMainForm FROM TForm
>> METHOD RClick()
>> // other events
>> ENDCLASS
>>
>> METHOD FormInitialize( oSender ) CLASS TMainForm
>> WITH OBJECT ::oControl := TMyControl:New(<parent control>l)
>> :nAlign := alCLIENT
>> :Create()
>> :RClick := "MyControlRClick"
>> // other events
>> END
>>
>> METHOD MyControlRClick()
>> MsgInfo("Right click")
>> RETURN Nil
>>
>> Hope this clarifies!
>>
>> Regards,
>> Stephan
>>
>>
>> "Dionisis Divaris" <info@sgs-soft.gr> wrote in message
>> news:471f8daa$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Hello Ignacio , Jose , Josi
>>>
>>> I have an ocx control with the following events defined in the contol
>>> class:
>>> /* Fired when right mouse button is clicked */
>>> EVENT RClick()
>>>
>>> /* Fired when the browsed date is changed. */
>>> EVENT DateChanged()
>>>
>>> /* Fired when the selection is changed. */
>>> EVENT SelectionChanged()
>>>
>>> /* Fired when the focused date is changed. */
>>> EVENT FocusChanged()
>>>
>>> /* Occurs when the user is about to change the browsed date. */
>>> EVENT DateChanging( uHeaderArrow, vCancel )
>>>
>>> How can i conrol those events to make them working? I try all known
>>> ways but nothing happens.
>>>
>>> Any help would be apreciated.
>>>
>>> Regards
>>> Dionisis
>>>
>>
>>
>
OCX sample Xailer provides. Otherwise give us more details. Which control do
you want to use BTW?
Regards,
Stephan
"Dionisis Divaris" <info@sgs-soft.gr> wrote in message
news:[email=471fbdd5@ozsrv2.ozlan.local...]471fbdd5@ozsrv2.ozlan.local...[/email]
> Hello Stephan
>
> Many thanks for your answer. This is the first thing that i try , but
> nothing happens. Work well with xailer inherit conrols but not with third
> party activex conrols.
>
> Regards
> Dionisis
>
> Ï "Stephan Hennekens" <stephan.hennekens@wur.nl> Ýãñáøå óôï ìÞíõìá
> news:471fb55b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Hi Dionisis,
>>
>> you should define the events of the control concerned in in the
>> FormInitialize event of your form:
>>
>> For example:
>>
>> CLASS TMainForm FROM TForm
>> METHOD RClick()
>> // other events
>> ENDCLASS
>>
>> METHOD FormInitialize( oSender ) CLASS TMainForm
>> WITH OBJECT ::oControl := TMyControl:New(<parent control>l)
>> :nAlign := alCLIENT
>> :Create()
>> :RClick := "MyControlRClick"
>> // other events
>> END
>>
>> METHOD MyControlRClick()
>> MsgInfo("Right click")
>> RETURN Nil
>>
>> Hope this clarifies!
>>
>> Regards,
>> Stephan
>>
>>
>> "Dionisis Divaris" <info@sgs-soft.gr> wrote in message
>> news:471f8daa$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Hello Ignacio , Jose , Josi
>>>
>>> I have an ocx control with the following events defined in the contol
>>> class:
>>> /* Fired when right mouse button is clicked */
>>> EVENT RClick()
>>>
>>> /* Fired when the browsed date is changed. */
>>> EVENT DateChanged()
>>>
>>> /* Fired when the selection is changed. */
>>> EVENT SelectionChanged()
>>>
>>> /* Fired when the focused date is changed. */
>>> EVENT FocusChanged()
>>>
>>> /* Occurs when the user is about to change the browsed date. */
>>> EVENT DateChanging( uHeaderArrow, vCancel )
>>>
>>> How can i conrol those events to make them working? I try all known
>>> ways but nothing happens.
>>>
>>> Any help would be apreciated.
>>>
>>> Regards
>>> Dionisis
>>>
>>
>>
>
-
- Mensajes: 305
- Registrado: Jue Nov 30, 2006 12:17 am
ocx Control Events
Works fine here with ActiveX controls from other parties. Take a look at the
OCX sample Xailer provides. Otherwise give us more details. Which control do
you want to use BTW?
Regards,
Stephan
"Dionisis Divaris" <info@sgs-soft.gr> wrote in message
news:[email=471fbdd5@ozsrv2.ozlan.local...]471fbdd5@ozsrv2.ozlan.local...[/email]
> Hello Stephan
>
> Many thanks for your answer. This is the first thing that i try , but
> nothing happens. Work well with xailer inherit conrols but not with third
> party activex conrols.
>
> Regards
> Dionisis
>
> Ï "Stephan Hennekens" <stephan.hennekens@wur.nl> Ýãñáøå óôï ìÞíõìá
> news:471fb55b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Hi Dionisis,
>>
>> you should define the events of the control concerned in in the
>> FormInitialize event of your form:
>>
>> For example:
>>
>> CLASS TMainForm FROM TForm
>> METHOD RClick()
>> // other events
>> ENDCLASS
>>
>> METHOD FormInitialize( oSender ) CLASS TMainForm
>> WITH OBJECT ::oControl := TMyControl:New(<parent control>l)
>> :nAlign := alCLIENT
>> :Create()
>> :RClick := "MyControlRClick"
>> // other events
>> END
>>
>> METHOD MyControlRClick()
>> MsgInfo("Right click")
>> RETURN Nil
>>
>> Hope this clarifies!
>>
>> Regards,
>> Stephan
>>
>>
>> "Dionisis Divaris" <info@sgs-soft.gr> wrote in message
>> news:471f8daa$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Hello Ignacio , Jose , Josi
>>>
>>> I have an ocx control with the following events defined in the contol
>>> class:
>>> /* Fired when right mouse button is clicked */
>>> EVENT RClick()
>>>
>>> /* Fired when the browsed date is changed. */
>>> EVENT DateChanged()
>>>
>>> /* Fired when the selection is changed. */
>>> EVENT SelectionChanged()
>>>
>>> /* Fired when the focused date is changed. */
>>> EVENT FocusChanged()
>>>
>>> /* Occurs when the user is about to change the browsed date. */
>>> EVENT DateChanging( uHeaderArrow, vCancel )
>>>
>>> How can i conrol those events to make them working? I try all known
>>> ways but nothing happens.
>>>
>>> Any help would be apreciated.
>>>
>>> Regards
>>> Dionisis
>>>
>>
>>
>
OCX sample Xailer provides. Otherwise give us more details. Which control do
you want to use BTW?
Regards,
Stephan
"Dionisis Divaris" <info@sgs-soft.gr> wrote in message
news:[email=471fbdd5@ozsrv2.ozlan.local...]471fbdd5@ozsrv2.ozlan.local...[/email]
> Hello Stephan
>
> Many thanks for your answer. This is the first thing that i try , but
> nothing happens. Work well with xailer inherit conrols but not with third
> party activex conrols.
>
> Regards
> Dionisis
>
> Ï "Stephan Hennekens" <stephan.hennekens@wur.nl> Ýãñáøå óôï ìÞíõìá
> news:471fb55b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Hi Dionisis,
>>
>> you should define the events of the control concerned in in the
>> FormInitialize event of your form:
>>
>> For example:
>>
>> CLASS TMainForm FROM TForm
>> METHOD RClick()
>> // other events
>> ENDCLASS
>>
>> METHOD FormInitialize( oSender ) CLASS TMainForm
>> WITH OBJECT ::oControl := TMyControl:New(<parent control>l)
>> :nAlign := alCLIENT
>> :Create()
>> :RClick := "MyControlRClick"
>> // other events
>> END
>>
>> METHOD MyControlRClick()
>> MsgInfo("Right click")
>> RETURN Nil
>>
>> Hope this clarifies!
>>
>> Regards,
>> Stephan
>>
>>
>> "Dionisis Divaris" <info@sgs-soft.gr> wrote in message
>> news:471f8daa$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Hello Ignacio , Jose , Josi
>>>
>>> I have an ocx control with the following events defined in the contol
>>> class:
>>> /* Fired when right mouse button is clicked */
>>> EVENT RClick()
>>>
>>> /* Fired when the browsed date is changed. */
>>> EVENT DateChanged()
>>>
>>> /* Fired when the selection is changed. */
>>> EVENT SelectionChanged()
>>>
>>> /* Fired when the focused date is changed. */
>>> EVENT FocusChanged()
>>>
>>> /* Occurs when the user is about to change the browsed date. */
>>> EVENT DateChanging( uHeaderArrow, vCancel )
>>>
>>> How can i conrol those events to make them working? I try all known
>>> ways but nothing happens.
>>>
>>> Any help would be apreciated.
>>>
>>> Regards
>>> Dionisis
>>>
>>
>>
>