FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Tpanel error
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Tpanel error
Posted: Thu Nov 13, 2025 10:23 AM

oChess := TPanel():New( 20, 20, 150, 150, oDlg,.t. )

Error

 Error occurred at: 11/13/25, 11:20:41
   Error description: Error FiveWin/6  Cannot create window or control: 
Class: TWINDOW
Caption: 
System Error: Impossibile creare una finestra secondaria di primo livello.


Stack Calls
===========
   Called from: .\source\classes\window.prg => WNDCREATEERROR( 935 )
   Called from: .\source\classes\window.prg => TWINDOW:CREATE( 918 )
   Called from: .\source\classes\window.prg => TWINDOW:NEW( 995 )
   Called from: .\source\classes\control.prg => TPANEL:CHECKDOTS( 1454 )
   Called from: .\source\classes\tpanel.prg => TPANEL:NEW( 79 )
   Called from: test.prg => TEST( 52 )
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Tpanel error
Posted: Thu Nov 13, 2025 10:51 AM

Dear Silvio,

You have to create it from the ON INIT clause:

ACTIVATE DIALOG oDlg ON INIT CreatePanel()

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion