Search found 738 matches: ctext

Return to advanced search

Re: Centrar texto VERTICALMENTE

... ::oFnt_Arial6V COLOR CLR_BLACK I want to center the text at half height of the page. Note: New Method for de Printer.PRG METHOD CmtrTextToVCenter( cText, oFont ) INLINE ; ( ::CmVertPhySize() / 2 ) + ::CmtrGetTextWidth( cText, oFont ) / 2 Thank you again, I can only comment on FWH classes. What ...
by nageswaragunupudi
Tue Apr 09, 2024 4:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 443

Re: Centrar texto VERTICALMENTE

... ::oFnt_Arial6V COLOR CLR_BLACK I want to center the text at half height of the page. Note: New Method for de Printer.PRG METHOD CmtrTextToVCenter( cText, oFont ) INLINE ; ( ::CmVertPhySize() / 2 ) + ::CmtrGetTextWidth( cText, oFont ) / 2 Thank you again,
by FiveWiDi
Tue Apr 09, 2024 3:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 443

AYUDA Validacion LRC para datafono

... for(i = 1; i < pi_iLongitud; i++ ) { vl_iLRC = vl_iLRC ^ pi_sTrama[i]; } return(vl_iLRC); }; // SEGUN FORO DE FIVEWIN function LRC( cText ) local nCheckSum := 0 local n for n = 1 to Len( cText ) nCheckSum = nXor( nCheckSum, Asc( SubStr( cText, n, 1 ) ) ) next return (nCheckSum) // ...
by russimicro
Sat Mar 30, 2024 6:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA Validacion LRC para datafono
Replies: 2
Views: 483

Re: New FTDN February 2024 (FWH 24.02)

... ListCharSets() --> oRs - TableCollation( cTable ) --> cCollation - TableCharSet( cTable ) --> cCharSet * Nuevo: Nueva función FW_IsUtf8( cText, [@lAscii] ) --> lUtf8 en FWH\SOURCE\WINAPI\msgsapi.c * Nuevo: Nuevas funciones en FWH\SOURCE\FUNCTION\valtostr.prg: - FW_DateToUnix( dDate/tDateTime ...
by Antonio Linares
Sun Mar 03, 2024 7:25 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN February 2024 (FWH 24.02)
Replies: 1
Views: 194

New FTDN February 2024 (FWH 24.02)

... --> oRs ListCharSets() --> oRs TableCollation( cTable ) --> cCollation TableCharSet( cTable ) --> cCharSet * New function FW_IsUtf8( cText, [@lAscii] ) --> lUtf8 (msgsapi.c) * New functions: (valtostr.prg) FW_DateToUnix( dDate/tDateTime ) --> nUnixTimeStamp in MilliSeconds FW_UnixToDate( ...
by Antonio Linares
Sat Mar 02, 2024 8:31 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February 2024 (FWH 24.02)
Replies: 1
Views: 194

Re: Create a Panel width a text

... when Edit Item and copy / paste those 2 Lines, save 4 x Lines, it still display 2 Lines but using WORDWRAP :!: i do not know if you want, using CalcTextHeight(), a "fixed" PANEL Layout :?: --- in my modify CODE all Lines are displayed and Position of Panel3 will change    aDim = GetLabelDim( ...
by Silvio.Falconi
Mon Feb 26, 2024 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3171

Re: Create a Panel width a text

function CalcTextHeight( hDC, cText, oFont, nWidth )   local oWnd, nHt   DEFAULT hDC := GetDC( 0 )   if HB_ISOBJECT( hDC )      oWnd     := hDC      hDC      := oWnd:GetDC()      DEFAULT oFont := ...
by Silvio.Falconi
Fri Feb 23, 2024 12:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3171

Re: Create a Panel width a text

I found a function CalcTextHeight(cText, oFont, nWidth,oPanel) but it not run ok because the other panels are not refreshed https://i.postimg.cc/wvPFgmWd/test.gif #include "FiveWin.ch"//#include "ribbon.ch"//----------------------------------------------------------------------------//static ...
by Silvio.Falconi
Fri Feb 16, 2024 3:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3171

Re: I'm not asking for the moon...

Otto wrote:Yes, see this line.

oGet[1]:bGotFocus := {|| (oGet[1]:cText := STR(VAL(oGet[1]:cText) *100,6), oGet[1]:Refresh(),oGet[1]:SelectAll()) }
Cesar, changed the GETs to character that you get the inputstyle you wanted.

Yes but nvar Is text array but i have numbers no texts
by Silvio.Falconi
Thu Jan 18, 2024 9:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2125

Re: I'm not asking for the moon...

Yes, see this line.

oGet[1]:bGotFocus := {|| (oGet[1]:cText := STR(VAL(oGet[1]:cText) *100,6), oGet[1]:Refresh(),oGet[1]:SelectAll()) }
Cesar, changed the GETs to character that you get the inputstyle you wanted.
by Otto
Thu Jan 18, 2024 9:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2125

Border with fwbarcode

How create a border on barcode ?

@ x, y PRINT TO oPrn TEXT ctext AS BARCODE TYPE cBarcode ;
SIZE nlarghezza-nColonna, nAltezza CM BARSIZE nlarghezza ;
COLOR CLR_BLACK,nBackcolor
by Silvio.Falconi
Tue Jan 16, 2024 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Border with fwbarcode
Replies: 0
Views: 617

Re: Definir font richedit5

... lo llamaba así: RichEdit5( @xHecho, "Desvio", 9, 9, 30, 140 ) sin definir en el programa, lo que hice fue definir: Function RichEdit5( cText, cTitle, nTop, nLeft, nBottom, nRight ) local oFont, oDlg local hDLL local uTemp := If( ! Empty( cText ), cText, '' ) local lRich := .F., lGTF ...
by jpcavagnaro
Tue Dec 26, 2023 11:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Definir font richedit5
Replies: 3
Views: 602

Problem with Print BOX

I have this command nAlignOriz:= 1 nAlignVert:= 1 oPrn:Box(X, Y, Z, K,; { CLR_WHITE, 1 }, CLR_WHITE, ; {cText, oFnt, nColorFont, SetAlign(nAlignOriz,nAlignVert) }, ; "CM" ) the function Setalign returns the string "TL" but it doesn't print anything for me ...
by Silvio.Falconi
Wed Nov 29, 2023 11:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Print BOX
Replies: 2
Views: 269

Re: Calculate total pages

... with English ( ANSI encoded text ), it is enough to use AnsiToWide, but for utf8 text, we need to convert to utf16le, using fwh functon StrToWide( cText, .f. ) or any other similar function.
by nageswaragunupudi
Mon Nov 27, 2023 12:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5857

Re: eMail with html

... // <-- set to null --- as TEXT point to lpszNoteText try NIL or NULL DEFINE MAIL [<oMail>] ; [ SUBJECT <cSubject> ] ; [ TEXT <cText> ] ; [ TYPE <cType> ] ; and add a HTML as Attachment
by Jimmy
Sun Sep 24, 2023 9:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: eMail with html
Replies: 2
Views: 255
Next

Return to advanced search