Search found 259 matches: nlen

Return to advanced search

Re: Need Help giide for my program

Maybe this helps: #include <Windows.h> #include <hbapi.h> HB_FUNC( GETCLASSNAMEA ) // ( hWnd, cClassName, nSize ) --> nLength { HWND hwnd = (HWND) hb_parnl( 1 ); char *cClassName = hb_parc( 2 ); int nSize = hb_parni( 3 ); int nLen = GetClassNameA( hwnd, cClassName, nSize ); ...
by Otto
Sun Jul 21, 2024 9:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need Help guide for my program.
Replies: 38
Views: 2345

Re: Need Help giide for my program

... := { || If( oBrw:aRow == oBrw:aAppend, { CLR_BLACK, CLR_YELLOW }, { CLR_BLACK, oBrw:nClrPane } ) } :bChange := { || If( oBrw:nArrayAt < oBrw:nLen, CheckAppendRow( oBrw ), nil ) } :bPastEof := { || If( oBrw:aAppend != nil .and. Empty( oBrw:aAppend[ 3 ] ), nil, ; ( AAdd( oBrw:aArrayData, oBrw:aAppend ...
by Otto
Fri Jul 19, 2024 7:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need Help guide for my program.
Replies: 38
Views: 2345

Re: At() and Rat() return the same value on a character string

... nRat := rat( " ", cName ) scans backwards from right to left starting with " Hadley" so the space is the 6th character nLen := len( cName ) = 10 What am I missing ... ?? What I am trying to do is split the name above into First Name and Last name .. using the space(s) ...
by Rick Lipkin
Thu May 16, 2024 2:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: At() and Rat() return the same value on a character string
Replies: 4
Views: 517

Re: CODIGO DE BARRAS. ERROR CON FILLRECT()

... return nil /----------------------------------------------------------------- function go_code( cBarra, nx,ny,oPrint,lHoRz, nColor, nWidth, nLen) // Cayetano Gómez //----------------------------------------------------------------- local n, oBr if empty(nColor) nColor := CLR_BLACK end default ...
by pedroluis
Sun May 12, 2024 8:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CODIGO DE BARRAS. ERROR CON FILLRECT()
Replies: 31
Views: 3439

Re: CODIGO DE BARRAS. ERROR CON FILLRECT()

... 'vta0000.ch' //----------------------------------------------------------------- function go_code( cBarra, nx,ny,oPrint,lHoRz, nColor, nWidth, nLen) //----------------------------------------------------------------- local n, oBr if empty(nColor) nColor := CLR_BLACK end default lHorz := .t. ...
by pedroluis
Fri May 10, 2024 9:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CODIGO DE BARRAS. ERROR CON FILLRECT()
Replies: 31
Views: 3439

Re: ayuda con uso de hb_xfree

... pItem: Un puntero a un objeto PHB_ITEM que se va a modificar. szText: Un puntero a una cadena de caracteres que se va a asignar al objeto pItem. nLen: La longitud de la cadena szText. Funcionamiento La función comienza con una llamada a HB_TRACE, que probablemente es una función de depuración ...
by Antonio Linares
Mon Apr 29, 2024 6:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con uso de hb_xfree
Replies: 6
Views: 941

Re: ayuda con uso de hb_xfree

... no sé si esto último sea correcto, alguien que sepa que aclare por favor. PHB_ITEM hb_itemPutCLPtr( PHB_ITEM pItem, char * szText, HB_SIZE nLen ){   HB_TRACE( HB_TR_DEBUG, ( "hb_itemPutCLPtr(%p, %.*s, %" HB_PFS "u)", ( void * ) pItem, ( int ...
by carlos vargas
Sun Apr 28, 2024 3:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con uso de hb_xfree
Replies: 6
Views: 941

Re: records on xbrowse

any solution please ? the problem is when I make a search for a sample "frank" ( on First) ndatarow is 3 and also obrw:nlen is 3 I tried to inser a variable nTotalrecords at init oDbf:= TCustomer():New() oDbf:setorder(1) oDbf:Gotop() nTotalRecords:= oDbf:OrdKeyCount() and the ...
by Silvio.Falconi
Wed Mar 27, 2024 9:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 2289

Re: records on xbrowse

oDbf:OrdKeyCount() ) This works only for oDbf. Using oBrw:nLen or oBrw:KeyCount() works for all datasources. ok but the button are not refreshed , only when I move the mouse into obrw for a sample WHEN ( oBrw:nDataRows <= oBrw:nLen ) not work WHEN ...
by Silvio.Falconi
Tue Mar 26, 2024 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 2289

Re: records on xbrowse

oDbf:OrdKeyCount() )


This works only for oDbf.
Using oBrw:nLen or oBrw:KeyCount() works for all datasources.
by nageswaragunupudi
Tue Mar 26, 2024 12:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 2289

Re: records on xbrowse

oBrw:nLen and oBrw:nDataRows get their values after the first Refresh/paint of the browse. Also oBrw:nDataRows changes when browse is resized. DEFINE BUTTON/BTNBMP ..... (arrows)  ... WHEN ( oBrw:nDataRows >= ...
by Silvio.Falconi
Tue Mar 26, 2024 11:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 2289

Re: records on xbrowse

oBrw:nLen and oBrw:nDataRows get their values after the first Refresh/paint of the browse.
Also oBrw:nDataRows changes when browse is resized.

Code: Select all  Expand view
DEFINE BUTTON/BTNBMP ..... (arrows)  ... WHEN ( oBrw:nDataRows >= oBrw:nLen )

would work
by nageswaragunupudi
Tue Mar 26, 2024 9:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 2289

Re: records on xbrowse

oBrw:nLen But in case of DBF, please see https://forums.fivetechsupport.com/viewtopic.php?f=3&t=44259&p=268091&hilit=DELETED&sid=ff38ec55e29d34b39e3578311e2aeb8d#p268091 https://i.postimg.cc/FHdXGgsv/gggggg.png ...
by Silvio.Falconi
Tue Mar 26, 2024 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 2289

Re: Error al Compilar con Fwh 2307 Bcc76 (Solucionado)

... prg este porcion #pragma BEGINDUMP #include <hbapi.h> #undef hb_retclen_buffer #undef hb_parldef void hb_retclen_buffer( char * szText, int nLen ) { hb_retclen( szText, nLen ); } int hb_parldef( int iParam, int iDefValue ) { return hb_parl( iParam, iDefValue ); } #pragma ENDDUMP
by CARLOS ATUNCAR
Fri Jan 26, 2024 11:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error al Compilar con Fwh 2307 Bcc76 (Solucionado)
Replies: 5
Views: 543
Next

Return to advanced search