Problema ao redimensionar WINDOW principal com tabs

Post Reply
MGA
Posts: 1219
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá
Contact:

Problema ao redimensionar WINDOW principal com tabs

Post by MGA »

Problema ao redimensionar WINDOW principal com tabs - fwh802.

Image
ubiratanmga@gmail.com

FWH17.04
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Por favor muéstranos (PRG) como has creado los Tabs en tu ventana principal ?

Son controles "hijos" de la ventana principal ó de otro control ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
MGA
Posts: 1219
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá
Contact:

Post by MGA »

Antonio,

ventana principal:

DEFINE WINDOW oWnd ;
ICON OICO ;
TITLE ".:: SISTEMAS ::. "+NomeCliente;
MENU PreparaMenu() MENUINFO 4 MDI


vendata para controle de pedidos, utilizando tabs:


DEFINE WINDOW oWndDisk OF ownd MDICHILD TITLE "Pedidos" icon oico color GetSysColor(COLOR_BTNFACE),GetSysColor(COLOR_BTNFACE)

@ 8, 0 TABS oTabs PROMPTS " Pedidos "," Mapa " OF oWndDisk ;
BITMAPS "PROD2", "GOOGLE";
ACTION ( aDlgs[ nDlg ]:Hide(), nDlg := nOption,;
aDlgs[ nOption ]:Show(), aDlgs[ nOption ]:SetFocus(), if(nDlg=2,(FWHmostramapa(),refresharrayall(o2says)),) ) color CLR_BLACK

oWndDisk:obottom := oTabs
oWndDisk:Resize()


DEFINE DIALOG oDlg1 RESOURCE "PEDIDO1" OF oWndDisk
ACTIVATE DIALOG oDlg1 NOWAIT ON INIT (oDlg1:Move( 0, 0 ))


DEFINE DIALOG oDlg2 RESOURCE "PEDIDO2" OF oWndDisk
ACTIVATE DIALOG oDlg2 NOWAIT ON INIT (oDlg2:Move( 0, 0 ))


oDlg2:Hide()
oDlg1:SetFocus()
aDlgs:={ oDlg1, oDlg2 }
ACTIVATE WINDOW oWndDisk maximized
ubiratanmga@gmail.com

FWH17.04
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
MGA
Posts: 1219
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá
Contact:

Post by MGA »

up!
ubiratanmga@gmail.com

FWH17.04
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
MGA
Posts: 1219
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá
Contact:

Post by MGA »

UP!!!!!!!!!!!!!!!!1
ubiratanmga@gmail.com

FWH17.04
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
User avatar
Vagner
Posts: 31
Joined: Wed Oct 26, 2005 12:45 pm
Location: São Paulo-Brasil

Post by Vagner »

Olá,
Não seja tão impaciente :D,
Tente colocar :
oWndDisk:bRezise := {||oTabs:Refresh()}
Abraços
Vagner Wirts
São Paulo-Brasil
MGA
Posts: 1219
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá
Contact:

Post by MGA »

Vagner, não funcionou... Nesta window eu monta dialogs de resource, ai é que tá... os recursos ao redimensionar a Window acabam ficando por cima da tab.


Obrigado
ubiratanmga@gmail.com

FWH17.04
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

SGS,

Prueba a darle menos altura al diálogo (en el recurso), puesto que los Tabs estan bien situados, y es el diálogo es que se situa encima de ellos.
regards, saludos

Antonio Linares
www.fivetechsoft.com
MGA
Posts: 1219
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá
Contact:

Post by MGA »

obrigado Sr. Antonio!
ubiratanmga@gmail.com

FWH17.04
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
Post Reply