Get decimal picture

Re: Get decimal picture

Postby sambomb » Fri Jul 12, 2013 8:00 pm

Otto wrote:Hello Samir,
can you please post the Workaround.
Thanks in advance
Otto


Code: Select all  Expand view

   oGet:cPicture := cMascara
   oGet:oGet:Picture := cMascara

   bBackupValid := oGet:bValid
   oGet:bValid := {||.T.}

   Pause(0.01)

   oGet:bValid := bBackupValid

   oGet:Refresh()
   
****************************************************************************
procedure Pause( nSeconds)
****************************************************************************

local oDlgPause, bAction
local nStart := GetTickCount()

   Default nSeconds := 1

   bAction := { || WaitSeconds( nSeconds ) }

   DEFINE DIALOG     oDlgPause;
          FROM       -10,-10 TO 1, 1;
          STYLE      nOr( DS_MODALFRAME, WS_POPUP )

   oDlgPause:nTop := -20
   oDlgPause:nLeft := -20

   oDlgPause:bStart := { || Eval( bAction, oDlgPause ),  oDlgPause:End(), SysRefresh() }

   ACTIVATE DIALOG oDlgPause

Return NIL
 
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
User avatar
sambomb
 
Posts: 388
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil

Re: Get decimal picture

Postby Otto » Fri Jul 12, 2013 8:26 pm

Samir, thank you.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 115 guests