@x,y GET opsCodept VAR psCodePT Pict '@s14' Valid (ValidaCodigo(), .T.)
@x,y GET opn54QTY VAR pn54Qty Pict '999' Valid (ValidarCantidad( opn54QTY, opsCodept ), .T.)
...
function ValidarCantidad( oGet2, oGet1 )
... tu codigo
oGet2:oJump = oGet1
return .T.
#include "FiveWin.ch"
static oWnd, oSay, oTimer
function Main()
DEFINE WINDOW oWnd FROM 3, 3 TO 20, 50 ;
TITLE "Colores parpadeando"
@ 2, 2 SAY oSay PROMPT "Hola Mundo!" COLOR "W+/B"
ACTIVATE WINDOW oWnd ;
ON INIT CreaTimer()
oTimer:End()
return nil
function CreaTimer()
static lOnOff := .F.
DEFINE TIMER oTimer INTERVAL 500 ;
ACTION ( lOnOff := ! lOnOff, oSay:SetColor( If( lOnOff, "W+/B", "GR+/G" ) ), oSay:Refresh() )
ACTIVATE TIMER oTimer
return nil
Return to FiveWin para CA-Clipper
Users browsing this forum: No registered users and 6 guests