Search found 325 matches: codeblocks

Return to advanced search

Re: Cambio de imagen a 1 boton

... PAINT oWnd:SayText( If( nBmp == 1, "CLOSED", "OPENED" ) )return nil We can toggle both prompt and image using codeblocks as suggested above. No need to keep loading bitmap again and again. https://imagizer.imageshack.com/img923/2998/ml3P7b.gif
by nageswaragunupudi
Wed Feb 14, 2024 1:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambio de imagen a 1 boton
Replies: 10
Views: 279

Re: Convert

ValToPrg() and ValToPrgExp() are not useful for Objects and Codeblocks.
by nageswaragunupudi
Wed Sep 06, 2023 3:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert
Replies: 7
Views: 557

Re: New FTDN April/Abril 2023 (FWH 23.04)

... es exactamente la misma que ASort(...) -nColNo: Ordena en nColNo ascendente si +ve y descendente si -ve. -aCols: Matriz de números de columna o codeblocks. Ordenación multicolumna se realiza sobre los números de columna de la matriz. Ascendente si el número es +ve y desc si es -ve. Si algún ...
by goosfancito
Sun Aug 20, 2023 1:16 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2023 (FWH 23.04)
Replies: 4
Views: 1744

Re: AEVAL() : Get Value of FIELD using FieldGet(i)

... [<lAssign>] ) --> aArray <lAssign> Durch den logischen Ausdruck <lAssign> wird bestimmt, ob innerhalb des Codeblocks eine Zuweisung an das übergebene Arrayelement erfolgen darf. Ist <lAssign> gleich .T. (wahr), so wird das Arrayelement dem Codeblock ...
by Jimmy
Wed May 24, 2023 5:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: AEVAL() : Get Value of FIELD using FieldGet(i)
Replies: 4
Views: 180

Re: simulate unknown Function of UDF in IndexKey()

Using hashes from low level to support multiple codeblocks :-D Remember to build it this way: hbmk2.exe create.prg -cflag=-D_HB_API_INTERNAL_ function Main()   hb_CreateFunction( "xyz", { || QOut( "from XYZ()" ...
by Antonio Linares
Sat May 06, 2023 7:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: simulate unknown Function of UDF in IndexKey()
Replies: 9
Views: 416

Re: simulate unknown Function of UDF in IndexKey()

Enhanced version supporting n parameters: We have to solve where to store the codeblocks, or next call to hb_CreateFunction() will overwrite the previous one. function Main()   hb_CreateFunction( "xyz", { | a, b, c | QOut( c ) ...
by Antonio Linares
Fri May 05, 2023 11:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: simulate unknown Function of UDF in IndexKey()
Replies: 9
Views: 416

Re: New FTDN April/Abril 2023 (FWH 23.04)

... es exactamente la misma que ASort(...) -nColNo: Ordena en nColNo ascendente si +ve y descendente si -ve. -aCols: Matriz de números de columna o codeblocks. Ordenación multicolumna se realiza sobre los números de columna de la matriz. Ascendente si el número es +ve y desc si es -ve. Si algún ...
by Antonio Linares
Thu May 04, 2023 6:37 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2023 (FWH 23.04)
Replies: 4
Views: 1744

New FTDN April/Abril 2023 (FWH 23.04)

... functionality is exactly same as ASort(...) -nColNo: Sortede on nColNo asc if +ve and desc if -ve. -aCols: Array of column numbers or codeblocks. Multi-column sort is performed on the column numbers in the array. Asc if the number is +ve and desc if -ve. If any element of the array ...
by Antonio Linares
Tue May 02, 2023 7:08 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2023 (FWH 23.04)
Replies: 4
Views: 1744

Re: Advise in Server hardware

... that moving the cursor in the cells, functions are executed like retrieving data. Normaly this should only happen when data is changed, so I have codeblocks wrong in use. I have to digg a bit deeper into this and post some issues here when I find them.
by Marc Venken
Wed Apr 05, 2023 7:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Advise in Server hardware
Replies: 12
Views: 1173

Re: Color of rows in the cell

Simplification in the next version: 1) aDataFont and aClrText can also be codeblocks. These codeblocks are evaluated with two params, viz, the column object and lHiLite. The above code can be written like this: WITH OBJECT oBrw:aCols[ 2 ]   :aClrText ...
by nageswaragunupudi
Sat Jan 28, 2023 1:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color of rows in the cell
Replies: 5
Views: 466

Re: special Codeblock Syntax under Fivewin

Hola Cristóbal,

Pues sí. Debe ser como tu dices: Los warning mandan y definen la sintaxis correcta.

Así en "stricto sensu" hay que poner un return en los extended codeblocks

Gracias por la aclaración
by hmpaquito
Mon Nov 07, 2022 9:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: special Codeblock Syntax under Fivewin
Replies: 10
Views: 487

Re: special Codeblock Syntax under Fivewin

Hi Mr. Jimmy,

They are named extended codeblocks
https://vivaclipper.wordpress.com/tag/codeblock/


This (extra) syntax too is correct for harbour:

Code: Select all  Expand view
{||
      a:= 1
      b:= 2
      c:= 3
 }


Regards
by hmpaquito
Mon Nov 07, 2022 8:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: special Codeblock Syntax under Fivewin
Replies: 10
Views: 487

Re: CodeBlock

... typedef struct _HB_CODEBLOCK { const HB_BYTE * pCode; /* codeblock pcode */ PHB_SYMB pSymbols; /* codeblocks symbols */ PHB_SYMB pDefSymb; /* symbol where the codeblock was created */ PHB_ITEM pLocals; /* table with referenced local variables */ ...
by Antonio Linares
Tue Nov 01, 2022 7:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CodeBlock
Replies: 2
Views: 276

Re: TGet bLostFocus y WHEN no entiendo bien la lógica...

... me he explicado bien, el problema no es en perder el foco y darle el foco a un get, el problema es que mientras monta el diálogo, se evalúan los codeblocks de bLostFocus si están en un folder.
by VictorCasajuana
Mon Oct 24, 2022 2:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TGet bLostFocus yWHEN no entiendo bien la lógica[SOLUCIONADO
Replies: 20
Views: 1105

Re: xBrowse function

... equivalent to if ValType( bBlock ) == "B"   retval := Eval( bBlock, params,...)endif Will post samples with usage of the codeblocks in my next post.
by nageswaragunupudi
Fri Aug 19, 2022 3:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse function
Replies: 4
Views: 629
Next

Return to advanced search