El los folder el mensaje ON CHANGE si retornaba .f. este no cambiaba de pestaña, pero con
FOLDEREX cambia igualmente
una posible solucion es evaluar antes ..
- Code: Select all Expand view RUN
- METHOD SetOption( nOption ) CLASS TFolderEx
LOCAL nOldOption := ::nOption, lVal
LOCAL nOpt :=0, nOldOpt := 0, i := 0, lVisible
IF ! ::aEnable[ noption ]
RETURN NIL
ENDIF
if nOption != ::nOption
if ! Empty( ::bAction )
lVal := Eval( ::bAction, nOption, nOldOption, Self )
if valtype( lVal ) = "L" .and. !lVal
Return( NIL )
endif
endif
IF ::aSrcPrompt != NIL
..
..
y comentar esto
/*if ! Empty( ::bAction )
Eval( ::bAction, nOption, nOldOption, Self )
endif*/
::ChangeOrder()
::Refresh()
endif
return nil