Erro com Tabs em janelas MDI ???

Erro com Tabs em janelas MDI ???

Postby Ale SB » Tue Apr 22, 2008 12:38 pm

Que erro pode ser este ?
Acontece sempre quando abro el Dialog com Tabs2007 e movimento el Mouse.


ERRO.LOG
Code: Select all  Expand view  RUN
Error description: Error BASE/1075  Argument error: >
   Args:
     [   1] = U   
     [   2] = N   0

Stack Calls
===========
   Called from: TABS.PRG => TTABS:MOUSELEAVE(0)
   Called from: TABS.PRG => TTABS:HANDLEEVENT(0)
   Called from: WINDOW.PRG => _FWH(0)
   Called from:  => WINRUN(0)
   Called from: WINDOW.PRG => TMDIFRAME:ACTIVATE(0)
   Called from: SB_Main.prg => MAIN(92)


Codigo.Prg
Code: Select all  Expand view  RUN
  DEFINE WINDOW oWndChild MDICHILD TITLE "Contas a Receber" + "  " + Alias()

*****--- DIALOG PRINCIPAL ---***************************************************   
    DEFINE DIALOG oDlg RESOURCE 1005 OF oWndChild 
   
*****--- PAGES DIALOG 1005 ---**************************************************   
      REDEFINE PAGES oPag id 301 of oDlg ;           
               DIALOGS 1006                 
     
      REDEFINE TABS oTabs ID 302 OF oDlg ;
             PROMPT " Tab 1 ",;
                    " Tab 2 " ,;
                    " Tab 3 "
                   
             oDlg:oTop = oTabs

    ACTIVATE DIALOG oDlg NOWAIT ;
             ON INIT (ChangeParent( oDlg, oWndChild ))
                     
    oDlg:End()           
    oWndChild:SetSize( 800, 400 )  //-->Tamnaho da Janela em MDI
   
  ACTIVATE WINDOW oWndChild MAXIMIZED

RETURN nil


Salutos Ale
aleseribeli@hotmail.com

FwH, Hb Svn, ADS 8.1, ADS 10, Pelles C, FwPPC, MsVc 2008, MsVc 2010
"Conhecimento, você não subtrai quando divide; mas soma e multiplica."
**---Mário Persona---**
User avatar
Ale SB
 
Posts: 248
Joined: Wed Jan 11, 2006 11:30 am
Location: Campo Grande-MS / Brasil

Postby Antonio Linares » Tue Apr 22, 2008 2:13 pm

Ale,

Tienes que añadir esta línea en la clase TTabs Method Redefine():

::nOver = 0
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42161
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: SantaCroya and 46 guests