Search found 14 matches: textline

Return to advanced search

String to array using 2 different delimiters

Hello, what is the best solution to build a structured array from a textline with 2 delimiters ? maybe a char replace of < - > with blancs next splitting the line for < ; > and splitting blancs :?: Delimiter Fields < ; > Delimiter Fieldinfos ...
by ukoenig
Fri Aug 09, 2019 12:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: String to array using 2 different delimiters
Replies: 4
Views: 620

Re: Proportional font size according to window resolution

... x 600, 1024 x 768 .... ) 1. Top / Left textposition ( bottom / right the same ) 2. a checkbox for optional window-width adjusted to the longest textline ( a defined Top and Left, will center the text vertical and horizontal inside the window ) http://www.pflegeplus.com/IMAGES/Fontsize5.jpg ...
by ukoenig
Fri May 30, 2014 10:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Proportional font size according to window resolution
Replies: 17
Views: 4169

Re: Proportional font size according to window resolution

... button < Windows > opens a second window and calculates the fontsize to fill the window-height. I can adjust the window-width to the longest textline if needed. Any window-size can be defined, to display the textlines. http://www.pflegeplus.com/IMAGES/Fontsize3.jpg I can calculate ...
by ukoenig
Thu May 29, 2014 4:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Proportional font size according to window resolution
Replies: 17
Views: 4169

Re: About box

... and Text, Backgrounds, Sizes, Message-Bmp, Shadow- Size / Position / Color ..... Switch BMP On / Off, to show just the Background and Text. Empty Textlines are not used inside the Message. Any Changes from the Folder, shows the Result inside the Painter. The Window-message is updated, after closing ...
by ukoenig
Tue Jul 05, 2011 10:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: About box
Replies: 13
Views: 2532

Re: New Arrangement of MSGWAIT- ALERT- and YESNO-function

... ; nSpace, nTop, nLeft, ; cImage1, cImage2) http://www.pflegeplus.com/pictures/dlgsize.jpg 1. Get the Text-len from all included Textlines ( 2 Fonts are used ) nMsgTW1 := oDlg:GetWidth( cTitle, oFont1 ) + 40 // 40 = BMP-size nMsgTW2 := oDlg:GetWidth( cTxt1, oFont2 ) nMsgTW3 := ...
by ukoenig
Fri Apr 29, 2011 10:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Arrangement of MSGWAIT- ALERT- and YESNO-function
Replies: 8
Views: 3669

How to calc. the Len of a Textstring with a given Font ?

... like to use a normal Alert. I created my own Style. 2. The longest Text will be the Info with Path- and Filename. I must know the length of this Textline for the needed Width of the Alert. I don't want to waste Space for the Length. The Height is fixed. I created a new Function as a Alert-replacement. ...
by ukoenig
Fri Apr 22, 2011 10:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to calc. the Len of a Textstring with a given Font ?
Replies: 4
Views: 1137

Re: Little misalignment in prompt of TBtnBmp

... http://www.pflegeplus.com/pictures/BtnBmp5.jpg BOTTOM shows a Problem with Linefeed the second Textline covers the BMP : http://www.pflegeplus.com/pictures/BtnBmp7.jpg Best Regards uwe :lol:
by ukoenig
Fri Jan 01, 2010 6:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Little misalignment in prompt of TBtnBmp
Replies: 8
Views: 2113

Re: Custom report.

Hello Hunter, If I understand your question right: This should give 3 headers and 6 lines - You can also insert a textline "TestText" if you want. Best regards, Otto  COLUMN TITLE "Name" , "Header2", "Header3"         ...
by Otto
Thu Nov 19, 2009 8:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Custom report.
Replies: 16
Views: 2769

Tooltip-Height not adjusted to Text ?

... to rewrite all the Tooltips and noticed some things : http://www.pflegeplus.com/pictures/tooltip1.jpg The Length of the Tooltip-Textline is allways adjusted to the Title-Width. CRLF inside the Tooltip-Text is ignored, if a Textline is longer than the Title-Length. Title : "Color-Background ...
by ukoenig
Tue Jun 23, 2009 7:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tooltip-Height not adjusted to Text ?
Replies: 0
Views: 246

Re: For Antonio (some required changes)

... ago. No sideeffects are seen! Its only increase the high of the paint-window from the text. oFont:nHight is only from the groundline from the last textline to the groundline from the actual line. And then are cutted the "g" etc. Maybee this are an help (in German): http://msdn.microsoft.com/de-de/library/xwf9s90b.aspx ...
by byte-one
Sat Jan 24, 2009 11:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: For Antonio (some required changes)
Replies: 8
Views: 1331

converter

Sorry, sometimes my bad english-translation. i mixed token and delimiter. That is the function < PARSESTR > I can scan a textline and save the stringpart between two delimiters to a array. Maybe it is a solution for my problem. FUNCTION PARSESTR(cText, cDelim) /* Parses ...
by ukoenig
Mon Aug 18, 2008 11:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A converter from text-file ( with delimiters ) to DBF ?
Replies: 29
Views: 7220

Converter

... a function < PARSESTR > with this function it is possible, to extract a stringpart between 2 delimiters. To create a empty DBF from the 1. textline is no problem, but to find out the field-length. For that, i have to look for the max., used length between 2 delimiters for each field. but ...
by ukoenig
Mon Aug 18, 2008 10:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A converter from text-file ( with delimiters ) to DBF ?
Replies: 29
Views: 7220

A converter from text-file ( with delimiters ) to DBF ?

... ( telefon-calls ) The first thing i have to do is to create a empty DBF with the fieldnames of the first text-line. Second : a scanning of each textline for delimiter ; that means to write the text from ( 0 to the first ; ) to the 1. DBF-field, then from the first ( ; between the second ; ) ...
by ukoenig
Mon Aug 18, 2008 9:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A converter from text-file ( with delimiters ) to DBF ?
Replies: 29
Views: 7220

Text orientation

Hello Silvio, The NESCAPEMENT - parameter writes text from left to right and turns the textline. I'm writing text from top to bottom that cannot be done with this parameter. I don't turn the text. Every single character has to be centered to the bitmap-width. The problem ...
by ukoenig
Tue Apr 15, 2008 7:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to place vertical text on a bitmap (no turn 90° or 45°)
Replies: 4
Views: 981

Return to advanced search