... ; 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
... 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 ...
... 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 ...
... 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 ...
... .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()), ...
... .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()), ...
... /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 ...
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
... 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 ...
... 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.