Hi Gents
I have a bunch of TEdit's on a form and 1 TMaskEdit
In the OnExit event I have call a methed with like this
METHOD IsModified( oSender, oNextCtl )
If oSender:lModify == .T.
::oSave:lEnabled := .T.
Endif
RETURN Nil
The problem I want to report is that LModify is not being set to true when I
change the contents on the TMaskEdit control
My mask is this (from the xfm)
WITH OBJECT ::oTimerInterval := TMaskEdit():New( ::oGatewayGroupBox )
:SetBounds( 116, 24, 46, 20 )
:cMessage := "Enter a value between 1 and 99 seconds"
:nMaxLength := 2
:cPicture := "99"
:Value := " "
:OnExit := "IsModified"
:Create()
END
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.
Masked Edit
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
Masked Edit
Nick,
> I have a bunch of TEdit's on a form and 1 TMaskEdit
>
> In the OnExit event I have call a methed with like this
>
> METHOD IsModified( oSender, oNextCtl )
>
> If oSender:lModify == .T.
> ::oSave:lEnabled := .T.
> Endif
>
> RETURN Nil
>
> The problem I want to report is that LModify is not being set to true when
> I change the contents on the TMaskEdit control
>
> My mask is this (from the xfm)
>
> WITH OBJECT ::oTimerInterval := TMaskEdit():New( ::oGatewayGroupBox )
> :SetBounds( 116, 24, 46, 20 )
> :cMessage := "Enter a value between 1 and 99 seconds"
> :nMaxLength := 2
> :cPicture := "99"
> :Value := " "
> :OnExit := "IsModified"
> :Create()
> END
>
I confirm that this problem exists. It appears only when any ::cPicture is
assigned.
Regards, Oleg
> I have a bunch of TEdit's on a form and 1 TMaskEdit
>
> In the OnExit event I have call a methed with like this
>
> METHOD IsModified( oSender, oNextCtl )
>
> If oSender:lModify == .T.
> ::oSave:lEnabled := .T.
> Endif
>
> RETURN Nil
>
> The problem I want to report is that LModify is not being set to true when
> I change the contents on the TMaskEdit control
>
> My mask is this (from the xfm)
>
> WITH OBJECT ::oTimerInterval := TMaskEdit():New( ::oGatewayGroupBox )
> :SetBounds( 116, 24, 46, 20 )
> :cMessage := "Enter a value between 1 and 99 seconds"
> :nMaxLength := 2
> :cPicture := "99"
> :Value := " "
> :OnExit := "IsModified"
> :Create()
> END
>
I confirm that this problem exists. It appears only when any ::cPicture is
assigned.
Regards, Oleg
Masked Edit
Nick,
> I have a bunch of TEdit's on a form and 1 TMaskEdit
>
> In the OnExit event I have call a methed with like this
>
> METHOD IsModified( oSender, oNextCtl )
>
> If oSender:lModify == .T.
> ::oSave:lEnabled := .T.
> Endif
>
> RETURN Nil
>
> The problem I want to report is that LModify is not being set to true when
> I change the contents on the TMaskEdit control
>
> My mask is this (from the xfm)
>
> WITH OBJECT ::oTimerInterval := TMaskEdit():New( ::oGatewayGroupBox )
> :SetBounds( 116, 24, 46, 20 )
> :cMessage := "Enter a value between 1 and 99 seconds"
> :nMaxLength := 2
> :cPicture := "99"
> :Value := " "
> :OnExit := "IsModified"
> :Create()
> END
>
I confirm that this problem exists. It appears only when any ::cPicture is
assigned.
Regards, Oleg
> I have a bunch of TEdit's on a form and 1 TMaskEdit
>
> In the OnExit event I have call a methed with like this
>
> METHOD IsModified( oSender, oNextCtl )
>
> If oSender:lModify == .T.
> ::oSave:lEnabled := .T.
> Endif
>
> RETURN Nil
>
> The problem I want to report is that LModify is not being set to true when
> I change the contents on the TMaskEdit control
>
> My mask is this (from the xfm)
>
> WITH OBJECT ::oTimerInterval := TMaskEdit():New( ::oGatewayGroupBox )
> :SetBounds( 116, 24, 46, 20 )
> :cMessage := "Enter a value between 1 and 99 seconds"
> :nMaxLength := 2
> :cPicture := "99"
> :Value := " "
> :OnExit := "IsModified"
> :Create()
> END
>
I confirm that this problem exists. It appears only when any ::cPicture is
assigned.
Regards, Oleg
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Masked Edit
Nick,
Fixed. It will be available on next upgrade. Thanks.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:[email=48617e74@ozsrv2.ozlan.local...]48617e74@ozsrv2.ozlan.local...[/email]
> Hi Gents
>
> I have a bunch of TEdit's on a form and 1 TMaskEdit
>
> In the OnExit event I have call a methed with like this
>
> METHOD IsModified( oSender, oNextCtl )
>
> If oSender:lModify == .T.
> ::oSave:lEnabled := .T.
> Endif
>
> RETURN Nil
>
> The problem I want to report is that LModify is not being set to true when
> I change the contents on the TMaskEdit control
>
> My mask is this (from the xfm)
>
> WITH OBJECT ::oTimerInterval := TMaskEdit():New( ::oGatewayGroupBox )
> :SetBounds( 116, 24, 46, 20 )
> :cMessage := "Enter a value between 1 and 99 seconds"
> :nMaxLength := 2
> :cPicture := "99"
> :Value := " "
> :OnExit := "IsModified"
> :Create()
> END
>
Fixed. It will be available on next upgrade. Thanks.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:[email=48617e74@ozsrv2.ozlan.local...]48617e74@ozsrv2.ozlan.local...[/email]
> Hi Gents
>
> I have a bunch of TEdit's on a form and 1 TMaskEdit
>
> In the OnExit event I have call a methed with like this
>
> METHOD IsModified( oSender, oNextCtl )
>
> If oSender:lModify == .T.
> ::oSave:lEnabled := .T.
> Endif
>
> RETURN Nil
>
> The problem I want to report is that LModify is not being set to true when
> I change the contents on the TMaskEdit control
>
> My mask is this (from the xfm)
>
> WITH OBJECT ::oTimerInterval := TMaskEdit():New( ::oGatewayGroupBox )
> :SetBounds( 116, 24, 46, 20 )
> :cMessage := "Enter a value between 1 and 99 seconds"
> :nMaxLength := 2
> :cPicture := "99"
> :Value := " "
> :OnExit := "IsModified"
> :Create()
> END
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Masked Edit
Nick,
Fixed. It will be available on next upgrade. Thanks.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:[email=48617e74@ozsrv2.ozlan.local...]48617e74@ozsrv2.ozlan.local...[/email]
> Hi Gents
>
> I have a bunch of TEdit's on a form and 1 TMaskEdit
>
> In the OnExit event I have call a methed with like this
>
> METHOD IsModified( oSender, oNextCtl )
>
> If oSender:lModify == .T.
> ::oSave:lEnabled := .T.
> Endif
>
> RETURN Nil
>
> The problem I want to report is that LModify is not being set to true when
> I change the contents on the TMaskEdit control
>
> My mask is this (from the xfm)
>
> WITH OBJECT ::oTimerInterval := TMaskEdit():New( ::oGatewayGroupBox )
> :SetBounds( 116, 24, 46, 20 )
> :cMessage := "Enter a value between 1 and 99 seconds"
> :nMaxLength := 2
> :cPicture := "99"
> :Value := " "
> :OnExit := "IsModified"
> :Create()
> END
>
Fixed. It will be available on next upgrade. Thanks.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:[email=48617e74@ozsrv2.ozlan.local...]48617e74@ozsrv2.ozlan.local...[/email]
> Hi Gents
>
> I have a bunch of TEdit's on a form and 1 TMaskEdit
>
> In the OnExit event I have call a methed with like this
>
> METHOD IsModified( oSender, oNextCtl )
>
> If oSender:lModify == .T.
> ::oSave:lEnabled := .T.
> Endif
>
> RETURN Nil
>
> The problem I want to report is that LModify is not being set to true when
> I change the contents on the TMaskEdit control
>
> My mask is this (from the xfm)
>
> WITH OBJECT ::oTimerInterval := TMaskEdit():New( ::oGatewayGroupBox )
> :SetBounds( 116, 24, 46, 20 )
> :cMessage := "Enter a value between 1 and 99 seconds"
> :nMaxLength := 2
> :cPicture := "99"
> :Value := " "
> :OnExit := "IsModified"
> :Create()
> END
>