View Single Post
  #210  
Old 01-04-2023, 11:31
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno - Updates

What's New:

Code:
* Now you can feed media files (Audio/Video) to ChatGPT.
   - Supported formats: *.m4a, *.mp3, *.webm, *.mp4, *.mpga, *.wav, *.mpeg

* Added HTML Texts.
Code:
HTML Text Syntax:

Link	= <a:"https://google.com/">Click Here</a> 
Spoiler	= <spoiler:UniqueName>Text</spoiler>  and  
          <sdetail:name>Expanded text when the spoiler link is clicked.</sdetail>

Bold	= <b>Hello World</b>	 
Italic	= <i>Hello World</i>
Strike	= <s>Hello World</s> 
Underline  = <u>Hello World</u>

FontName   = <fn:Segoe UI Bold>Hello World</fn>	
FontSize   = <fs:18>Hello World</fs> 
FontColor  = <fc:claRed>Hello World</fc>
	   = <fc:$FFFFFF>Hello World</fc>
			
	   > claRed = Red Color (FMX)

BackgroundColor = <bc:claBlack>Hello World</bc>
		= <bc:$FF4563>Hello World</bc>
				
Line Break	= <br> , Ex:  Hello <br> World
Prevent line break after #13#10 sequence
		= <nbr> , Ex: <nbr>Hello World
			
Line spacing    = <LS:Height>Text</LS> , Ex: <LS:14>Hello</LS>			

Align Left	= <L>Text</L>	
Align Center    = <C>Text</C>
Align Right	= <R>Text</R>

Tab			= <t:30>Text
Tab with aligned break	= <tf:30>Text

Unordered list	= <UL></UL>
Ordered list	= <OL></OL> 
List item	= <LI></LI> 


Float		= <float:X,Y,Width>Text</float> 

Ex: <float:20,10,120>Hello World</float>

Code:
HTML Text Example:

S := 'The <fs:20><spoiler:bf-link-01>FireMonkey framework</spoiler></fs>' +
       '<sdetail:bf-link-01>   Developed by <b>Embarcadero Technologies</b></sdetail>' +

       ' is the <u>app development</u> and <u>runtime platform</u> behind' +
       '<br><br>' +

       '<fc:claPurple><b>RAD Studio</b></fc>, <fc:claPurple><b>Delphi</b></fc>, <fc:claRed><fs:14><s><b>.Net</fs></b></s></fc> and <fc:claPurple><b>C++Builder</b></fc>. ' +

       ' <b><i><bc:claYellow>FireMonkey</bc></i></b> is designed for teams building <br><i>multi-device</i>, <i>true native apps</i> for' +

       ' <fs:15><fc:claLightSeaGreen>Windows</fc></fs>, <fs:15><fc:claLightSeaGreen>OS X</fc></fs>, <fs:15><fc:claLightSeaGreen>Android</fc></fs> and <fs:15><fc:claLightSeaGreen>iOS</fc></fs>,' +
       '<br>' +

       'and getting them to app stores and enterprises fast.' +
       '<br><br><br>' +

       '<ul><fs:15><fc:claOrangered>' +
       '<li>Item 01</li>' +
       '<li>Item 02</li>' +
       '</fc>' +

       '<ol><fc:claSienna>' +
       '<li>Sub Item 2.1</li>' +
       '<li>Sub Item 2.2</li>' +
       '</fc></ol>' +

       '<fc:claOrangered>' +
       '<li>Item 03</li>' +
       '</fc>' +

       '</fs></ul>';

Code:
  HTMLText.FCreate(FMXForm.Handle, S);
  HTMLText.AutoWidth(True);
  HTMLText.AutoHeight(True);
  HTMLText.Left(30);
  HTMLText.Top(100);

Last edited by BLACKFIRE69; 14-07-2024 at 01:55.
Reply With Quote
The Following 4 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (02-04-2023), audiofeel (01-04-2023), hitman797 (01-04-2023), Razor12911 (01-04-2023)