Search found 921 matches: chr

Return to advanced search

Re: Cambiar ALT+INTRO de Excel a Intro en campo memo.SOLUCIONADO

A mi me ha funcionado poniendo así:

vconcepto:=strtran(alltrim(oHoja:Cells( nrow, 5 ):Value),chr(10),CRLF)

Espero que le sirva a quien lo necesite.

Un saludo
by Garbi
Mon Apr 22, 2024 4:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar ALT+INTRO de Excel a Intro en campo memo.SOLUCIONADO
Replies: 2
Views: 70

Re: Using Microsoft AI Phi-2 from FWH

... RTrim( AI_FORM.cPrompt.Value ),;   CALLBACK( { | cStr | AI_FORM.cAnswer.SetFocus ,;                        IF(cStr=CHR(10),cStr:=CRLF,cStr) ,;                        AI_FORM.cAnswer.Value := AI_FORM.cAnswer.Value + cStr } )  )  i do replace ...
by Jimmy
Sat Dec 23, 2023 4:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8330

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

Hi, In the document, I select a line consisting of 2 parts separated by the characters CRLF or chr(10) and copy it to the clipboard. Next, I want to paste the information from the clipboard into a one-line TGet. However, only the first part of the phrase (before CRLF) ...
by nageswaragunupudi
Mon Dec 11, 2023 8:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Inserting a string with CRLF into a single-line TGet.
Replies: 10
Views: 897

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: 897

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: 897

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

Hi, In the document, I select a line consisting of 2 parts separated by the characters CRLF or chr(10) and copy it to the clipboard. Next, I want to paste the information from the clipboard into a one-line TGet. However, only the first part of the phrase (before CRLF) ...
by Natter
Mon Dec 11, 2023 11:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Inserting a string with CRLF into a single-line TGet.
Replies: 10
Views: 897

Re: necesito insertar "ENTER" cada x cantidad de caracteres

goosfancito wrote:Hola.
Tengo una cadena de 1024 caracteres y quiero mostrarlos en un get multiline, pero al intentar esto:

local cLinea:= substr(texto, 1, 50) + chr(10) + chr(13) + substr....

no me muestra en dos lineas. en que le estoy errando?


Just to start, try with chr(13) + chr(10).
by Enrico Maria Giordano
Wed Dec 06, 2023 9:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: necesito insertar "ENTER" cada x cantidad de caracteres
Replies: 3
Views: 437

necesito insertar "ENTER" cada x cantidad de caracteres

Hola.
Tengo una cadena de 1024 caracteres y quiero mostrarlos en un get multiline, pero al intentar esto:

local cLinea:= substr(texto, 1, 50) + chr(10) + chr(13) + substr....

no me muestra en dos lineas. en que le estoy errando?
by goosfancito
Wed Dec 06, 2023 9:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: necesito insertar "ENTER" cada x cantidad de caracteres
Replies: 3
Views: 437

Re: New FTDN October/Octubre 2023 (FWH 23.10)

Agosto, Septiembre, Octubre 2023 ================================ * Fubción WebPageContents() en imgtxtio.prg: En caso de URLs inexistentes devuelve NIL, mientras que se espera que el valor de retorno sea siempre un valor de carácter. Ahora se ha corregido para que devuelva "" en lugar de ...
by Antonio Linares
Sun Dec 03, 2023 4:46 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 3906

Re: Calculate total pages

... the text we print is stored in wide format. If we printed "Name", it is stored as AnsiToWide( "Name" ), i.e., "N" + Chr(0) + "a" + Chr(0) + "m" + Chr( 0 ) + "e" + Chr( 0 ). In other words the text is encoded in UTF16LE format. So, if ...
by nageswaragunupudi
Mon Nov 27, 2023 12:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5878

Re: Fwh 23.10 TGet another problem (UNSOLVED)

... at the beginning of my application, when I press "Ğ" in the GET field, it looks correct, but the unicode comes to the variable as CHR(196)+CHR(158). This doesn't work for me. After each Get field, I have to deal with thousands of GET fields to convert from Unicode to Ansi.
by Horizon
Sat Nov 18, 2023 7:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fwh 23.10 TGet another problem (UNSOLVED)
Replies: 132
Views: 54318

Re: Fwh 23.10 TGet another problem

Very Good. This is what I was suspecting. 286 (0x011E) is the UTF16LE value of Turkish Chr(208). Please help us by a little more testing Instead of ? nKey, nFlags, FW_SetUnicode() please test ? nKey, FW_SetUnicode(), ::lIsWideChar, IsWindowUnicode( ...
by nageswaragunupudi
Thu Nov 16, 2023 2:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fwh 23.10 TGet another problem (UNSOLVED)
Replies: 132
Views: 54318

New FTDN October/Octubre 2023 (FWH 23.10)

August, September, October 2023 =============================== * function WebPageContents() in imgtxtio.prg: In case of non-existent URLs this function is returning NIL, where as return value is expected to be always a character value. Now fixed to return "" in such cases instead of nil T...
by Antonio Linares
Thu Nov 02, 2023 9:53 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 3906

Re: Function Hb_DirExists() no permite File() ubique los archivo

He realizado esta prueba en modo consola y si ubica el archivo dentro de la carpeta de samples #include "fileio.ch" #define CRLF Chr(13)+Chr(10) FUNCTION Main() LOCAL cDir := "C:\Program Files" IF HB_DirExists(cDir) ?cDir + CRLF + CRLF + If(IsDirWritable(cDir), "You ...
by CARLOS ATUNCAR
Thu Nov 02, 2023 3:45 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Function Hb_DirExists() no permite File() ubique los archivo
Replies: 14
Views: 703

Re: enviar mensajes a whatsapp, ¿posible solucion?

... la separación de línea y el mensaje se ve así: http://www.datanet.space/fw/MENSAJE.jpg ¿habrá manera de hacerlo? intenté con chr(13) y con CRLF pero no funciona.
by JoseAlvarez
Sat Oct 14, 2023 1:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: enviar mensajes a whatsapp, ¿posible solucion?
Replies: 55
Views: 4487
Next

Return to advanced search