Hi,
I want to use the folderex class with the tab's at the left.
The only problem is that the text on the tab is not rotated.
How can I rotate the text, or maybe put the characters below each other.
Like:
O
N
E
T
W
O
Thank you
#include "FiveWin.ch"
function main()
local oWnd, i
local oFld
local aBitmaps := { "Test1.png",;
"Test2.png",;
"Test3.png" }
DEFINE WINDOW oWnd TITLE "TFolderex - Testing -"
@ 3, 3 FOLDEREX oFld PIXEL ADJUST;
PROMPT "", "", "";
BITMAPS aBitmaps;
ACTION( ::HideTab( nOption ) )
//#define LAYOUT_TOP 1
//#define LAYOUT_LEFT 2
//#define LAYOUT_BOTTOM 3
//#define LAYOUT_RIGHT 4
oFld:nFolderHeight := 100
oFld:nLayOut := 2
ACTIVATE WINDOW oWnd
RETURN NIL
Function TestFldEx()
local oSay5
local oSay6
local nClrL := Rgb( 0, 188, 142 )
local oFld12
local oFont
DEFINE FONT oFont NAME "CALIBRI" SIZE 0,-14
DEFINE WINDOW oWindow FROM 20, 20 TO GetSysMetrics( 1 ) - 60, 1120 ;
PIXEL TITLE "Test Panels and FolderEx" ; // MENU MyMenu();
COLOR CLR_BLACK, Rgb( 224, 224, 224 )
oWindow:SetFont( oFont )
@ 1, 10 FOLDEREX oFld12 ;
PROMPTS "CONEXIONES RECIENTES", "CONEXIONES GUARDADAS" PIXEL ;
OF oWindow SIZE 600, 400 ; //TRANSPARENT ;
FONT oFont COLOR CLR_WHITE LEFT
WITH OBJECT oFld12
:nFolderHeight := 24
:nRound := 0
:nSeparator := 0
:aGradSel := { { 1, CLR_WHITE, CLR_WHITE } }
:aGradUnSel := { { 1, CLR_WHITE, CLR_WHITE } }
:bClrText := { | o, n | if( n = o:nOption, ;
METRO_GRIS2, Rgb( 184, 184, 184 ) ) }
:aGradOver := { { 0.8, CLR_WHITE, CLR_WHITE }, { 0.2, nClrL, nClrL } }
:aGradOverUnSel := :aGradOver
//:AdjClient()
:Default()
END
@ 0, 10 SAY oSay5 PROMPT "Esto es un Folder Pestaña 1" OF oFld12:aDialogs[ 1 ] ;
SIZE 250, 32 PIXEL ;
FONT oFont /*TRANSPARENT*/ VCENTER COLOR Rgb( 128, 128, 128 )
@ 5, 10 SAY oSay6 PROMPT "Esto es un Folder Pestaña 2" OF oFld12:aDialogs[ 2 ] ;
SIZE 250, 32 PIXEL ;
FONT oFont /*TRANSPARENT*/ VCENTER COLOR Rgb( 128, 128, 128 )
ACTIVATE WINDOW oWindow VALID ( .T. )
RELEASE FONT oFont
Return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 29 guests