Search found 30 matches: ccad

Return to advanced search

Re: Problema usando STRTRAN()

Paisano
no entiendo porque quieres reemplazar una comilla simple por otra comilla simple ?

cCad := StrTran( cCad, "\", "" ) //quito \ y lo reemplazo por espacio en blanco

saludos
by sysctrl2
Wed Jan 17, 2024 8:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema usando STRTRAN()
Replies: 10
Views: 425

Re: Inserting a string with CRLF into a single-line TGet.

Marco Augusto wrote:Quiza con la funcion AT

cCAD="abcdfe"+crlf+"12345"

cCAD2=SUBSTRING(cCAD,1,AT(CHR(10),cCAD)-1)


Can you provide a working sample?
by nageswaragunupudi
Mon Dec 11, 2023 5:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Inserting a string with CRLF into a single-line TGet.
Replies: 10
Views: 895

Re: Inserting a string with CRLF into a single-line TGet.

Quiza con la funcion AT

cCAD="abcdfe"+crlf+"12345"

cCAD2=SUBSTRING(cCAD,1,AT(CHR(10),cCAD)-1)
by Marco Augusto
Mon Dec 11, 2023 2:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Inserting a string with CRLF into a single-line TGet.
Replies: 10
Views: 895

Re: xHarbour.org updated!

... ¿tienes algo para enviarme? Regards, saludos. Karinha, try this sample: #Include "Fivewin.ch" Function Main() LOCAL oDlg, oGet LOCAL cCad := "Testing " // pad("Testing Gets",40) LOCAL nNum := 0 LOCAL dDat := Date() inicio := 0 Set Century on Set Date To British ...
by wartiaga
Tue Sep 19, 2023 7:57 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 37514

Re: xHarbour.org updated!

... The service integration manual does not say to define the port. Code below: #Include "Fivewin.ch" Function Main() LOCAL oDlg, oGet LOCAL cCad := "Testing " // pad("Testing Gets",40) LOCAL nNum := 0 LOCAL dDat := Date() inicio := 0 Set Century on Set Date To British ...
by wartiaga
Tue Sep 19, 2023 12:16 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 37514

Re: xHarbour.org updated!

... testget in samples folder to try tipclient with https. Thanks in advance! #Include "Fivewin.ch" Function Main() LOCAL oDlg, oGet LOCAL cCad := "Testing " // pad("Testing Gets",40) LOCAL nNum := 0 LOCAL dDat := Date() Set Century on Set Date To British Set Epoch to ...
by wartiaga
Mon Sep 18, 2023 7:22 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 37514

Re: New FTDN January/Enero 2019 (FWH 19.01)

... only images\2.png instead of ..\images\2.png just an Idea I tried this function Function UrlImage(curl) Local aTmp local nLevel := 1 local x local cCad :="" If !empty(cUrl) aTmp := Hb_ATokens( curl, "\" ) For x = Len( aTmp ) - nLevel + 1 To Len( aTmp ) cCad += AllTrim( aTmp[ ...
by Silvio.Falconi
Tue Feb 12, 2019 10:42 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2019 (FWH 19.01)
Replies: 4
Views: 2707

Rutina para leer Gps

... datos en una dbf METHOD New( oWnd ) CONSTRUCTOR METHOD Conecta( nCom ) METHOD Desconecta( ) METHOD LeeNMEA() // lee datos del gps METHOD GPGGA( cCad ) // procesa sentencia GPGGA METHOD GPRMC( cCad ) // procesa sentencia GPRMC METHOD End() ENDCLASS METHOD New( oWnd ) CLASS TGps ::aNMEA := Array(3) ...
by Busmatic_wpb
Sat Jul 22, 2017 1:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Rutina para leer Gps
Replies: 1
Views: 966

Test GPS Error en encontrado

... datos en una dbf METHOD New( oWnd ) CONSTRUCTOR METHOD Conecta( nCom ) METHOD Desconecta( ) METHOD LeeNMEA() // lee datos del gps METHOD GPGGA( cCad ) // procesa sentencia GPGGA METHOD GPRMC( cCad ) // procesa sentencia GPRMC METHOD End() ENDCLASS METHOD New( oWnd ) CLASS TGps ::aNMEA := Array(3) ...
by Busmatic_wpb
Fri Jul 21, 2017 11:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Test GPS Error en encontrado
Replies: 0
Views: 643

Re: Introducing FiveTech's fivedit

... NEW VERSION 06/12/2016 -------------------------- - Implemented style Hotspot: only with inside string or comment line Local cCad := "This a string |#www.google.es#| continuation" Local cCad := "Hello" // This a comment |#www.google.es#| others questions ...
by cnavarro
Tue Dec 06, 2016 5:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Introducing FiveTech's fivedit
Replies: 560
Views: 107310

Re: Mejoras para scintilla

... NEW VERSION 06/12/2016 -------------------------- - Implemented style Hotspot: only with inside string or comment line Local cCad := "This a string |#www.google.es#| continuation" Local cCad := "Hello" // This a comment |#www.google.es#| others questions ...
by cnavarro
Tue Dec 06, 2016 5:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mejoras para scintilla
Replies: 1037
Views: 839448

Re: Decidir si Font es Bold o no

... SIZE nWdFont, nHtFont BOLD OF oPrn else    DEFINE FONT oFont  NAME "Arial" SIZE nWdFont, nHtFont OF oPrn endif Otra: La function Lower(cCad) no convierte la "Ñ" a "ñ". Alguna manera de solucionarlo? Gracios Puedes intentarlo asi     DEFINE FONT oFont  NAME "Arial" ...
by cnavarro
Thu Dec 01, 2016 8:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Decidir si Font es Bold o no
Replies: 9
Views: 1630

Decidir si Font es Bold o no

... SIZE nWdFont, nHtFont BOLD OF oPrn else    DEFINE FONT oFont  NAME "Arial" SIZE nWdFont, nHtFont OF oPrn endif Otra: La function Lower(cCad) no convierte la "Ñ" a "ñ". Alguna manera de solucionarlo? Gracios
by FranciscoA
Thu Dec 01, 2016 3:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Decidir si Font es Bold o no
Replies: 9
Views: 1630

Re: Como quitar tabulacion (Resuelto)

Resuelto...

//----------------------------------
Function QuitarEspTab( cCadena )
local cCad
cCad := strtran( cCadena, space(1), Space(0) )
cCad := strtran( cCad, Chr(9), Space(0) )
return cCad
by FranciscoA
Sun Nov 27, 2016 10:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como quitar tabulacion
Replies: 1
Views: 473

Re: GEt multiline y cPicture no anda.

Aunque ya te ha contestado Joao, prueba con:

@ 1, 6 Get oGet var cCad multiline of oDlg ;
COLORS CLR_HRED, CLR_WHITE //READONLY
oget:bchange := {|nkey| cCad := strtran( cCad, chr(nkey), upper(chr(nkey)) ), oCad:Refresh() }

Saludos
by Sebastián Almirón
Fri Feb 21, 2014 3:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GEt multiline y cPicture no anda.
Replies: 13
Views: 1443
Next

Return to advanced search

cron