Hi,
Example
When i run the preview and close it (maybe I should do it more than once ...) the buttonbar appears all black, as if lost some brush, resource ... Someone has happened and found a solution?
Before execute preview

After execute preview

Example
#include 'fivewin.ch'
STATIC oWnd
*--------------
FUNCTION Main()
*--------------
LOCAL oBar, oBtn, oBtnRpt, oMenu, oRptDsg
DEFINE WINDOW oWnd TITLE 'Version: ' + FWVERSION
DEFINE BUTTONBAR oBar SIZE 30, 30 _3D OF oWnd
DEFINE BUTTON oBtn OF oBar NAME '' ACTION Test_Prn()
ACTIVATE WINDOW oWnd
RETU NIL
*-------------------------
STATIC FUNCTION Test_Prn()
*-------------------------
LOCAL oPrn := PrintBegin( 'test' , .F., .T.,, .f., .f. )
PAGE
oPrn:Say( 20, 20, "This 1 is a test in Landscape" )
ENDPAGE
PAGE
oPrn:Say( 20, 20, "This 2 is a test in Landscape" )
ENDPAGE
PAGE
oPrn:Say( 20, 20, "This 3 is a test in Landscape" )
ENDPAGE
ENDPRINT
RETU NILWhen i run the preview and close it (maybe I should do it more than once ...) the buttonbar appears all black, as if lost some brush, resource ... Someone has happened and found a solution?
Before execute preview

After execute preview

Salutacions, saludos, regards
"...programar es fácil, hacer programas es difícil..."
UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
"...programar es fácil, hacer programas es difícil..."
UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix