|
From: Baloghy G. <bal...@gm...> - 2014-10-17 05:56:38
|
Could you help me, how can I change the title of a window?
Why does not change the title after clicking on the button?
Regards,
Gabor
#include "windows.ch"
#include "guilib.ch"
function main
INIT WINDOW oMain TITLE "Title" SIZE 400,300
@ 150,100 button oBtn CAPTION "Title change" SIZE 100,30 ON CLICK
{||oMain:title:="Another title"}
activate window oMain center
return nil
|