Search found 33 matches: getpos

Return to advanced search

Help for scrollBar - Resolved -

... ; ON DOWN ( dbSkip(),; If( EoF(), dbGoBottom(),), Rinfresca(oSay) ); ON UP ( dbSkip( -1 ),Rinfresca(oSay) ) ; ON THUMBPOS (DBGOTO(oScrollInizio:getpos()) ,; If( EoF(), dbGoBottom(),), Rinfresca(oSay) ) UPDATE But not run ok
by Silvio.Falconi
Sun Apr 17, 2022 10:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help for scrollBar - Resolved -
Replies: 10
Views: 530

Re: Image scroll

ok
I use Scroll on image...
If I use oImage:Vscroll:getpos() or oImage:Hscroll:getpos()
why it is not the same result ?
by Silvio.Falconi
Wed Oct 17, 2018 8:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Image scroll
Replies: 4
Views: 664

Re: Problem with ximage

... 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 Image It ...
by Silvio.Falconi
Sat Oct 13, 2018 8:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with ximage
Replies: 9
Views: 1055

Re: several questions about GET class

... we can make this work. For now I will post the function for as far as I am, but I think I can make the function more functional with SetPos and GetPos Methods. I will work on this tomorrow and let you know the result. #include "FiveMac.ch"function Main()   local oDlg  ...
by plantenkennis
Thu Jun 28, 2018 6:13 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: several questions about GET class
Replies: 14
Views: 5238

Error E0019 #error: 'Class not declared for method:

... not declared for me thod: Set( cName, xValue )' .\prg\TPUBLIC.PRG(241) Error E0019 #error: 'Class "TPublic" not declared for me thod: GetPos( cName )' .\prg\TPUBLIC.PRG(251) Error E0019 #error: 'Class "TPublic" not declared for me thod: Release()' .\prg\TPUBLIC.PRG(262) Error ...
by Compuin
Tue Apr 26, 2016 4:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error E0019 #error: 'Class not declared for method:
Replies: 17
Views: 3293

Re: La nueva apariencia de EasyReport

... .Podemos cambiar el texto grabar por borrar y el código de borrado : Ojo que ese código es para listbox ( lo tenia ya ) , seria cambiar olbx:getPos() por olbx:nArrayAt y olbx:setitems() por olbx:setarray() function DelFont( oLbx )   local nID := Val(SUBSTR( oLbx:GetItem(oLbx:GetPos()), ...
by cnavarro
Sun Sep 21, 2014 6:46 pm
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: La nueva apariencia de EasyReport
Replies: 226
Views: 148280

Re: La nueva apariencia de EasyReport

... .Podemos cambiar el texto grabar por borrar y el código de borrado : Ojo que ese código es para listbox ( lo tenia ya ) , seria cambiar olbx:getPos() por olbx:nArrayAt y olbx:setitems() por olbx:setarray() function DelFont( oLbx )   local nID := Val(SUBSTR( oLbx:GetItem(oLbx:GetPos()), ...
by mastintin
Sun Sep 21, 2014 3:22 pm
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: La nueva apariencia de EasyReport
Replies: 226
Views: 148280

Re: La rueda del ratón debe mover todo el reporte arriba y abajo

... /100 y en un gopagedown() = ntotlaHeiht/10 5.- de momento olvidemonos del scroll del raton hasta resolver esto . Ahora los problemas .... ovscroll:getpos() ...¿ que devuelve ? en teoria devería devolver la posicion del scroll en la barra ? . A mi no me lo esta haciendo ... podriamos intentar declarar ...
by mastintin
Wed Sep 03, 2014 8:20 am
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: La rueda del ratón debe mover todo el reporte arriba y abajo
Replies: 27
Views: 14426

Re: Progress Bars, no funciona correctamente.

A ver, estos son los mensajes que tenemos para usar este control: #define PBM_SETRANGE (WM_USER+1) #define PBM_SETPOS (WM_USER+2) #define PBM_DELTAPOS (WM_USER+3) #define PBM_SETSTEP (WM_USER+4) #define PBM_STEPIT (WM_USER+5) #if (_WIN32_IE >= 0x0300) #define PBM_SETRANGE32 (WM_USER+6) // lParam ...
by Antonio Linares
Tue Jul 22, 2014 6:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Progress Bars, no funciona correctamente (Solucionado)
Replies: 27
Views: 5471

Re: preview alpha 2

... METHOD VScroll( nType, lPage, nSteps ) CLASS TPreview local nYfactor, nYorig, nStep DEFAULT lPage := .F. if nType == GO_UP if ::oWnd:oVScroll:GetPos() <= ::oWnd:oVScroll:nMin return nil endif else if ::oWnd:oVScroll:GetPos() > ::oWnd:oVScroll:nMax return nil endif endif nYfactor := Int( ...
by dobfivewin
Thu Jan 14, 2010 10:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2030

Re: GetPrintDC()

... static function VScroll(nType,lPage, nSteps) local nYfactor, nYorig, nStep DEFAULT lPage := .F. if nType == GO_UP if oWnd:oVScroll:GetPos() <= oWnd:oVScroll:nMin return nil endif else if oWnd:oVScroll:GetPos() > oWnd:oVScroll:nMax return nil endif endif nYfactor := Int(DEVICE:nVertRes()/oWnd:oVScroll:nMax) ...
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2704

problema urgente tvget

saludos

tengo el siguiente problema uso la clase tvget en mi sistema, trato de posecionarme en el caracter 7 del get pero no se deja utilizo el metodo getpos, setpos y ninguno me funciona alguien ya tiene esta solucion o sabe como lo puedo hacer


antonio
by tomafa
Tue Aug 25, 2009 2:00 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema urgente tvget
Replies: 7
Views: 990

Re: Tab Key on RichText

... the cursor has not moved. The reason I know the cursor is moving just before bKeyDown is called when VK_TAB is pressed, is because I traced ortf:getpos() after each key stroke. For some reason the cursor position is reset to the origin when VK_TAB is pressed. Only after that my bKeyChar gets ...
by reinaldocrespo
Sat May 16, 2009 5:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tab Key on RichText
Replies: 15
Views: 2518

Re: Tab Key on RichText

... oRtf control, thus all/any tab key only gets inserted at the start of the text. Any attempt to find cursor position in bKeyChar yields zero (oRtf:GetPos()). It seems like some other control is trapping the tab key before ortf:bKeyChar does. Any ideas? Reinaldo.
by reinaldocrespo
Sat May 16, 2009 2:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tab Key on RichText
Replies: 15
Views: 2518

Re: code to retrieve index of a item from a listbox

Try oLbx:GetPos()

Regards

Anser
by anserkk
Tue Feb 24, 2009 11:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: code to retrieve index of a item from a listbox
Replies: 4
Views: 531
Next

Return to advanced search