I am using FWH version 20.07.
if I use FW_Setunicode (.T.) then the space key does not run normally on variable reading
@ x, y get oGet xvar of oDlg picture '@!' ..., but it works fine with the xbrowse EDIT_GET command
this is only a small example, actually I use a fairly complex program:
- Code: Select all Expand view RUN
#include "fivewin.ch"
function Main()
local oDlg
local oCode, oDesc, cCode := space(10), cDesc := space(100)
FW_SetUnicode( .T. ) // <----- problem here
// if .F., the space key is running normally
DEFINE DIALOG oDlg size 400, 200 pixel title "test read" ;
STYLE nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, WS_MAXIMIZEBOX, WS_MINIMIZEBOX, WS_THICKFRAME ) ;
COLOR CLR_WHITE, CLR_CYAN
@ 10, 5 SAY "CODE:" OF oDlg size 30, 12 pixel transparent
@ 25, 5 SAY "DESC:" OF oDlg size 30, 12 pixel transparent
@ 10,35 get oCode var cCode of oDlg size 70, 12 pixel
@ 25,35 get oDesc var cDesc of oDlg size 100, 12 pixel
@ 60,40 BUTTON "OK" SIZE 50,12 PIXEL OF oDlg
ACTIVATE DIALOG oDlg CENTERED
return nil
Best regards
Mulyadi