Search found 48 matches: toggles

Return to advanced search

Re: xbrowse problem with :bLClicked

...       oBrw:RefreshCurrent() ),    )}  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( ...
by Antonio Linares
Mon Apr 22, 2024 5:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 98

Re: xbrowse SelectRow method

oBrw:SelectRow( 2 ) toggles selection of the current row in focus.
by nageswaragunupudi
Sun Mar 31, 2024 5:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse SelectRow method
Replies: 3
Views: 683

Re: xbrowser, setorder DESC

If the column is already ordered oCol:SetOrder() toggles ASC and DESC.
You need not have set aCols[ 2 ]:SetOrder() because it was already in the descending order.
by nageswaragunupudi
Mon Mar 25, 2024 4:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowser, setorder DESC
Replies: 8
Views: 1675

Re: xbrowser, setorder DESC

If we use AUTOSORT clause while defining XBrowse, when the user clicks on a header, it automatically toggles sort ascending and descending.
by nageswaragunupudi
Mon Mar 11, 2024 6:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowser, setorder DESC
Replies: 8
Views: 1675

Re: DBF . Commit

nageswaragunupudi wrote:The option toggles if data of a changed record is immediately commited to disk with the REPLACE command.


This is not true, at least with xHarbour and DBFCDX. The file on disk is not updated till COMMIT.
by Enrico Maria Giordano
Sun Oct 22, 2023 8:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2340

Re: Xbrowse: Allow spacebar to to toggle checkbox column

Natively pressing space bar when the column has focus, toggles the value.
by nageswaragunupudi
Sat Aug 05, 2023 9:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse: Allow spacebar to to toggle checkbox column
Replies: 1
Views: 203

Re: can use SWITCH Control in XBROWSE ?

... checkboxes. lEdit: Optional: Value .T. indicates that the column can be edited by the user. Pressing <space>,<enter> or double click toggles the logical value. aPrompts: Optional: If specified, displays the prompt in addition to the bitmap. Usage: Most common: oCol:SetCheck( nil, ...
by nageswaragunupudi
Tue May 30, 2023 12:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: can use SWITCH Control in XBROWSE ?
Replies: 7
Views: 511

Re: Fighting Xbrowse and lozing !!!

... inside the xbrowse is called also every movement of cursor. There will be a reason for this..... but maybe we can consider a logical Var that toggles this beheavior ? For this specific browse, maybe I can trap the cursor key value and process it to only do a goleft... goright with no processing ...
by Marc Venken
Fri Dec 30, 2022 12:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1569

Re: logic value in txbrowse cell

...  :bLDClickData := { || pos->okay := !pos->okay, oBrw:Refresh() }  // not requiredEND  Double click on cell automatically toggles the value. If marqueestyle <= 4, <Space> key toggles the value.
by nageswaragunupudi
Wed Feb 23, 2022 12:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: logic value in txbrowse cell
Replies: 4
Views: 224

New FTDN February/Febrero 2021 (FWH 21.02)

... status of the row. Header displays a checkbox indicating if all rows are selected or not. Double click, Ctrl-Click or space key in this column toggles selection. If oBrw:lDblClick is nil double click on any column toggles selection if that column's bLDclickdata is also nil. If FastEdit is .f., ...
by Antonio Linares
Wed Mar 24, 2021 8:56 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February/Febrero 2021 (FWH 21.02)
Replies: 2
Views: 1463

FWH 2102: XBrowse:SetMultiSelectCol()

... the number of records selected. This column is available as oBrw:oMultiSelCol. Toggling selection: 1. Double click of space key in this column toggles selection. 2. When oBrw:lFastEdit is .F., space key always toggles selection. 3. If oBrw:bLDblClick is nil, double click on any column toggles ...
by nageswaragunupudi
Sat Mar 13, 2021 7:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 2102: XBrowse:SetMultiSelectCol()
Replies: 17
Views: 2360

Re: SetCheck() on MariaDB => SOLVED

Clicking on any row toggles the selection.
Selected becomes unselected and vice versa.
by nageswaragunupudi
Thu Apr 09, 2020 4:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetCheck() on MariaDB => SOLVED
Replies: 15
Views: 2596

Re: IF

... comparison. Syntax SET EXACT on | OFF | ( <lOnOff> ) Arguments on | OFF | ( <lOnOff> ) on | OFF | ( <lOnOff> ) This option toggles if an exact comparison is performed with character strings. or not. The default is OFF or .F. (false), i.e. characters are compared up the length ...
by MarcoBoschi
Sat Mar 14, 2020 4:01 pm
 
Forum: mod_harbour
Topic: IF
Replies: 4
Views: 1061

Re: lGetBar

Setting oBrw:lGetBar to .t. or .f. only toggles display of the bar. To make the Gets work, we should first prepare the Gets for the required columns. This is simple oCol:uBarGetVal := <blankvalue_of the datatype> You need to do this for ...
by nageswaragunupudi
Mon Jan 28, 2019 3:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: lGetBar
Replies: 34
Views: 5733

Re: Change sort order on browse when clicking on header

Please try this sample. Click on header toggles ascending and descending orders. That is the default behavior, if not modified in the application program. Sample code: #include "fivewin.ch"REQUEST DBFCDXfunction Main()  ...
by nageswaragunupudi
Sat Oct 06, 2018 8:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change sort order on browse when clicking on header
Replies: 4
Views: 740
Next

Return to advanced search