Search found 15 matches: nchars

Return to advanced search

Re: JavaScript is a case-sensitive language

... JS : var cUsrName = 'juan perez'; To change it FW: cNwName := Upper( cUsrName ) JS: cNwName = cUsrName.toUpperCase(); To know how many chars FW: nChars := len( cUsrName ) JS: nChars = cUsrName.length; And off course you can concatenate several methods in one single line : aNames = cUsrName.toUpperCase().split(' ...
by Raymundo Islas M.
Sat Jun 26, 2021 3:34 pm
 
Forum: mod_harbour
Topic: JavaScript is a case-sensitive language
Replies: 3
Views: 750

Re: TEdit y alineación del texto

... UPPER, UPPERCASE> ] ; [ <lUpdate: UPDATE> ] ; [ WHEN <uWhen> ] ; [ VALID <uValid> ] ; [ <limittext: LIMITTEXT> [ BY <nchars> CHARS ] ] ; [ <cuebanner: CUEBANNER, PLACEHOLDER> <cCueText> ] ; => ;
by cnavarro
Tue Feb 20, 2018 2:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TEdit y alineación del texto... Solucionado!!!
Replies: 6
Views: 1032

New FTDN May/Mayo 2016 (FWH 16.05)

... TXBrowse method ToExcel() now exports images also. * Enhancement: TEdit control: Addtional clauses (1) [ <limittext: LIMITTEXT> [ BY <nchars> CHARS ] ] By default, Edit control does not limit the characters entered like' TGet. When LIMITTEXT clause is used, the input is limited ...
by Antonio Linares
Mon Jul 04, 2016 10:11 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN May/Mayo 2016 (FWH 16.05)
Replies: 0
Views: 1631

Re: Paste in a GET MEMO

Marco,
oMGet:LimitText( nChars ) limits the length of text to nChars and oMGet:LimitText()
without parameters allows edit without any limit.
(from Whatsnew Dec.2009)
by Euclides
Wed Aug 29, 2012 12:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Paste in a GET MEMO
Replies: 14
Views: 2300

Communication with ARM9

... nBytesend, nBytes:= Len( cString ) nByteSend := WriteComm( hComm, @cString, nBytes ) Return ( nByteSend == nBytes ) Function ComRead( nHdlCom, nChars ) LOCAL nBytes, cBuffIn := Space(BUFF_IN) nBytes := ReadComm( nHdlCom, @cBuffIn, nChars ) RETURN if( nBytes >0, Left( cBuffIn, nBytes ),"" ...
by Surasak
Thu Jun 30, 2011 9:36 am
 
Forum: FiveWin for Pocket PC
Topic: Communication with ARM9
Replies: 6
Views: 2163

Re: Delimitar un get multilinea

Hola

la clase MGet proporsiona un metodo para limitar el texto :)

METHOD LimitText( nChars )

y la forma de usarlo es :P

oMGet:LimitText( 5 )

espero te sirva de algo :mrgreen:

Saluditos :wink:
by AIDA
Wed Jun 23, 2010 12:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Delimitar un get multilinea
Replies: 13
Views: 2758

Re: CAMPO MEMO

Saludos...

la clase MGet proporsiona un metodo para limitar el texto

METHOD LimitText( nChars )

la forma de usarlo

oMGet:LimitText( 5 )
by Daniel Garcia-Gil
Mon Apr 05, 2010 12:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CAMPO MEMO
Replies: 10
Views: 3460

Re: CAMPO MEMO

... de caracteres a la cuarta vez que lo intenteto:   IF ::MaxLong > 0 .AND. nKey > 31 .AND. LEN( ::cText ) >= ::MaxLong       ++::nChars      MsgBeep()      IF ::nChars = 4     IF ::bPassMax # NIL        EVAL(::bPassMax,::MaxLong)     ELSE        MSGSTOP( "ESTE ...
by antolin
Mon Apr 05, 2010 12:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CAMPO MEMO
Replies: 10
Views: 3460

New FTDN December/Diciembre 2009 (9.12)

... Class TMGet method LimitText: Now number of characters to limit the length of text can be specified as paramter to LimitText. oMGet:LimitText( nChars ) limits the length of text to nChars and oMGet:LimitText() without parameters allows edit without any limit. * Enhancement: CLASS TScrollBar ...
by Antonio Linares
Sun Dec 27, 2009 9:39 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2009 (9.12)
Replies: 0
Views: 2784

Strange program behavior...

... going on ? Thank you. #define CFILENAME "TEST.CSV" #define CR CHR(13) #define LF CHR(10) #define LINEFEED CHR(13) + CHR(10) #define NCHARS 1 #define NMAXLINELENGTH (4096 * 3) #define NSPLIT_LINES 25000 #include "Common.ch" #include "FiveWin.ch" FUNCTION Main (cFile) ...
by HunterEC
Thu Nov 05, 2009 3:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange program behavior...
Replies: 4
Views: 931

... + ", lIRmode:"+if(lIRmode,".t.",".f.")) IF ComSend( hComm, "hi there" ) msginfo("ComSend(hithere) regreso .T.") cRead:=ComRead( nHdlCom, nChars ) msginfo("ComRead() regreso: "+cRead+ ",("+alltrim(str(len(cRead)))+" chs)") else msginfo("ComSend(hithere) regreso .FALSO.") ENDIF ComClose( ...
by Arturo Lopesoria
Tue Oct 23, 2007 7:26 pm
 
Forum: FiveWin for Pocket PC
Topic: Serial Communication
Replies: 10
Views: 7070

... tiene sus limitaciones. He modificado la clase TMultiGet de la siguiente forma: 1º He añadidio tres datas: DATA MaxLong AS NUMERIC INIT 0 DATA nChars AS NUMERIC INIT 0 DATA bPassMax 2º He modificado el METHOD KeyChar: Añadiendo, despues de las líneas: if nKey == VK_TAB ... endif, lo siguiente: ...
by antolin
Tue Jul 10, 2007 5:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Campo memo
Replies: 2
Views: 753

Lectura de puerto COMM

Que tal a Todos: En clipper tengo funcionando lo siguiente: ..... DO WHILE .T. nTrab := nChars := nInicio := 0 cStatus:="" /* Limpiar el buffer para una nueva lectura*/ COM_FLUSH(nPuerto) DO WHILE (nChars := COM_COUNT(nPuerto)) <= 6 // Asegura @ 18,17 SAY "Leyendo ...
by Miguel Salas
Thu Apr 06, 2006 2:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Lectura de puerto COMM
Replies: 3
Views: 1274

Leer puerto COMM

Que tal a Todos: En clipper tengo funcionando lo siguiente: ..... DO WHILE .T. nTrab := nChars := nInicio := 0 cStatus:="" /* Limpiar el buffer para una nueva lectura*/ COM_FLUSH(nPuerto) DO WHILE (nChars := COM_COUNT(nPuerto)) <= 6 // Asegura @ 18,17 SAY "Leyendo ...
by Miguel Salas
Wed Apr 05, 2006 10:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Leer puerto COMM
Replies: 0
Views: 604

... FALSE ; // Self }; }; }; if( lBig5_2nd == FALSE ) szText[ i ] = tolower( szText[ i ] ); }; } else { #ifndef HB_CDP_SUPPORT_OFF if( hb_cdp_page->nChars ) for( i = 0; i < ulLen; i++ ) szText[ i ] = (char) hb_cdp_page->s_lower[szText[i]&255]; else #endif for( i = 0; i < ulLen; i++ ...
by jhncon
Thu Dec 15, 2005 12:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO: Antonio, TGet problem with WinXP Themes for 2 bytes?
Replies: 17
Views: 6694

Return to advanced search

cron