General information
Category:
Object Oriented Programming
Slightly off topic ...
your code
IF THISFORM.ADD_MODE OR THISFORM.EDIT_MODE
this.enabled=.t.
ELSE
this.enabled=.f.
ENDIF
can equally be expressed as
this.enabled=(THISFORM.ADD_MODE OR THISFORM.EDIT_MODE)
saves a little typing !
Steve
(a great beiever in one liners)
Previous
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