... 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( ...
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.
... 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, ...
... 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 ...
... 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., ...
... 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 ...
... 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 ...
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 ...
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() ...