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