|
From: oleksa <m.o...@uk...> - 2013-05-13 08:33:01
|
Hi!
Method SetText works correctly in current version, but in 216c it does not, see sample below.
In current
METHOD SetText( c ) INLINE hwg_Setwindowtext( ::Handle, c ), ::title := c, ::Refresh()
In 216c
METHOD SetText( c ) INLINE hwg_Setwindowtext( ::Handle, c )
#include "guilib.ch"
func main()
local odlg, bt1, i1
i1:=0
init dialog odlg title "test" at 0,0 size 800,400
@010,010 ownerbutton bt1 of odlg text "cnt" size 100,24 on click {||i1++,bt1:SetText(str(i1))}
odlg:activate()
return nil
Regards,
Alexey Myronenko
|