Search found 1925 matches: row

Searched query: row

by Enrico Maria Giordano
Thu Feb 13, 2025 1:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xhb 1.31 xcc
Replies: 21
Views: 2143

Re: xhb 1.31 xcc

... ptr' is not referenced.
contrib\png\pngrutil.c(3349): fatal error: Internal error: put_tokens.

This is line 3349:

static PNG_CONST png_uint_32 row_mask[2/*PACKSWAP*/][3/*depth*/][6] =
{
/* Little-endian byte masks for PACKSWAP */
{ S_MASKS(1,0), S_MASKS(2,0), S_MASKS(4,0) }, <--- LINE 3349 ...
by JoséQuintas
Mon Feb 10, 2025 1:46 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Text scroll and time graph
Replies: 2
Views: 314

Text scroll and time graph

... GRAFMODE 1
#define GRAFTIME 2
#define GRAF_SEC_OLD 1
#define GRAF_SEC_INI 2
#define GRAF_TXT_BAR 3
#define GRAF_TXT_TEXT 4

FUNCTION GrafProc( nRow, nCol )

THREAD STATIC GrafInfo := { 1, "X" }
LOCAL mSetDevice

hb_Default( @nRow, MaxRow() - 1 )
hb_Default( @nCol, MaxCol() - 2 )
IF GrafInfo ...
by Natter
Thu Jan 30, 2025 4:32 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse record selector color
Replies: 3
Views: 654

xBrowse record selector color

Hi,

Is it possible to change the record selector color for the current row (i.e. use :nResSelColor as a code block) ?
by Antonio Linares
Fri Jan 24, 2025 11:19 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4833

Re: Using new Class TDeepSeek for documenting

You're right to ask about how these methods are related! The sheer number of methods in TXBrowse can be overwhelming, but they are designed to work together to provide a rich and functional browse control.

Let's break down how these methods are related by categorizing them based on their roles and ...
by Antonio Linares
Fri Jan 24, 2025 10:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4833

Re: Using new Class TDeepSeek for documenting


95. Edit( lNew, cFieldList, lSourceData, lNavigate, aInitVals, bSetup ) (Continued)

Return Value: OBJECT - Returns the TXBrowse object (Self).

Usage Example: (Used internally, calls either EditSource or EditBrowse based on parameters)

96. Delete( lMsg )

Description: Deletes the current record ...
by Antonio Linares
Fri Jan 24, 2025 10:28 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4833

Re: Using new Class TDeepSeek for documenting

FWH Class TXBrowse documentation

Generated with https://aistudio.google.com/prompts/new_chat and the new Gemini Flash 2.0 Thinking Experimental 01-21

Gemini requires a PDF so in order to generate it we opened the PRG from Chrome then printed it as a PDF .

Methods of the TXBrowse Class

Here's a ...
by JoséQuintas
Thu Jan 23, 2025 3:32 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse, dbf and codeblock
Replies: 10
Views: 19862

Re: xbrowse, dbf and codeblock

Extra comment:

May be this expains why a external database works, and internal may not.
As example using mysql.

Internal

WITH OBJECT xbrowse
:bGoTop := { || :Rs:MoveFirst() } // may use wrong object, anything:Rs:MoveFirst()
ENDWITH


External

WITH OBJECT xBrowse
:bGoTop := RS:MoveNext ...
by Antonio Linares
Fri Jan 17, 2025 11:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4833

Re: Using new Class TDeepSeek for documenting

... The color used for getting focus.

41. **`aOldPos`**
- **Type:** ARRAY
- **Description:** The old position of the tooltip.

42. **`nOldRow`**
- **Type:** NUMERIC
- **Description:** The old row position.

43. **`nOldCol`**
- **Type:** NUMERIC
- **Description:** The old column ...
by Antonio Linares
Fri Jan 17, 2025 10:54 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4833

Re: Using new Class TDeepSeek for documenting

... by the button. In this case, it includes the `OnClick` event, which is triggered when the button is clicked.

#### Methods (METHOD)

1. **`New( nRow, nCol, cCaption, oWnd, bAction, nWidth, nHeight, nHelpId, oFont, lDefault, lPixel, lDesign, cMsg, lUpdate, bWhen, bValid, lCancel, cVarName ...
by Antonio Linares
Fri Jan 17, 2025 10:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4833

Re: Using new Class TDeepSeek for documenting

... Constructor for creating a `TBar` at a specific position.
- **Parameters**: Similar to `New()`, but with additional position parameters (`nRow`, `nCol`, `nWidth`, `nHeight`).

3. **`Add()`**:
- **Description**: Adds a button to the button bar.
- **Parameters**:
- `oBtnBmp`: Button ...
by Antonio Linares
Fri Jan 17, 2025 10:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4833

Using new Class TDeepSeek for documenting

... down list.

#### Methods

1. **`New()`**
- **Description**: Constructor method for initializing a new `TAutoGet` object.
- **Parameters**:
- `nRow`, `nCol`: Position of the control.
- `bSetGet`: Code block for getting/setting the value.
- `oWnd`: Parent window.
- `nWidth`, `nHeight ...
by Otto
Thu Jan 16, 2025 1:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Bootstrap for FiveWin
Replies: 6
Views: 1017

Re: Bootstrap for FiveWin

... NIL

// Grid-System
CLASS FWGrid
DATA aControls
DATA nColumns
DATA nGutter

METHOD New( nColumns, nGutter )
METHOD AddControl( oControl, nRow, nCol, nColSpan )
METHOD Resize( nWidth, nHeight )
ENDCLASS

METHOD New( nColumns, nGutter ) CLASS FWGrid
::aControls := {}
::nColumns ...
by Antonio Linares
Sat Jan 11, 2025 8:23 pm
Forum: Artificial Intelligence examples
Topic: CLASS Transformer
Replies: 2
Views: 806

Re: CLASS Transformer

... 1 STEP -1
::layers[i]:Backward(d_output)
NEXT
RETURN NIL

// Función para aplicar Softmax con estabilidad numérica
FUNCTION Softmax(matrix)
LOCAL rows := Len(matrix)
LOCAL cols := Len(matrix[1])
LOCAL result := Array(rows, cols)
local i, j, max_val, sum_exp, exp_values

FOR i := 1 TO rows
max ...
by Antonio Linares
Sat Jan 11, 2025 8:06 pm
Forum: Artificial Intelligence examples
Topic: CLASS Transformer
Replies: 2
Views: 806

Re: CLASS Transformer

... 1 STEP -1
::layers[i]:Backward(d_output)
NEXT
RETURN NIL

// Función para aplicar Softmax con estabilidad numérica
FUNCTION Softmax(matrix)
LOCAL rows := Len(matrix)
LOCAL cols := Len(matrix[1])
LOCAL result := Array(rows, cols)
local i, j, max_val, sum_exp, exp_values

FOR i := 1 TO rows
max ...
by Antonio Linares
Sat Jan 11, 2025 9:31 am
Forum: Artificial Intelligence examples
Topic: CLASS Transformer
Replies: 2
Views: 806

CLASS Transformer

... matriz
PHB_ITEM pMatrix2 = hb_param( 2, HB_IT_ARRAY ); // Segunda matriz

if( pMatrix1 && pMatrix2 )
{
// Dimensiones de la primera matriz
int rows1 = hb_arrayLen( pMatrix1 );
PHB_ITEM pRow1, pRow2, pResult, pRowResult;
int i, k, cols1, rows2, cols2;

if( rows1 == 0 )
{
hb_errRT_BASE( EG ...