browse fields in a window with noclear  
Author Message
drvsrs





PostPosted: Visual FoxPro General, browse fields in a window with noclear Top

Define a window AA. Open a file. Browse fields a,b,c,d noclear rest in wind AA. When Esc key is pressed, the window is cleared. The "noclear "command does not work (Visual Foxpro 6)

DEFI WIND LISTC FROM 06,32 TO 23,86 TITL "F3:Currency Help. USE Up/Down Arrows. ESC>=Search/Close" FILL FILE BAKICON;
ICON FILE GRUPICONCIRCLEF FLOAT
SELE 36
USE EXFILE ORDE CURCD NOUP
GO TOP
SET NEAR ON
ACTI WIND LISTC
*----------
DO WHILE .T.
BROW FIEL
CURCD:H="CUR":R, CURNAME/R:H="CURRENCY
NAMES",
CURRATE:H="EXC.RATE":R,CURDATE:H="UPDATED
UPTO":R REST NOME NOED NOCLEAR IN WIND LISTC
*-----------------
CEQ = REPL(" ",5)


"TIMES NEW ROMAN",10 STYLE "B" COLO +W/+R

STYLE "B" COLO +W,+W,+B
READ
IF LASTKEY() = 27 .OR. EOF()
EXIT
ENDIF
*-----------
IF CEQ <> " "
SEEK ALLT(CEQ)
IF EOF()
GO TOP
ENDIF
ENDIF
ENDDO
*----------
SET NEAR OFF
DEAC WIND LISTC
RELE WIND LISTC
RETU
===========================



Visual FoxPro1  
 
 
CetinBasoz





PostPosted: Visual FoxPro General, browse fields in a window with noclear Top

NoClear is not available in VFP (it was available only for foxpro for DOS).

Use form and grid instead.


 
 
drvsrs





PostPosted: Visual FoxPro General, browse fields in a window with noclear Top

Even though "NOCLEAR" feature is not available in VFP, in the first Esc press, the window is blank. But if you press Enter, continue and press Esc key again, the NOCLEAR works. The blank show of the window content is only for the first escape !!