I found a bug of TGet (unicode).
The TGet '經歷:' length is 40 bytes, and type '1234567890' then copy and paste,
But can't paste all data like '1234567890123456789012345678901234567890' and only '12345678901234567890123456789012345', Why ?
#include "fivewin.ch"
function Main()
local oDlg, oFont
local aGet[ 3 ]
local aVal[ 3 ]
FW_SetUnicode( .t. )
SetGetColorFocus()
AFill( aVal, Space( 40 ) )
DEFINE FONT oFont NAME "VERDANA" SIZE 0,-20
DEFINE DIALOG oDlg SIZE 700,240 PIXEL TRUEPIXEL FONT oFont TITLE FWVERSION + " : Unicode Get Paste"
@ 30,70 GET aGet[ 1 ] VAR aVal[ 1 ] SIZE 560,30 PIXEL OF oDlg
@ 70,70 GET aGet[ 2 ] VAR aVal[ 2 ] SIZE 560,30 PIXEL OF oDlg
@ 180,20 BUTTON "CLOSE" SIZE 100,40 PIXEL OF oDlg ACTION oDlg:End()
ACTIVATE DIALOG oDlg CENTERED
RELEASE FONT oFont
return nil
ShumingWang wrote:Mr. Liao/SSBBS:
Long time not met, Still OK?
1) @ r,c GET .... CHRGROUP CHR_ANSI
2) @ r,c GET .... CHRGROUP CHR_ANY // This is default if CHRGROUP clause is not used.
3) @ r,c GET .... CHRGROUP CHR_WIDE
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot], RSalazarU and 87 guests