Now i say on new FWH that all gets ignore the picture (Only on REDEFINE?)! Please try "@!". The letters are not uppercase!
Also the oGet:bPostKey not functioning. I linked in a older tget.prg and all is ok!
Thats strange!
function abnormal(oWnd)
local oDlg, oTimer , oSay , cSay := " " , oGet , cGet := space(10) , cBuffer
DEFINE TIMER oTimer INTERVAL 1000 OF oWnd
DEFINE DIALOG oDlg OF oWnd
@ 1, 2 GET oGet VAR cGet PICTURE "@R 99.99.99.99.99" SIZE 100,15//@!"
oGet:bPostKey := {|x,buffer|if(empty(buffer),NIL,;
(oTimer:bAction:={||NIL},;
cBuffer := buffer,;
oTimer:bAction:={||msgrun("Test","Test",{||(cSay := cBuffer, oSay:refresh(),oTimer:deactivate())})},;
oTimer:activate()))}
@ 2, 2 SAY oSay PROMPT cSay SIZE 50,15
@ 50,10 RBBTN PROMPT "&End" OF oDlg SIZE 50,15 ACTION oDlg:End()
ACTIVATE DIALOG oDlg CENTERED
function TestGet1()
local oDlg, oGet, cGet := Space(10)
local oFont
DEFINE FONT oFont NAME "ARIAL" SIZE 0,-16
DEFINE DIALOG oDlg FONT oFont
@ 10,10 GET oGet VAR cGet PICTURE "@R 99.99.99.99.99" SIZE 70,13 PIXEL OF oDlg
@ 40,10 BUTTON "TEST" SIZE 40,14 PIXEL OF oDlg ACTION MsgInfo( cGet )
ACTIVATE DIALOG oDlg CENTERED
RELEASE FONT oFont
? cGet
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 81 guests