nageswaragunupudi wrote:I am also eagerly waiting for that
nageswaragunupudi wrote:Mr Jose
> specialy I would like to use folders as pages without tabs if It could be posible.
Have you seen TPages class ? Does it serve your purpose for what you have in mind ?
Fernando Sanchez wrote:Hello Ducth,
You can use our TViaRibbonBar class similar to TFolder Class.
You can redefine folder using your resource editor.
Please visit http://www.noway.com for detailed info.
Error description : Error BASE/1004 Message not found: TVIARIBBON:DEFCONTROL
Stack Calls
===========
Called from : tobject.prg => TVIARIBBON:ERROR(172)
Called from : tobject.prg => TVIARIBBON:MSGNOTFOUND(205)
Called from : tobject.prg => TVIARIBBON:DEFCONTROL(0)
Called from : VCPanel.PRG => TVIAPANEL:NEW(0)
Called from : VRibbonB.PRG => TVIARIBBON:NEW(0)
Called from : EZQUOTE.PRG => QUOTELIST(241)
*------------------*
Procedure QuoteList( cHotel, cQuote, cHIntNo )
local oDlg, oBrow, oBtn[5]
local oRibbonBar
OPENFILE('HOTEL','HL',1)
OPENFILE('QHEAD','QHD',iif(!empty(cQuote),3,2))
SET RELATION TO QHD->HED_HINT INTO HL
if !empty(cHotel)
if QHD->(DbSeek( cHotel ))
QHD->(cmxSetScope( 0, cHotel ))
QHD->(cmxSetScope( 1, cHotel ))
else
MsgAlert('Quotation not found')
end
elseif !empty(cQuote)
if QHD->(DbSeek( cQuote ))
QHD->(cmxSetScope( 0, cQuote ))
QHD->(cmxSetScope( 1, cQuote ))
else
MsgAlert('Quotation not found')
end
end
QHD->(DbGoTop())
DEFINE DIALOG oDlg RESOURCE 'MAINLIST' FONT MEMVAR->oFont
* DEFINE DIALOG oDlg RESOURCE 'QLIST' FONT MEMVAR->oFont
DEFINE RIBBONBAR oRibbonBar OF oDlg SIZE 390 TABS " Quotation List ", " Test " PANELS "QLIST" PIXEL TRANSPARENT // error this line
REDEFINE LISTBOX oBrow FIELDS QHD->HED_HOTEL, QHD->HED_CNT, QHD->HED_NO+iif(!empty(QHD->HED_REV),'/'+QHD->HED_REV,''), dtoc(QHD->HED_DATE), QHD->HED_PRJ, STR(QHD->HED_ROOM,4), QHD->HED_FORM ;
HEADERS 'Name', 'Contact Person', 'Quotation#', 'Date', 'Manager', 'Rooms', 'Q.Form' ;
FIELDSIZES 250, 200, 75, 75, 80, 45, 100 ;
UPDATE ;
ID 101 ;
OF oRibbonBar:aPanels[1] ;
ON DBLCLICK (Quotation(.F., cHIntNo), oBrow:Refresh(), oBrow:SetFocus())
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 29 guests