hi,
how can i use Keyboard ENTER instead of "DblClick"
SETUP ( oBrw:bKeyDown := { |k| If( k == 13, ( msginfo( "action" ) ), 0 ), nil)}
i think there is a ",0)" to much, ornageswaragunupudi wrote:
- Code: Select all Expand view
SETUP ( oBrw:bKeyDown := { |k| If( k == 13, ( msginfo( "action" ) ), 0 ), nil)}
SETUP( oBrw:bKeyDown := { |k| If( k == 13, (msginfo("action") ), nil ) } )
XBROWSER aList TITLE "Double-Click to Open" SETUP ( ;
oBrw:cHeaders := { "TABLE" }, ;
oBrw:aCols[ 1 ]:bLDClickData := { |r,c,f,o| ShowTable( o:Value ) } ,;
oBrw:bKeyDown := {|k| If( k == 13, (msginfo("action") ), nil ) }
cnavarro wrote:use clause SELECT ( look .\include\xbrowse.ch )
MEMVAR oValue
PRIVATE oValue
XBROWSER aList TITLE "Double-Click to Open" ;
SETUP( oBrw:lCanPaste := .t., ;
oBrw:cHeaders := { "TABLE" }, ;
oBrw:aCols[ 1 ] :bLDClickData := { | r, c, f, o | oPGU:UseTable( o:Value ) } ,;
oValue := oBrw ,;
oBrw:bKeyDown := { |k, nFlag| If( k == 13, ;
( xValue := oValue:aCols[ 1 ]:Value ,;
SELECT ( oPGU:UseTable(xValue) ) ) ,;
NIL) } )
XBROWSER aList TITLE "Tables" ;
SETUP ( oBrw:cHeaders := { "TABLE" } ) ;
SELECT oPgu:UseTable( oCol:Value )
nageswaragunupudi wrote:This is what Mr. Cristobal advises:
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 55 guests