wbrowse ----> xbrowse

Post Reply
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

wbrowse ----> xbrowse

Post by Silvio »

With Wbrowse( ceccarelli) I used a function to use user functions

Code: Select all


   oBlistbox:bKeyDown:={|nKey| Val_nKey(nKey)}

 

and then this function
….

Code: Select all


STAT FUNC Val_nKey(nKey)

   DO CASE

      CASE nKey==VK_INSERT .AND. lABC

         KeyToggle(VK_INSERT)

         Captura(.T.)

      CASE nKey==VK_DELETE .AND. lABC

         Sup_Movs()

      CASE nKey==VK_RETURN .AND. lABC

         Captura(.F.)

      CASE nKey==VK_F9

         Sel_Pict()

      CASE nKey==Asc('I') .AND. GetKeyState(VK_CONTROL)

         Imprimir(.F.)

      CASE nKey==Asc('P') .AND. GetKeyState(VK_CONTROL)

         Imprimir(.T.)

   ENDCASE

RETURN (NIL)

 



on Xbrowse How I can make it ?



regards
User avatar
VeRCE
Posts: 219
Joined: Fri Nov 04, 2005 2:34 pm
Location: Mexico D.F.
Contact:

Post by VeRCE »

The same way silvio.

Regards
Juan Carlos Salinas Ojeda
México. D.F.
-------------------------------------------------
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

Dear Jcso ,
the same not run ok ...
User avatar
VeRCE
Posts: 219
Joined: Fri Nov 04, 2005 2:34 pm
Location: Mexico D.F.
Contact:

Post by VeRCE »

Silvio wrote:Dear Jcso ,
the same not run ok ...
Check your code, it must run ok.
Juan Carlos Salinas Ojeda
México. D.F.
-------------------------------------------------
Post Reply