Error Tabs
Posted: Sun Oct 19, 2008 7:38 pm
What is wrong with this tab, use left when it becomes distorted.
Code: Select all
*****--- Windows MDICHILD ---***************************************************
DEFINE WINDOW oWndChild MDICHILD TITLE "Contas a Receber"
*****--- DIALOG PRINCIPAL ---***************************************************
DEFINE DIALOG oDlg RESOURCE 1004 OF oWndChild
oDlg:oFont:=ArialBR1
*****--- PAGES / TABS - DIALOG 1004 PRINCIPAL ---*******************************
REDEFINE PAGES oPag ID 102 OF oDlg ;
DIALOGS 1005, 1005
REDEFINE TABS oTabs ID 104 OF oDlg ;
PROMPT "&Abertas", "&Recebidas" ;
ACTION {oPag:setoption(oTabs:nOption)}
oDlg:oLeft = oTabs
*****--- DIALOG 1005 Opcao 1 do oTabs (Em Abertas) ---**************************
REDEFINE PAGES oPag1 ID 102 OF oPag:aDialogs[ 1 ] ;
DIALOGS 1007,1010, 1011
REDEFINE TABS oTabs1 ID 101 OF oPag:aDialogs[ 1 ] ;
PROMPTS "Nome do Cliente", "Número do Titulo", "Data de Emissão/Vcto" ;
ACTION {oPag1:setoption(oTabs1:nOption)}
oPag:aDialogs[ 1 ]:oTop = oTabs1