FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Bugs report & fixes / Informe de errores y arreglos TPanel
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
TPanel
Posted: Mon Sep 08, 2014 07:02 PM
Es posible que la definicion del comando sea err贸nea? (Fivewin.ch)
Ahora mismo es:
Code (fw): Select all Collapse
#xcommand @ <nRow>, <nCol> PANEL [ <oPnl> ] ;
聽 聽 聽 聽 聽 聽 聽[ SIZE <nWidth>, <nHeight> ] ;
聽 聽 聽 聽 聽 聽 聽[ <of: OF, WINDOW, DIALOG > <oWnd> ] ;
聽 聽 聽 聽 聽 聽 聽[ <design: DESIGN> ] ;
聽 聽 聽 聽=> ;
聽 聽 聽 聽 聽 [ <oPnl> := ] TPanel():New( <nRow>, <nCol>, <nWidth> + <nCol> - 1,;
聽 聽 聽 聽 聽 聽 聽<nHeight> + <nRow> - 1, <oWnd>, <.design.> )

y deber铆a ser
Code (fw): Select all Collapse
#xcommand @ <nRow>, <nCol> PANEL [ <oPnl> ] ;
聽 聽 聽 聽 聽 聽 聽[ SIZE <nWidth>, <nHeight> ] ;
聽 聽 聽 聽 聽 聽 聽[ <of: OF, WINDOW, DIALOG > <oWnd> ] ;
聽 聽 聽 聽 聽 聽 聽[ <design: DESIGN> ] ;
聽 聽 聽 聽=> ;
聽 聽 聽 聽 聽 [ <oPnl> := ] TPanel():New( <nRow>, <nCol>, 聽<nHeight> + <nRow> - 1,;
聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽<nWidth> + <nCol> - 1, 聽<oWnd>, <.design.> )


seg煤n la definicion de la clase

Code (fw): Select all Collapse
METHOD New( nTop, nLeft, nBottom, nRight, oWnd ) CONSTRUCTOR
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: TPanel
Posted: Tue Sep 09, 2014 06:43 AM

Cristobal,

Tienes toda la raz贸n. Es un bug en la definici贸n del comando. Muchas gracias! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion