When I use CUEBANNER on GET (Character), it will cuebanner text will disappear when ::gotfocus even I do not enter anything (still empty) but for PASSWORD not disappear if GET is empty.
I try this sample, it doesn't show anything.
- Code: Select all Expand view RUN
- #include 'fivewin.ch'
function main
local oDlg, oGet[2], oFnt
local cUser, cPass
cUser := space(10)
cPass := space(10)
DEFINE FONT oFnt NAME "Tahoma" SIZE 0, -20
DEFINE DIALOG oDlg FROM 0, 0 TO 400, 400 PIXEL FONT oFnt
@ 30, 30 GET oGet[1] VAR cUser OF oDlg SIZE 100, 12 PIXEL NOBORDER UPDATE COLOR CLR_BLUE, CLR_WHITE FONT oFnt CUEBANNER "User Id"
@ 60, 30 GET oGet[2] VAR cPass OF oDlg SIZE 100, 12 PIXEL NOBORDER UPDATE PASSWORD COLOR CLR_BLUE, CLR_WHITE FONT oFnt CUEBANNER "Password"
ACTIVATE DIALOG oDlg CENTER
return nil
Thanks in advance for any suggestion.