Scroll xBrowse

Post Reply
oliveiros junior
Posts: 138
Joined: Tue Mar 20, 2007 3:13 pm
Has thanked: 1 time
Been thanked: 2 times

Scroll xBrowse

Post by oliveiros junior »

Hello, good morning!

I would like to know if it is possible to increase the width of the vertical scroll bar in xBrowse and also its color.

Thank you in advance!

Oliveiros Junior
User avatar
Antonio Linares
Site Admin
Posts: 42715
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 93 times
Been thanked: 103 times
Contact:

Re: Scroll xBrowse

Post by Antonio Linares »

Prueba así:

MoveWindow( oBrw:oVScroll:hWnd, oBrw:nWidth - 30, 0, 30, oBrw:nHeight, .T. )
regards, saludos

Antonio Linares
www.fivetechsoft.com
oliveiros junior
Posts: 138
Joined: Tue Mar 20, 2007 3:13 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Scroll xBrowse

Post by oliveiros junior »

Olá Antônio,

Está dizendo que o método hwnd não é exportado.

Error description: Error BASE/1004 No exported method: HWND

Att.,

Junior
User avatar
Antonio Linares
Site Admin
Posts: 42715
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 93 times
Been thanked: 103 times
Contact:

Re: Scroll xBrowse

Post by Antonio Linares »

No se puede ya que la barra de scroll la dibuja Windows por el estilo WS_VSCROLL

Tendrias que implementar el dibujado propio de la barra de scroll y eso es bastante complicado ( WM_NCCALCSIZE y WM_NCPAINT )
regards, saludos

Antonio Linares
www.fivetechsoft.com
oliveiros junior
Posts: 138
Joined: Tue Mar 20, 2007 3:13 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Scroll xBrowse

Post by oliveiros junior »

Obrigado Antônio.
User avatar
cnavarro
Posts: 6601
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Has thanked: 6 times
Been thanked: 8 times

Re: Scroll xBrowse

Post by cnavarro »

Search for GetSystemMetrics windows function
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Post Reply