Search found 194 matches: bkeychar

Return to advanced search

Re: xbrowse problem with :bLClicked

... This block seems to be working correctly. It toggles the selection of the record and updates the buttonbar accordingly. Now, let's look at the `:bKeyChar` block: :bKeyChar := {| k |    (If( k == VK_SPACE,       (IIF( oBrw:IsSelectedRow(),          Btnbar(1,oDlg:oBar,oDlg,oDbf,oBrw,aBtnBrow[4]), ...
by Antonio Linares
Mon Apr 22, 2024 5:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 125

xbrowse problem with :bLClicked

... a xbrowse with :SetMultiSelectCol() with bRClicked I associated a menupopup with :bLClicked I click on a row and select it I made the same with :bKeyChar ( space button)   :bLClicked := { |r,c,f,oBrw| if( oBrw:Mousecolpos( c ) == 1, ;          ...
by Silvio.Falconi
Sun Apr 21, 2024 7:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 125

Re: problem wth SetMultiSelectCol

Resolved!! :bKeyChar := {| k | (If( k == VK_SPACE,(IIF( oBrw:IsSelectedRow(),; Btnbar(1,oDlg:oBar,oDlg,oDbf,oBrw,aBtnBrow[4]), ; Btnbar(2,oDlg:oBar,oDlg,oDbf,oBrw,aBtnBrow[4]))), nil),; Refresh_title(oBrw,oDlg,oDbf,cSection))}
by Silvio.Falconi
Wed May 03, 2023 9:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem wth SetMultiSelectCol
Replies: 11
Views: 708

Re: LISTBOX using ENTER ?

hi Marc,

Ok, understand
so i have to write a Codeblock whenever use of Keyboard is not implement

p.s. what is the Difference of bKeyChar vs. bKeyDown :?:
by Jimmy
Fri Nov 11, 2022 6:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: LISTBOX using ENTER ?
Replies: 4
Views: 308

Re: LISTBOX using ENTER ?

:bKeyChar := { |nKey| If( nKey == VK_RETURN, ;
( nSelect := oBrwL:oCol(1):value, oDlg:End() ), nil ) }
by Marc Venken
Fri Nov 11, 2022 12:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: LISTBOX using ENTER ?
Replies: 4
Views: 308

Re: Capture click ou key in tree

oTree:bKeyChar = { | nKey | If( nKey == 13, MsgInfo( "enter" ),) }
by Antonio Linares
Fri Aug 20, 2021 1:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Capture click ou key in tree
Replies: 5
Views: 304

Re: XBrowse: Using Get for incremental Seek/Filters

...            oBrw:RefreshCurrent() }  I add also these lines :bChange := { |o| o:RefreshFooters() } :bKeyChar := { |k| If( k == VK_SPACE, ( oBrw:oCol( 1 ):CheckToggle(), oBrw:RefreshCurrent(), 0 ), nil ) } :bLDblClick := { || oBrw:oCol( 1 ):CheckToggle(), ...
by Silvio.Falconi
Sat Dec 12, 2020 9:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: Using Get for incremental Seek/Filters
Replies: 32
Views: 3880

XBrowse: Using Get for incremental Seek/Filters

... oBrw:CreateFromCode(). 3) Use character variable irrespective of the data type of the search field. 4) Do not define bChange or bKeyDown or bKeyChar for the Get. XBrowse automatically creates necessary codeblocks. Keep the application code as simple as shown in the above sample. https://imagizer.imageshack.com/img923/1536/Q1T1Ks.gif
by nageswaragunupudi
Wed Dec 09, 2020 12:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: Using Get for incremental Seek/Filters
Replies: 32
Views: 3880

Re: Cómo resetear oBrw:oseek

... := .T. oBrw:cFilterFld := "NOMBRE" // oBrw:bChange := {|| oBrw:oSeek:Refresh() } oBrw:bChange := {|| oBrw:oSeek( "" ) } oBrw:bKeyChar := { |nKey| If( nKey == VK_ESCAPE, ( oBrw:oSeek( "" ), oDlg:End() ), nil ) } oBrw:CreateFromCode() @ 11, 15 BUTTON "Nuevo " ...
by Ramón J.
Sat Dec 05, 2020 11:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cómo resetear oBrw:oseek [SOLUCIONADO]
Replies: 9
Views: 1456

Re: Are there any Treeview samples with associated edit boxes?

FWExplorer wrote:It doesn't matter what key we give it, explicitly. It only works for the numberic keypad 43.


oTree:bKeyChar = { | nKey, nFlags | MsgInfo( nKey, "key" ), MsgInfo( nFlags ), If( nKey == 224, TreeAddItem( oTree ),) }


We are going to check it, thanks
by Antonio Linares
Wed Dec 02, 2020 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Are there any Treeview samples with associated edit boxes?
Replies: 44
Views: 4916

Re: Are there any Treeview samples with associated edit boxes?

It doesn't matter what key we give it, explicitly. It only works for the numberic keypad 43.


oTree:bKeyChar = { | nKey, nFlags | MsgInfo( nKey, "key" ), MsgInfo( nFlags ), If( nKey == 224, TreeAddItem( oTree ),) }
by FWExplorer
Tue Dec 01, 2020 9:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Are there any Treeview samples with associated edit boxes?
Replies: 44
Views: 4916

Re: Are there any Treeview samples with associated edit boxes?

... > Can the edit of a mode be done in place, rather than in a popup? We are working to implement it for FWH itself Please try it this way: oTree:bKeyChar = { | nKey, nFlags | MsgInfo( nKey, "key" ), MsgInfo( nFlags ), If( nKey == 43, TreeAddItem( oTree ),) }
by Antonio Linares
Tue Dec 01, 2020 5:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Are there any Treeview samples with associated edit boxes?
Replies: 44
Views: 4916

How to Catch VK_LEFT / VK_RIGHT IN oBrw:bKeyDown Event ?

Dear Rao Sir , I want to catch the event of pressing LEFT , RIGHT button in either oBrw:bKeydown OR oBrw:bKeyChar to SET FOCUS to another Control. Could you please guide me for the same. Thanks in advance...! something like this :   oBrwTAsset:bKeyChar := < | nKey, nFlags, ...
by shri_fwh
Mon Oct 21, 2019 7:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to Catch VK_LEFT / VK_RIGHT IN oBrw:bKeyDown Event ?
Replies: 1
Views: 406

Re: How to change behavior of pressing <Enter> in XBrowse?

... column first and then call my function. May XBrowse keep staying on the same column? ie. do nothing and call OnEnterKey(oBrw) immediately. Use bKeyChar instead of bKeyDown. oBrw:bKeyChar := { |nKey,nFlags,oBrw,oCol| If( nKey == VK_RETURN, OnEnterKey( oBrw, oCol ), nil ) ...
by nageswaragunupudi
Sat Aug 31, 2019 10:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change behavior of pressing <Enter> in XBrowse?
Replies: 3
Views: 530

Re: Mr. Rao, oCol:oBarGet does not take focus with oBrw:bKeychar

Muchas gracias Mr. Rao por su ayuda
Saludos
Marcelo
by Marcelo Roggeri
Sun Aug 25, 2019 12:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao, oCol:oBarGet does not take focus with oBrw:bKeychar
Replies: 6
Views: 1404
Next

Return to advanced search