xbrowser no muestra el scroll

xbrowser no muestra el scroll

Postby goosfancito » Wed Dec 13, 2023 8:56 am

Hola.
Uso un Listbox desde los recursos. ya he seteado el scrool y en el codigo tengo esto:
Code: Select all  Expand view
  WITH OBJECT ::oBrw
      :nMarqueeStyle       := 5
      :bClrStd             := { || IF( ::oBrw:KeyNo() % 2 == 0, ;
                                       { CLR_BLACK, RGB( 255, 255, 255 ) }, ;
                                       { CLR_BLACK, RGB( 214, 255, 245 ) } ) }

      :bClrSel             := { || { CLR_BLACK,  RGB( 160, 240, 240 ) } }

      :lKinetic            := .F.
      :ltransparent        := .F.
      :lHScroll := .t.
      :lRecordSelector     := .F.
      :lAllowColSwapping   := .F.
      :lColDividerComplete := .F.
      :nRowDividerStyle    := 4
      :nStretchCol         := STRETCHCOL_LAST
      :nColDividerStyle    := 4

      :nHeaderHeight       := 25
      :nRowHeight          := 23
      :lFlatStyle          := .T.
 


pero no me muestra el scroll vertical, en que le estoy errando?
gracias
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: xbrowser no muestra el scroll

Postby Antonio Linares » Wed Dec 13, 2023 8:59 am

Estimado Gustavo,

Has especificado WS_VSCROLL como estilo en el recurso ?
regards, saludos

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

Re: xbrowser no muestra el scroll

Postby goosfancito » Wed Dec 13, 2023 9:22 am

Antonio Linares wrote:Estimado Gustavo,

Has especificado WS_VSCROLL como estilo en el recurso ?


no se donde hay qe ponerlo, uso pelesC
agrego una imagen

https://photos.app.goo.gl/ca3rTjAHJzk7Kkn19
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: xbrowser no muestra el scroll

Postby Antonio Linares » Wed Dec 13, 2023 9:41 am

Parece que ya lo tienes activado

Puedes copiar aqui el fichero rc ?
regards, saludos

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

Re: xbrowser no muestra el scroll

Postby goosfancito » Wed Dec 13, 2023 10:06 am

Antonio Linares wrote:Parece que ya lo tienes activado

Puedes copiar aqui el fichero rc ?



Code: Select all  Expand view
DLGCLIENTE DIALOGEX DISCARDABLE 6, 18, 448, 337
STYLE DS_SHELLFONT|WS_POPUP|DS_MODALFRAME|DS_CONTEXTHELP|DS_3DLOOK|WS_CAPTION|WS_SYSMENU|WS_VISIBLE
CAPTION ".: Cliente :."
FONT 8, "Tahoma", 0, 0, 1
{
  CONTROL " Datos del CONTACTO directo ", 4001, "Button", BS_GROUPBOX, 15, 13, 416, 87
  CONTROL "Nombres:", 4003, "Static", WS_GROUP, 33, 31, 97, 8
  CONTROL "Edit", 100, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 33, 41, 101, 12
  CONTROL "Apellidos:", 4004, "Static", WS_GROUP, 154, 31, 97, 8
  CONTROL "Edit", 102, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 154, 41, 118, 12
  CONTROL "Email:", 4002, "Static", WS_GROUP, 284, 31, 99, 8
  CONTROL "Edit", 104, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 284, 41, 125, 12
  CONTROL "Whatsapp:", 4010, "Static", WS_GROUP, 33, 61, 99, 8
  CONTROL "Edit", 106, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 33, 71, 101, 12
  CONTROL "País:", 4006, "Static", WS_GROUP, 154, 61, 99, 8
  CONTROL "", 108, "ComboBox", WS_BORDER|CBS_DROPDOWNLIST|CBS_SORT|WS_VSCROLL|WS_TABSTOP, 154, 71, 133, 65
  CONTROL "Ciudad:", 4008, "Static", WS_GROUP, 304, 61, 85, 8
  CONTROL "Edit", 110, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 304, 71, 105, 12
  CONTROL " Solicitantes ", 4005, "Button", BS_GROUPBOX, 15, 111, 416, 187
  CONTROL "", 112, "ListBox", LBS_SORT|LBS_NOTIFY|WS_VSCROLL|WS_TABSTOP, 28, 131, 323, 159
  CONTROL "&Agregar Solicitante", 200, "Button", BS_MULTILINE|WS_TABSTOP, 366, 133, 50, 36
  CONTROL "&Ver Carpeta", 202, "Button", WS_TABSTOP, 15, 308, 69, 17
  CONTROL "&Guardar carpeta", 204, "Button", WS_TABSTOP, 362, 311, 69, 17
}
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: xbrowser no muestra el scroll

Postby Antonio Linares » Wed Dec 13, 2023 10:10 am

Modifica esta línea:

CONTROL "", 112, "ListBox", LBS_SORT|LBS_NOTIFY|WS_VSCROLL|WS_TABSTOP, 28, 131, 323, 159

asi:

CONTROL "", 112, "TXBrowse", WS_VSCROLL|WS_TABSTOP, 28, 131, 323, 159
regards, saludos

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

Re: xbrowser no muestra el scroll

Postby leandro » Wed Dec 13, 2023 12:02 pm

Hola buenos días, en algún momento nos sucedió algo similar, si no estoy mal creo que hay que definir un control personalizado para que funcione, con las propiedades, que se ven en la imagen.
Image
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Embarcadero C++ 7.60 for Win32 ] [ FiveWin 23.07 ] [ xHarbour 1.3.0 Intl. (SimpLex) (Build 20230914) ]
User avatar
leandro
 
Posts: 1481
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia

Re: xbrowser no muestra el scroll

Postby George » Sat Dec 30, 2023 3:49 pm

Si utilizas RESOURCES en style debe colocar, para que aparezca el scroll en xBrowser, lo siguiente:
0x50D00000 ---> Barra Horizontal
0x50A00000 ---> Barra Vertical
George
 
Posts: 724
Joined: Tue Oct 18, 2005 6:49 pm


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 69 guests