My honest opinion on the subjects of other posts, without undermining their achievements, I'm working my self more than on a tool, on preserving the Harbour/FiveWin syntaxy's (Both jewels conceived by our Dear Antonio Linares), that was what it brought all of us into FiveWin from Clipper to begin with.
If nobody was able to make most Fivewiners to migrate from .dbf files, who will make them to migrate to the unknown web. I hate .CSS for starters... LOL
For the experts, you will see that the samples do not work 100% accuratly,,, is still on the works... but is not a fake... just a proof of concept....

/*
* my_box_title.prg - Demo of WebX Classes
*
* Demonstrates the new web-styled container and title bar controls
* Compatible with Harbour/FiveWin Language*
* (c) MayaPOS 2026 - WebX Framework
*/
#include "WebX.ch"
FUNCTION Main()
LOCAL oWnd
LOCAL oTitle1, oTitle2, oTitle3
LOCAL oBox1, oBox2, oBox3
LOCAL oSay1, oSay2, oSay3, oSay4, oSay5, oSay6
LOCAL oBtn1, oBtn2
// Create main window with light background
DEFINE WINDOW oWnd ;
TITLE "TMyBox and TMyTitle Demo - WebX Framework" ;
SIZE 1200, 800
//--------------------------------------------------------------------------
// Page Title with Modern Gradient
//--------------------------------------------------------------------------
oTitle1 := TMyTitle():New( oWnd, 10, 20, 1160, 60, ;
"WebX Framework - Modern UI Components", ;
CLR_WHITE, ; // Text color
nRGB( 65, 84, 241 ), ; // Primary #4154f1
nRGB( 44, 54, 135 ), ; // Gradient end #2c3687
NIL, ; // Style
NIL, ; // Font
.F., ; // Horizontal gradient
.T., ; // Border
nRGB( 65, 84, 241 ), ; // Primary border #4154f1
.F. ) // Glass effect
//--------------------------------------------------------------------------
// Section 1: Info Box (Light Blue)
//--------------------------------------------------------------------------
oBox1 := TMyBox():New( oWnd, 90, 20, 360, 250, ;
"Customer Information", ;
CLR_WHITE, ; // Title text color
nRGB( 64, 153, 255 ), ; // Info #4099ff
nRGB( 207, 244, 252 ) ) // Info light #cff4fc
@ 130, 40 SAY oSay1 PROMPT "Name: John Doe" SIZE 300 COLOR nRGB(66, 66, 66) TO oWnd
@ 160, 40 SAY oSay2 PROMPT "Email: john@example.com" SIZE 300 COLOR nRGB(66, 66, 66) TO oWnd
@ 190, 40 SAY oSay3 PROMPT "Phone: (555) 123-4567" SIZE 300 COLOR nRGB(66, 66, 66) TO oWnd
@ 220, 40 SAY PROMPT "Status: Active Customer" SIZE 300 COLOR nRGB(46, 202, 106) TO oWnd
//--------------------------------------------------------------------------
// Section 2: Success Box (Green)
//--------------------------------------------------------------------------
oBox2 := TMyBox():New( oWnd, 90, 400, 360, 250, ;
"Sales Statistics", ;
CLR_WHITE, ; // Title text color
nRGB( 46, 202, 106 ), ; // Success #2eca6a
nRGB( 224, 248, 233 ) ) // Success light #e0f8e9
@ 130, 420 SAY PROMPT "Total Sales: $125,450" SIZE 300 COLOR nRGB(66, 66, 66) TO oWnd
@ 160, 420 SAY PROMPT "Orders: 342" SIZE 300 COLOR nRGB(66, 66, 66) TO oWnd
@ 190, 420 SAY PROMPT "Average: $366.81" SIZE 300 COLOR nRGB(66, 66, 66) TO oWnd
@ 220, 420 SAY PROMPT "Growth: +23.5%" SIZE 300 COLOR nRGB(46, 202, 106) TO oWnd
//--------------------------------------------------------------------------
// Section 3: Warning Box (Orange)
//--------------------------------------------------------------------------
oBox3 := TMyBox():New( oWnd, 90, 780, 400, 250, ;
"Recent Notifications", ;
CLR_WHITE, ; // Title text color
nRGB( 255, 119, 29 ), ; // Warning #ff771d
nRGB( 255, 236, 223 ) ) // Warning light #ffecdf
@ 130, 800 SAY PROMPT "• New order received" SIZE 350 COLOR nRGB(66, 66, 66) TO oWnd
@ 160, 800 SAY PROMPT "• Payment processed" SIZE 350 COLOR nRGB(66, 66, 66) TO oWnd
@ 190, 800 SAY PROMPT "• Shipment dispatched" SIZE 350 COLOR nRGB(66, 66, 66) TO oWnd
@ 220, 800 SAY PROMPT "• Customer feedback received" SIZE 350 COLOR nRGB(66, 66, 66) TO oWnd
//--------------------------------------------------------------------------
// Secondary Title
//--------------------------------------------------------------------------
oTitle2 := TMyTitle():New( oWnd, 360, 20, 560, 60, ;
"Information Panel", ;
CLR_WHITE, ;
nRGB( 1, 41, 112 ), ; // Secondary #012970
nRGB( 65, 84, 241 ), ; // Primary #4154f1
, , ;
.F., ; // Horizontal gradient
.T., ;
nRGB( 1, 41, 112 ), ; // Secondary border
.F. )
@ 440, 40 SAY PROMPT "Dark to bright gradient" SIZE 500 COLOR nRGB(66, 66, 66) TO oWnd
@ 470, 40 SAY PROMPT "with semi-transparent appearance." SIZE 500 COLOR nRGB(66, 66, 66) TO oWnd
//--------------------------------------------------------------------------
// Danger Title (with glass effect)
//--------------------------------------------------------------------------
oTitle3 := TMyTitle():New( oWnd, 360, 600, 580, 60, ;
"Reports & Analytics", ;
CLR_WHITE, ;
nRGB( 220, 53, 69 ), ; // Danger #dc3545
nRGB( 176, 42, 55 ), ; // Darker danger
, , ;
.F., ; // Horizontal gradient
.T., ;
nRGB( 220, 53, 69 ), ; // Danger border
.T. ) // Glass effect enabled
@ 440, 620 SAY PROMPT "Danger/alert color with glass effect" SIZE 500 COLOR nRGB(66, 66, 66) TO oWnd
@ 470, 620 SAY PROMPT "combining gradient and transparency." SIZE 500 COLOR nRGB(66, 66, 66) TO oWnd
//--------------------------------------------------------------------------
// Action Buttons (direct syntax - works now)
// @ BUTTON transpiler fix working but hits BUG #128 (goto label) in webx_mybox
//--------------------------------------------------------------------------
oBtn1 := TButton( 520, 20, "Refresh Data",, oWnd, 180, 40,, .T. )
oBtn2 := TButton( 520, 220, "Close Demo",, oWnd, 180, 40,, .T. )
//--------------------------------------------------------------------------
// Information Footer
//--------------------------------------------------------------------------
@ 580, 20 SAY PROMPT "TMyBox: Styled containers with colored title bars" ;
SIZE 1100 COLOR nRGB( 117, 117, 117 ) TO oWnd
@ 610, 20 SAY PROMPT "TMyTitle: Gradient title bars with optional glass effects" ;
SIZE 1100 COLOR nRGB( 117, 117, 117 ) TO oWnd
// Activate window
ACTIVATE WINDOW oWnd
RETURN NIL
// EOF=====>
Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala
FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10
FiveWin, One line of code and it's done...
