wbrowse ----> xbrowse

wbrowse ----> xbrowse

Postby Silvio » Thu Jan 12, 2006 12:37 am

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

Code: Select all  Expand view

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




and then this function
….
Code: Select all  Expand view

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
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby VeRCE » Thu Jan 12, 2006 3:54 pm

The same way silvio.

Regards
Juan Carlos Salinas Ojeda
México. D.F.
-------------------------------------------------
User avatar
VeRCE
 
Posts: 219
Joined: Fri Nov 04, 2005 2:34 pm
Location: Mexico D.F.

Postby Silvio » Thu Jan 12, 2006 4:18 pm

Dear Jcso ,
the same not run ok ...
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby VeRCE » Thu Jan 12, 2006 6:54 pm

Silvio wrote:Dear Jcso ,
the same not run ok ...


Check your code, it must run ok.
Juan Carlos Salinas Ojeda
México. D.F.
-------------------------------------------------
User avatar
VeRCE
 
Posts: 219
Joined: Fri Nov 04, 2005 2:34 pm
Location: Mexico D.F.


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 98 guests