FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Bug en Tdialog
Posts: 1516
Joined: Thu May 27, 2010 02:06 PM
Bug en Tdialog
Posted: Mon May 13, 2013 04:08 PM

Existe un pequeño bug en Tdialog , y es que no se asigna en el New la Data cVarName . Cuando queremos ejecutar el metodo cGenprg () lanza error al ser cVarName Nil .
Saludos.

Posts: 1516
Joined: Thu May 27, 2010 02:06 PM
Re: Bug en Tdialog
Posted: Tue May 14, 2013 09:08 AM
Para corregirlo :
Code (fw): Select all Collapse
METHOD New( nTop, nLeft, nBottom, nRight, cCaption, cResName, hResources,;
            lVbx, nStyle, nClrText, nClrBack, oBrush, oWnd, lPixels,;
            oIco, oFont, nHelpId, nWidth, nHeight, lTransparent, aNewGradColors, cVarName ) CLASS TDialog
...

if lVbx
     if ! VbxInit( GetInstance(), "" )
         MsgAlert( "VBX support not available" )
      endif
   endif

   DEFAULT cVarName := "oDlg" 

   ::cVarName = cVarName

....
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Bug en Tdialog
Posted: Tue May 14, 2013 12:51 PM

Manuel,

gracias, incluido para el próximo build :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion