General information
Category:
Coding, syntax & commands
Title:
ReadOnly and ProgrammaticChange. Bug or ???
Hi all
I want create a class ( ex. TextBox ) with support of readOnly mode.
#DEFINE ErrCode_ReadOnly NNNN
objectClass.readOnly = .T.
on
objectClass.ProgrammaticChange Event:
IF m.this.readOnly
ERROR ErrCode_ReadOnly &&& ,message ...
nodefault
return .F.
ENDIF
on program code
object.Value = 'something'
All good ? No!
ProgrammaticChange ignore nodefault and RETURN .F !
ProgrammaticChange true name is ProgrammaticChangeAfter ?
I am mistaking? Where ?
Fabio
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only