Strange behavior of TGet
Posted: Sat Apr 21, 2012 9:58 am
In the following sample the GET is rendered with a couple of [ ]. Any ideas about the reason and a possible solution?
EMG
- Code: Select all Expand view
- #include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL cVar := PADR( "This is a test", 35 )
DEFINE DIALOG oDlg;
SIZE 800, 600
ACTIVATE DIALOG oDlg;
ON INIT TEST( oDlg, @cVar );
CENTER
RETURN NIL
STATIC FUNCTION TEST( oDlg, cVar )
@ 1, 1 GET cVar OF oDlg
@ 3, 1 BUTTON "&Close" OF oDlg;
ACTION oDlg:End()
RETURN NIL
EMG