Problema ao redimensionar WINDOW principal com tabs

Problema ao redimensionar WINDOW principal com tabs

Postby MGA » Tue Mar 04, 2008 7:41 pm

Problema ao redimensionar WINDOW principal com tabs - fwh802.

Image
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1254
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Postby Antonio Linares » Tue Mar 04, 2008 10:40 pm

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
User avatar
Antonio Linares
Site Admin
 
Posts: 42159
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby MGA » Wed Mar 05, 2008 11:20 am

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

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1254
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Postby MGA » Wed Mar 05, 2008 12:54 pm

up!
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1254
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Postby MGA » Wed Mar 05, 2008 12:54 pm

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

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1254
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Postby Vagner » Wed Mar 05, 2008 1:31 pm

Olá,
Não seja tão impaciente :D,
Tente colocar :
oWndDisk:bRezise := {||oTabs:Refresh()}
Abraços
Vagner Wirts
São Paulo-Brasil
User avatar
Vagner
 
Posts: 31
Joined: Wed Oct 26, 2005 12:45 pm
Location: São Paulo-Brasil

Postby MGA » Wed Mar 05, 2008 2:01 pm

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

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1254
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Postby Antonio Linares » Wed Mar 05, 2008 2:47 pm

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
User avatar
Antonio Linares
Site Admin
 
Posts: 42159
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby MGA » Wed Mar 05, 2008 4:55 pm

obrigado Sr. Antonio!
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1254
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], wilsongamboa and 80 guests