|
From: Alexander S.K. <al...@be...> - 2013-07-25 07:11:24
|
Hi,
the problems with hbuttonex are fixed.
> Here is it:
>
> #include "hwgui.ch"
>
> local oDlg
> local bBlock := {|| hwg_msgInfo( "Works!!!", "OK if done via button" ) }
>
> INIT DIALOG oDlg TITLE "hwg_SetDlgKey() sample" ;
> AT 190,10 SIZE 360,240
>
> @ 10, 50 SAY "Press F10 to test the system key" SIZE 220, 20
>
> @ 20, 190 BUTTON "Ok" SIZE 130, 32;
> ON CLICK bBlock
>
> hwg_SetDlgKey( oDlg, 0, 121, bBlock )
>
> oDlg:Activate()
>
This sample doesn't work in 2.17, too.
Regards, Alexander.
|