Layers en Say

Layers en Say

Postby nixbeau » Mon Mar 11, 2013 12:34 pm

Amigos, tengo que poner 4 saays mismo lugar (un grande como un fondo, una indicación de la cantidad, una descripción y una referencia a la información del código).
¿Cómo puedo poner en capas para que uno no se esconde detrás de la otra?
¡gracias
nixbeau
 
Posts: 28
Joined: Sun Jan 08, 2012 6:17 pm

Re: Layers en Say

Postby MarioG » Mon Mar 11, 2013 1:53 pm

Nixbeau
Si entiendo bien tu necesidad; Lo hice, con Workshoop:
Image

el recuadro gris es un xBrowse, el recuadro del medio es un say
Muestro el Browse (esta oculto el say), luego de cierto proceso, oculto el browse, muestro el say con un timer.

Saludos
Resistencia - "Ciudad de las Esculturas"
Chaco - Argentina
User avatar
MarioG
 
Posts: 1380
Joined: Fri Oct 14, 2005 1:28 pm
Location: Resistencia - Chaco - AR

Re: Layers en Say

Postby nixbeau » Mon Mar 11, 2013 3:55 pm

MarioG wrote:Nixbeau
Si entiendo bien tu necesidad; Lo hice, con Workshoop:
Image

el recuadro gris es un xBrowse, el recuadro del medio es un say
Muestro el Browse (esta oculto el say), luego de cierto proceso, oculto el browse, muestro el say con un timer.

Saludos


Hice este ejemplo en coreldraw. el "say link background" está en frente de la otra says. Me gustaría saber cómo enviarlo hacia atrás.

Image

Saludos
nixbeau
 
Posts: 28
Joined: Sun Jan 08, 2012 6:17 pm

Re: Layers en Say

Postby Antonio Linares » Tue Mar 12, 2013 1:48 am

Prueba a crearlo antes que los otros, eso debe hacer que quede atras
regards, saludos

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

Re: Layers en Say

Postby nixbeau » Tue Mar 12, 2013 1:37 pm

Antonio Linares wrote:Prueba a crearlo antes que los otros, eso debe hacer que quede atras


En orden:
1) oSayVenda (backgroud)
2) oSayQuant
3) oSayVLQuant
4) oSayValor
5) oSayX
6) oSayDesc

al compilar el oSayVenda enfrenta y anula los otros componentes.


Code: Select all  Expand view
#INCLUDE 'FIVEWIN.CH'
FUNCTION mainPDV()

priv oSayNomeMerc, oSayDataHora, oSaySitCX
priv oSayVenda, oSayQuant, oSayVLQuant, oSayX, oSayDesc
priv oSayPreco, oSayVLPreco, oSaySubTot, oSayVLSubTot
PRIV oBtn, oBtnABC, oBtnS, oBtnF3, oBtnE, oBtnF4, oBtnC, oBtnP, oBtnF5F6, oBtnF7F8, oBtnQTD, oBtnF10, oBtnF6, oBtn123    
     

DEFINE DIALOG FRMPDV RESOURCE 'TELAPDV' color RGB(0,0,0),RGB(189,191,193)

Priv AFont[20]

   DEFINE FONT aFont[ 1 ]  NAME "Arial"    SIZE 0, -12 Bold        //    WEIGHT
   DEFINE FONT aFont[ 2 ]  NAME "Arial Rounded MT Bold"    SIZE 0, -40 Bold        //    WEIGHT
   DEFINE FONT aFont[ 3 ]  NAME "Arial Rounded MT Bold"    SIZE 0, -22 Bold        //    WEIGHT
   DEFINE FONT aFont[ 4 ]  NAME "Arial Rounded MT Bold"     SIZE 0, -28 Bold        //    WEIGHT
   DEFINE FONT aFont[ 5 ]  NAME "Courier New"               SIZE 0, -15 Bold Italic //    WEIGHT
   DEFINE FONT aFont[ 6 ]  NAME "Arial Rounded MT Bold"     SIZE 0, -16 Bold
   DEFINE FONT aFont[ 7 ]  NAME "Arial Rounded MT Bold"    SIZE 0, -26 Bold        //    WEIGHT
   DEFINE FONT aFont[ 8 ]  NAME "Courier New"               SIZE 0, -30 Bold
   DEFINE FONT aFont[ 9 ]  NAME "Arial"                         SIZE 0, -16 Bold
   DEFINE FONT aFont[ 10 ] NAME "MS Sans Serif"             SIZE 0, -30 Bold
   DEFINE FONT aFont[ 11 ] NAME "Courier New"               SIZE 0, -20 Bold
   DEFINE FONT aFont[ 12 ] NAME "Courier New"               SIZE 0, -16 Bold
   DEFINE FONT aFont[ 13 ] NAME "Courier New"               SIZE 0, -16
   DEFINE FONT aFont[ 14 ] NAME "Courier New"               SIZE 0, -12
   DEFINE FONT aFont[ 15 ] NAME "Courier New"               SIZE 0, -14
   DEFINE FONT aFont[ 16 ] NAME "Arial Rounded MT Bold"     SIZE 0, -13  //  Bold        //    WEIGHT
   DEFINE FONT aFont[ 17 ] NAME "Arial Rounded MT Bold"     SIZE 0, -20  //  Bold        //    WEIGHT
   DEFINE BRUSH oBRUSH RESOURCE "FUNDO"

   redefine say         oSayNomeMerc                                    ID 4001  color RGB(0,0,0),RGB(241,241,242)       
   redefine say         oSayDataHora                                      ID 4002  color RGB(0,0,0),RGB(241,241,242)             
   redefine say         oSaySitCX                                           ID 4003  color RGB(102,102,255),RGB(230,231,232)    

   redefine say         oSayVenda                                       ID 4004  color RGB(255,255,255),RGB(255,255,255)
   redefine say         oSayQuant                                       ID 4005 color RGB(0,0,0),RGB(230,231,232)
   redefine say         oSayVLQuant                                     ID 4006 color RGB(0,0,0),RGB(230,231,232)
   redefine say         oSayValor                                       ID 4007 color RGB(0,0,0),RGB(230,231,232)
   redefine say         oSayX                                               ID 4009 color RGB(0,0,0),RGB(230,231,232)
   redefine say         oSayDesc                                        ID 4008 color RGB(0,0,0),RGB(230,231,232)

   redefine say         oSayPreco                                       ID 4011 color RGB(0,0,0),RGB(230,231,232)//; oSayPreco:lTransparent := .t.  
   redefine say         oSayVLPreco                                     ID 4025 color RGB(0,0,0),RGB(230,231,232)//; oSayVLPreco:lTransparent := .t.
   redefine say         oSaySubTot                                      ID 4012 color RGB(0,0,0),RGB(230,231,232)//; oSaySubTot:lTransparent := .t.  
   redefine say         oSayVLSubTot                                    ID 4026 color RGB(0,0,0),RGB(230,231,232)//; oSayVLSubTot:lTransparent := .t.

    redefine BITMAP ID 4027 FILE "Imagens\btnTouch\barra.bmp"

    redefine BTNBMP oBtnS       prompt ""               ID 4013 FILE "Imagens\btnTouch\btntouch.bmp"        NO BORDER
    oBtnS:LoadBitmaps( ,,,,,,, "Imagens\btnTouch\btntouch2.bmp" )
   redefine BTNBMP oBtnF3       prompt ""               ID 4014 FILE "Imagens\btnTouch\btntouchf3.bmp"      NO BORDER
    oBtnF3:LoadBitmaps( ,,,,,,, "Imagens\btnTouch\btntouchf31.bmp" )
   redefine BTNBMP oBtnE        prompt ""               ID 4015 FILE "Imagens\btnTouch\btntouchE.bmp"       NO BORDER
    oBtnE:LoadBitmaps( ,,,,,,, "Imagens\btnTouch\btntouchE1.bmp" )
   redefine BTNBMP oBtnF4       prompt ""               ID 4016 FILE "Imagens\btnTouch\btntouchF4.bmp"      NO BORDER
    oBtnF4:LoadBitmaps( ,,,,,,, "Imagens\btnTouch\btntouchF41.bmp" )
   redefine BTNBMP oBtnC        prompt ""               ID 4017 FILE "Imagens\btnTouch\btntouchC.bmp"       NO BORDER
    oBtnC:LoadBitmaps( ,,,,,,, "Imagens\btnTouch\btntouchC1.bmp" )
   redefine BTNBMP oBtnP        prompt ""               ID 4018 FILE "Imagens\btnTouch\btntouchP.bmp"       NO BORDER
    oBtnP:LoadBitmaps( ,,,,,,, "Imagens\btnTouch\btntouchP1.bmp" )
   redefine BTNBMP oBtnF5F6 prompt ""               ID 4019 FILE "Imagens\btnTouch\btntouchF5F6.bmp"    NO BORDER
    oBtnF5F6:LoadBitmaps( ,,,,,,, "Imagens\btnTouch\btntouchF5F61.bmp" )
   redefine BTNBMP oBtnF7F8 prompt ""               ID 4020 FILE "Imagens\btnTouch\btntouchF7F8.bmp"    NO BORDER
    oBtnF7F8:LoadBitmaps( ,,,,,,, "Imagens\btnTouch\btntouchF7F81.bmp" )
   redefine BTNBMP oBtnQTD     prompt ""                ID 4021 FILE "Imagens\btnTouch\btntouchQTD.bmp"     NO BORDER
    oBtnQTD:LoadBitmaps( ,,,,,,, "Imagens\btnTouch\btntouchQTD1.bmp" )
   redefine BTNBMP oBtnF10      prompt ""               ID 4022 FILE "Imagens\btnTouch\btntouchF10.bmp"     NO BORDER
    oBtnF10:LoadBitmaps( ,,,,,,, "Imagens\btnTouch\btntouchF101.bmp" )
   redefine BTNBMP oBtnF6       prompt ""               ID 4023 FILE "Imagens\btnTouch\btntouchF6.bmp"      NO BORDER
    oBtnF6:LoadBitmaps( ,,,,,,, "Imagens\btnTouch\btntouchF61.bmp" )
   redefine BTNBMP oBtn123      prompt ""               ID 4024 FILE "Imagens\btnTouch\btntouch123.bmp"     NO BORDER
    oBtn123:LoadBitmaps( ,,,,,,, "Imagens\btnTouch\btntouch1231.bmp" )
   redefine BTNBMP oBtnABC      prompt ""               ID 4010 FILE "Imagens\btnTouch\btntouchABC.bmp"     NO BORDER
    oBtnABC:LoadBitmaps( ,,,,,,, "Imagens\btnTouch\btntouchABC1.bmp" )


ACTIVATE DIALOG FRMPDV CENTERED
RETURN .T.
 


Image
nixbeau
 
Posts: 28
Joined: Sun Jan 08, 2012 6:17 pm


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 140 guests