FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Error al actualizar a 11.11 :: URGENTE ::
Posts: 401
Joined: Thu Oct 06, 2005 10:15 PM
Error al actualizar a 11.11 :: URGENTE ::
Posted: Fri Dec 16, 2011 02:39 PM
Saludos,



Pablo Alberto Vidal

/*

------------------------------------------------------

Harbour 3.2.0, Fivewin 17.02, BCC7

------------------------------------------------------

*/
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error al actualizar a 11.11 :: URGENTE ::
Posted: Fri Dec 16, 2011 03:07 PM
Pablo,

Como te he comentado por teléfono, de momento declara esas funciones "dummy". Nosotros vamos a quitar ese módulo de FWH y te enviamos nuevas librerias. Gracias

function Win_PrinterExists()
return nil

Aqui tienes el ejemplo del caret simulado en el GET que hemos comentado. Recibe un fuerte abrazo desde España,

pablo.prg
Code (fw): Select all Collapse
#include "FiveWin.ch"

#define GRAY_BRUSH  2

function Main()

   local oDlg, cText := "Hola", oTmr 

   DEFINE DIALOG oDlg

   @ 1, 1 GET oGet VAR cText SIZE 60, 10

   @ 3, 10 BUTTON "ok"

   ACTIVATE DIALOG oDlg CENTERED ;
      ON INIT oTmr := BuildTimer( oDlg, oGet ) ;
      VALID ( oTmr:End(), .T. ) 

return nil

function BuildTimer( oDlg, oGet )

   local oTimer

   DEFINE TIMER oTimer INTERVAL 700 ACTION PaintCaret( oGet ) OF oDlg
   
   ACTIVATE TIMER oTimer
   
return oTimer

function PaintCaret( oGet )

   static lVisible := .F.
   
   if ! lVisible
      FillRect( oGet:GetDC(), { 2, 2, 14, 10 }, GetStockObject( GRAY_BRUSH ) )
   
      oGet:ReleaseDC()
   else
      oGet:Refresh()
   endif      

   lVisible = ! lVisible
   
return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 401
Joined: Thu Oct 06, 2005 10:15 PM
Re: Error al actualizar a 11.11 :: URGENTE ::
Posted: Sat Dec 17, 2011 04:34 PM

Hola Antonio,

Ya resolvi lo del cursor, Gracias...
Ahora falta lo de las funciones, pues sin ellas no puedo imprimir...

Saludos,



Pablo Alberto Vidal

/*

------------------------------------------------------

Harbour 3.2.0, Fivewin 17.02, BCC7

------------------------------------------------------

*/

Continue the discussion