AEVal( aSource, { | a | oMail:GetMessage( a[ 1 ] ), AAdd( aMsgs, { a[ 1 ], a[ 2 ], oMail:cMessage } ) } )
nLeftPos := Min( 300, Int( GetSysMetrics( 0 ) / 5 ) )
if Empty( oWnd )
lWnd := .T.
DEFINE WINDOW oWnd ;
TITLE " - Google Mail - " + FWVERSION + " - " + hb_Compiler() ;
PIXEL COLOR CLR_BLUE, CLR_WHITE //STYLE WS_POPUP
endif
nTop := if( Empty( oWnd:oBar ), 0, oWnd:oBar:nBottom ) + 2
nHeight := if( Empty( oWnd:oMsgBar ), 32, oWnd:oMsgBar:nTop - 2 )
@ nTop, nLeftPos + 2 XBROWSE oBrw DATASOURCE aMsgs OF oWnd ;
SIZE GetSysMetrics( 0 ) - nLeftPos - 4, GetSysMetrics( 1 ) - nHeight ;
HEADERS "Thread", "Id", "Message" ;
COLUMNS 2, 1, 3 ;
PIXEL CELL LINES NOBORDER
WITH OBJECT oBrw
:l2007 := .F.
//:nMarqueeStyle := MARQSTYLE_DOTEDCELL
:nStretchCol := 3
:bClrHeader := { || { CLR_WHITE, CLR_GRAY } }
:bClrSelFocus := ;
:bClrSel := { || { CLR_BLACK, CLR_HGRAY } }
:lRecordSelector := .F.
:lHScroll := .F.
:nColDividerStyle := ;
:nRowDividerStyle := LINESTYLE_LIGHTGRAY
:nRowHeight := 87
WITH OBJECT :aCols[ 3 ]
:bClrStd := { || { CLR_BLUE, CLR_WHITE } }
:nDataStrAlign := 0
END
:CreateFromCode()
END
Silvio.Falconi wrote:Cris,
Do you remember , you sad "wait"..
and I'm waiting also for your sample test for insert data from Google calendar directly to tcalex...
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 76 guests