Search found 23 matches: addcontrol

Return to advanced search

Re: Bug in TBar

...   if ! Empty( oWnd:hWnd )      ::Create()      ::GetFont()//      oWnd:AddControl( Self )   else Commenting out oWnd:AddControl( Self ) seems to fix it. Can you confirm? EMG
by Enrico Maria Giordano
Sun May 03, 2015 8:12 am
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Bug in TBar
Replies: 6
Views: 2197

Re: problema con SetFont

... ::FijaClrDomingo() ::FijaClrFestivo() ::nStyle := nOr(WS_CHILD, WS_VISIBLE, WS_TABSTOP) ::Register() If !Empty( oWnd:hWnd ) ::Create() oWnd:AddControl( Self ) Else oWnd:DefControl( Self ) Endif Return Self METHOD Display() CLASS TMiCalendario IF ::lContinuar ::lContinuar := .F. ::BeginPaint() ...
by MOISES
Mon Feb 23, 2015 1:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con SetFont
Replies: 17
Views: 4733

Re: "Snap" for Clipper

...  3942                   3943  3950 ACOORS                  WINDOW.PRG     1537  1540  1541  1541 ACTION                  WINDOW.PRG     3897  3899 ADDCONTROL()           (function  in ?)    WINDOW.PRG      495 ADIALOGS                WINDOW.PRG     3239  3239  3288 ADJBOTTOM()            (function ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6694

Re: ayuda con tactivex

... WS_VISIBLE, WS_TABSTOP ) ::cProgID = cProgID ::cString = ActXString( cProgID ) ::Register() ? 'paso1' if ! Empty( oWnd:hWnd ) ::Create() oWnd:AddControl( Self ) ? 'paso2' ::hActiveX = CreateActiveX( ::hWnd, cProgID, Self ) ? 'paso3' ::oOleAuto = TOleAuto():New( ActXPdisp( ::hActiveX ) ) Saludos!
by GuillermoMtz
Thu Aug 29, 2013 10:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con tactivex
Replies: 4
Views: 1056

Re: TO ANTONIO HELP FOR BLINK

... AS NUMERIC INIT 0 METHOD Initiate( 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 ...
by Silvio.Falconi
Tue May 28, 2013 9:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO ANTONIO HELP FOR BLINK
Replies: 9
Views: 1662

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 ...
by Silvio.Falconi
Tue May 28, 2013 7:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO ANTONIO HELP FOR BLINK
Replies: 9
Views: 1662

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 como 0 ...
by antolin
Mon May 27, 2013 9:35 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un control en un TPanel
Replies: 11
Views: 2592

Un control en un TPanel

... otras veces y no he tenido problemas, pero directamente sobre windows. Entiendo que en su método NEW() en vez de pasar el flujo del programa por AddControl() pasda por DefControl() y no le asigna el ::nId al TPANEL y eso que durante la definicion del control (un SAY por ejemplo) le digo OF oDlg, ...
by antolin
Thu May 23, 2013 11:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un control en un TPanel
Replies: 11
Views: 2592

Fuga de recursos

... lleva algo asi como cinco horas trabajando salta un error tal que: Descripcion Error: Error BASE/1004 Class: 'SYMBOL' has no exported method: ADDCONTROL Args: [ 1] = U SYMBOL [ 2] = U nil NIL Me huele que la cosa es tema de recursos; que en mi aplicacion tengo que tener un puñado de "fugas" ...
by hmpaquito
Fri Nov 18, 2011 9:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fuga de recursos
Replies: 16
Views: 5092

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

... ) ::Create( "STATIC" ) 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: 1760

Pregunta esta clase dibuja la regla a cm

... := .f. #endif ::SetColor( ::nClrText, ::nClrPane ) ::Register( nOR( CS_VREDRAW, CS_HREDRAW ) ) if ! Empty( oWnd:hWnd ) ::Create() oWnd:AddControl( Self ) else oWnd:DefControl( Self ) endif return Self //----------------------------------------------------------------------------// METHOD ...
by Vladimir Zorrilla
Fri Aug 21, 2009 5:40 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pregunta esta clase dibuja la regla a cm
Replies: 0
Views: 1171

Re: Memoria no liberada en ActiveX - arreglado!

... ::nStyle = nOR( WS_CHILD, WS_VISIBLE ) ::cProgID = cProgID ::cString = ActXString( cProgID ) ::Register() if ! Empty( oWnd:hWnd ) ::Create() oWnd:AddControl( Self ) ::hActiveX = CreateActiveX( ::hWnd, cProgID, Self ) ::nTop = nRow ::nLeft = nCol ::nWidth = nWidth ::nHeight = nHeight ::ReadTypes() ...
by MGA
Wed Apr 08, 2009 1:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Memoria no liberada en ActiveX - arreglado!
Replies: 18
Views: 6354

... lAllWidth,; oFont ) CLASS TFolder ..... if ! Empty( oWnd:hWnd ) #ifdef __CLIPPER__ ::Create() #else ::Create( "SysTabControl32" ) #endif oWnd:AddControl( Self ) else oWnd:DefControl( Self ) endif .... return Self por favor indicame si me funciona con estas versiones y de los contrario cuanto ...
by noe aburto
Mon Dec 08, 2008 4:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SysTabControl32 en tFolder()
Replies: 9
Views: 1146

... nClrText, nClrBack ) ::Register( nOR( CS_VREDRAW, CS_HREDRAW ) ) if ! Empty( oWnd:hWnd ) ::Create() ::Default() if ::l3D ::Set3DLook() endif oWnd:AddControl( Self ) else oWnd:DefControl( Self ) endif if ::lDrag ::CheckDots() endif return Self //----------------------------------------------------------------------------// ...
by karinha
Tue Sep 23, 2008 7:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Para Karinha
Replies: 17
Views: 3679

... ) .and. ::cAlias != "TREE_" If ! Empty( ::oWnd:hWnd ) ::Create() If oFont != Nil ::SetFont( oFont ) EndIf ::lVisible = .T. ::Default() ::oWnd:AddControl( Self ) Else ::oWnd:DefControl( Self ) If oFont != Nil ::SetFont( oFont ) EndIf ::lVisible = .F. EndIf ::nHeightFoot := 0 ::nHeightCell := ...
by Natter
Mon Sep 08, 2008 11:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bChange
Replies: 9
Views: 5460
Next

Return to advanced search