Search found 100 matches: ovscroll

Return to advanced search

CLASS modification

... to what I described before: Define a horizontal scrollbar in addition to the vertical one. This would be similar to the line DEFINE SCROLLBAR ::oVScroll VERTICAL OF Self RANGE 1,2, but with HORIZONTAL instead of VERTICAL. Adjust the SetRange() method to set the range of the horizontal scrollbar ...
by Otto
Tue May 23, 2023 7:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS modification
Replies: 33
Views: 1710

Re: Owner of the object

hi Natter, Here I need the owner of the oVScroll object. perhaps this Method can help METHOD GetScrollbarObj( oSelf, lVScroll ) CLASS TGridLOCAL oObj, cTitle := ""LOCAL hWnd := 0   DEFAULT oSelf := SELF   DEFAULT lVScroll := ...
by Jimmy
Thu Mar 02, 2023 10:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Owner of the object
Replies: 7
Views: 350

Re: Owner of the object

... ;          {||self:=HB_QSelf(),val(::cText())<=1}) However, this will not work because self is an oVScrolls object (see method :Spinner). Here I need the owner of the oVScroll object. Of course, this problem can be solved by writing your own version ...
by Natter
Wed Mar 01, 2023 9:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Owner of the object
Replies: 7
Views: 350

Re: Brw:VGoBottom() does not work in xBrowse

Just define the needed position from inside the used DBF
and not from a defined xBrowse row-position like :

activate dialog oDlg centered ;
on init DBGOBOTTOM() // seek or anything else

// on init ( oBrw:VGoBottom(), oBrw:oVScroll:SendMsg( VK_DOWN ) )

regards
Uwe :D
by ukoenig
Tue Jun 09, 2020 10:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Brw:VGoBottom() does not work in xBrowse [SOLVED]
Replies: 4
Views: 810

Re: Implementando una Clase TExplorerBar propia de FWH

Buenos dias: Pues he dado una solución a este problema. No sé si es la más ortodoxa, pero a mi me vale: ::oVScroll:bGoUp = {|| ::VScrollSkip( - 10 ) } ::oVScroll:bGoDown = {|| ::VScrollSkip( 10 ) } // ::oVScroll:bPageUp = {|| ::VScrollSkip( - ::oVScroll:nPgStep ) } // ::oVScroll:bPageDown ...
by pacotre
Sat May 16, 2020 10:15 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Implementando una Clase TExplorerBar propia de FWH
Replies: 57
Views: 8975

Re: Problem with ximage

... on the image On old test ( with Image class) @ 0, 0 XIMAGE oImage SIZE 280, 200 OF oCattura oImage:bLClicked = { | nRow, nCol | MouseDown( oImage:oVScroll:GetPos()+nRow, oImage:oHScroll:GetPos()+nCol) } then I cannot converte this command "oImage:oVScroll:GetPos()+nRow" run good with ...
by Silvio.Falconi
Sat Oct 13, 2018 8:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with ximage
Replies: 9
Views: 1058

Re: scroll on folder

... run) #include "fivewin.ch" #include "constant.ch" #define WS_VSCROLL 2097152 // 0x00200000L Function test() Local oDlg,oFolder,oVScroll Local nBottom := 33 Local nRight := 115 Local nWidth := Max( nRight * DLG_CHARPIX_W, 180 ) Local nHeight := nBottom * DLG_CHARPIX_H local noption ...
by Silvio.Falconi
Sun Feb 11, 2018 4:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: scroll on folder
Replies: 6
Views: 1128

Re: SCROLLs en MDI

Xevi, > Control de los SCROLLS Tienes que programarlo. Ejemplo (busca en FWH/samples por *.prg conteniendo PAGEUP): ::oWnd:oVScroll:SetRange( nV1,nV2 ) ::oWnd:oVScroll:bGoDown := {|| ::VScroll() } ::oWnd:oVScroll:bGoUp := {|| ::VScroll() } ::oWnd:oVScroll:bPageUp := {|| ::VScrollPgUp() ...
by Antonio Linares
Sun Jan 14, 2018 6:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: SCROLLs en MDI
Replies: 4
Views: 1157

Re: bug report: sbrowse without vertical scroll

AntoninoP wrote:You are right, the crash is pressing CTRL+C and CTRL+R.
Maybe i was trying to copy the cell value :?

Yes. When we try to copy cell value with Ctrl-C and oVScroll is nil. we get into this error.
We now removed these two lines.
by nageswaragunupudi
Fri Mar 06, 2015 3:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug report: sbrowse without vertical scroll
Replies: 5
Views: 991

Re: bug report: sbrowse without vertical scroll

... in my tests. K_PGUP and K_PGDN are defined in Inkey.ch. Pressing Ctrl-R or Ctrl-C execute these lines of code and can result in runtime error when oVScroll is nil. This is a legacy code from the time xbrowse was first created and does not serve the intended purpose any more. Right fix is to remove ...
by nageswaragunupudi
Wed Mar 04, 2015 2:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug report: sbrowse without vertical scroll
Replies: 5
Views: 991

Re: Objeto ficticio

... el metodo setPos para que haga algo o que llame a una funcion que no haga nada o algo que tu necesites con lo que evitara el if y el error: IF ::oVSCroll # NIL ::oVSCroll:SetPos( nPos ) ENDIF pasaría a ::oVSCroll:SetPos( nPos ) siempre... Si eres de Sevilla podríamos que dar algún día o llamarnos ...
by xmanuel
Fri Oct 03, 2014 4:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Objeto ficticio
Replies: 18
Views: 3618

Re: Objeto ficticio

... no va a afectar sensiblemente el resto del proceso, seguramente hay muchos puntos más importantes con más peso en el proceso. De echo    IF ::oVSCroll # NIL       ::oVSCroll:SetPos( nPos )    ENDIF es MUCHO más rápido que EVAL(::bVSCRoll) Ya que SI o SI pones Eval y el codeblock ...
by Carlos Mora
Wed Oct 01, 2014 2:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Objeto ficticio
Replies: 18
Views: 3618

Objeto ficticio

... que pulso una tecla tengo que controlar si el SCROLL está visible o no (existe o no existe). Supone una buena cantidad de líneas como esta: IF ::oVSCroll # NIL   ::oVSCroll:SetPos( nPos )ENDIF En principio lo solucioné añadiendo un DATA a mi CLASE "::bVSCRoll" que defino como:::bVSCRoll ...
by antolin
Wed Sep 24, 2014 12:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Objeto ficticio
Replies: 18
Views: 3618

Re: Scroll Box

... del Scroll, no sabría como hacerlo. Yo lo he solucionado NO definiendo mi control con estilo WS_VSCROLL, sino creando uno propio con @y,x SCROLL oVSCroll ..... SIZE nWidth,nHeight VERTICAL y así lo controlo yo. Lo quito y lo pongo cuando creo necesario. Lo quito destruyéndolo oVSCroll:End(); ...
by antolin
Sat Sep 20, 2014 7:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Scroll Box
Replies: 19
Views: 2732

Re: Scroll Box

... con los scrolls dimensionados con SetScrollInfo(), es que cuando movemos el scroll con el thumb para saber su posición máxima me sirve el nuevo oVSCroll:nMax (que es el antiguo nMax + nPgStep), pero cuando movemos el Scroll con los demás controles hay que utilizar el nuevo nMax-nPgStep, es decir ...
by antolin
Fri Sep 19, 2014 6:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Scroll Box
Replies: 19
Views: 2732
Next

Return to advanced search