Search found 68 matches: defcontrol

Return to advanced search

Re: touch.prg error

... nOR( CS_VREDRAW, CS_HREDRAW ) )   if ! Empty( oWnd:hWnd        .../...  Asi lo he probado y aparentemente ya no da el error en el DefControl
by cnavarro
Sun Jun 29, 2014 8:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: touch.prg error
Replies: 14
Views: 1648

Re: touch.prg error

...     ::Create()      ::SetColor( XEval( ::nClrText ), ::nClrPane )      oWnd:AddControl( Self )   else      oWnd:DefControl( Self )   endif Luego si el error lo da en DefControl, quiere decir que por alguna razón la ventana principal no se ha creado, pues ...
by Antonio Linares
Fri Jun 27, 2014 2:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: touch.prg error
Replies: 14
Views: 1648

touch.prg error

... Pack 1 Time from start: 0 hours 0 mins 2 secs Error occurred at: 06/27/14, 09:01:44 Error description: Error BASE/1004 Message not found: TBTNFLAT:DEFCONTROL Args: [ 1] = O TBTNFLAT Stack Calls =========== Called from: => __ERRRT_SBASE( 0 ) Called from: ../../../tobject.prg => TBTNFLAT:ERROR( ...
by D.Fernandez
Fri Jun 27, 2014 12:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: touch.prg error
Replies: 14
Views: 1648

Re: Warning W8065

... 1 Time from start: 0 hours 0 mins 17 secs Error occurred at: 23-06-2014, 00:41:49 Error description: Error BASE/1004 Message not found: TMDICHILD:DEFCONTROL Args: [ 1] = O TMDICHILD Stack Calls =========== Called from: => __ERRRT_SBASE( 0 ) Called from: => TMDICHILD:ERROR( 0 ) Called from: ...
by mauri.menabue
Sun Jun 22, 2014 11:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Warning W8065
Replies: 7
Views: 1005

Re: Error BASE/1004 Message not found: TWINDOW:DEFCONTROL

TWindow class does not have DefControl method. Only TDialog class has this method.
by nageswaragunupudi
Mon Feb 17, 2014 5:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error BASE/1004 Message not found: TWINDOW:DEFCONTROL
Replies: 1
Views: 330

Error BASE/1004 Message not found: TWINDOW:DEFCONTROL

Hello, One customer reported us: Error description: Error BASE/1004 Message not found: TWINDOW:DEFCONTROL Args: [ 1] = O TWINDOW Stack Calls =========== Called from: => __ERRRT_SBASE( 0 ) Called from: ../../../tobject.prg => TWINDOW:ERROR( 0 ) Called from: ../../../tobject.prg ...
by elvira
Fri Feb 14, 2014 7:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error BASE/1004 Message not found: TWINDOW:DEFCONTROL
Replies: 1
Views: 330

Re: TO ANTONIO HELP FOR BLINK

... hDlg ) INLINE Super:Initiate( hDlg ), ::Default() on New method if ! Empty( ::oWnd:hWnd ) ::Create() ::oWnd:AddControl( Self ) else ::oWnd:DefControl( Self ) endif on Default method IF ::lBlink DEFINE TIMER ::oOut INTERVAL ::nInterval OF ::oWnd ACTION ( ::nTime ++,::Blink()) ACTIVATE TIMER ...
by Silvio.Falconi
Tue May 28, 2013 9:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO ANTONIO HELP FOR BLINK
Replies: 9
Views: 1687

TO ANTONIO HELP FOR BLINK

Dear Antonio, Not run on tled class I insert on new method if ! Empty( ::oWnd:hWnd ) ::Create() ::Default() ::oWnd:AddControl( Self ) else ::oWnd:DefControl( Self ) endif IF ::lBlink DEFINE TIMER ::oTmr INTERVAL ::nInterval ACTION ::Blink() OF self Endif on Paint method at the init I Insert IF ...
by Silvio.Falconi
Tue May 28, 2013 7:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO ANTONIO HELP FOR BLINK
Replies: 9
Views: 1687

Re: Un control en un TPanel

!!FUNCIONA!! Muchas gracias, no sabes que favor me has hecho. Entiendo que ahora, en lugar de pasar por DefControl() pasa por AddControl() que es de TWINDOW, común a todo y todos. Lo que no llego a entender es porque ahora si funciona GetDlgItem() y antes no, pues hDlg no venía ...
by antolin
Mon May 27, 2013 9:35 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un control en un TPanel
Replies: 11
Views: 2657

Re: Un control en un TPanel

... y un SAY sobre el panel para que falle la compilación. El inconveniente es que cuando se crea el TSAY, al final de su método New() llama a ::oWnd:DefControl(), pero resulata que el ::oWnd es el TPANEL que es un control, no un Dialogo, y TCONTROL no tiene método DefControl() por lo que el TSAY ...
by antolin
Mon May 27, 2013 8:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un control en un TPanel
Replies: 11
Views: 2657

Re: Un contrl en un TPanel

Se me olvidaba. Mi FWH es bastante antiguo, del 2007. Lo mismo en vuestras versiones eso ya está solucionado. Si vuestro TPANEL tiene METHOD DefControl() me sería de gran ayuda que me posteeis dicho método (no la clase entera claro) a ver si con eso puedo solucionar mi problema.

Gracias
by antolin
Thu May 23, 2013 12:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un control en un TPanel
Replies: 11
Views: 2657

Un control en un TPanel

... mías de repintado que no vienen al caso. Resulta que no me deja colocar controles en el TPANEL. Primero me daba "Message Not found: TPANEL:DEFCONTROL". Así que le implementé un METHOD DefControl() AL TPANEL, tal que así: METHOD DefControl( oCtrl )   DEFAULT oCtrl:nId := oCtrl:GetNewId() ...
by antolin
Thu May 23, 2013 11:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un control en un TPanel
Replies: 11
Views: 2657

Re: Como se crea una CLASE para dibujar líneas.

... SetWindowLong( ::hWnd, GWL_EXSTYLE, nOr( GetWindowLong( ::hWnd, GWL_EXSTYLE ), WS_EX_TRANSPARENT ) ) oWnd:AddControl( Self ) ::Default() Else oWnd:DefControl( Self ) EndIf If lDesign ::CheckDots() EndIf Return Self * ============================================================================ * ...
by QAZWSX2K
Tue May 25, 2010 7:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como se crea una CLASE para dibujar líneas.
Replies: 8
Views: 1793

Re: Totalizar columnas en footer de TXBrowse

... error: Error description: Error FiveWin/2 Duplicated Id: No: 107 Stack Calls =========== Called from: .\source\classes\DIALOG.PRG => TDIALOG:DEFCONTROL(0) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:CREATEFROMCODE(0) Called from: C:\Users\David\DOCUME~2\MISPRO~1\Gesco\PROC_1.PRG ...
by FranciscoA
Mon Nov 23, 2009 5:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Totalizar columnas en footer de TXBrowse
Replies: 14
Views: 2822

Re: Totalizar columnas en footer de TXBrowse

... error: Error description: Error FiveWin/2 Duplicated Id: No: 107 Stack Calls =========== Called from: .\source\classes\DIALOG.PRG => TDIALOG:DEFCONTROL(0) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:CREATEFROMCODE(0) Called from: C:\Users\David\DOCUME~2\MISPRO~1\Gesco\PROC_1.PRG ...
by triumvirato
Mon Nov 23, 2009 4:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Totalizar columnas en footer de TXBrowse
Replies: 14
Views: 2822
PreviousNext

Return to advanced search