Page 1 of 2

Has it TFolder 2007 look?

Posted: Mon Mar 17, 2008 5:16 am
by dutch
Dear Anotonio,

as subject.

Regards,
Dutch

Posted: Mon Mar 17, 2008 6:22 am
by nageswaragunupudi
I am also eagerly waiting for that

Posted: Mon Mar 17, 2008 7:10 am
by Otto
Hello NageswaraRao,

is there a disadvantage if you use TAB and Panels instead of Folders?
Regards,
Otto

Posted: Mon Mar 17, 2008 9:01 am
by nageswaragunupudi
Mr Otto

Both have different purposes. Please see this topic.

http://fivetechsoft.com/forums/viewtopic.php?t=10372

Posted: Mon Mar 17, 2008 9:07 am
by Antonio Linares
We would like to deliver it in next FWH build

Posted: Tue Mar 18, 2008 1:12 pm
by Silvio
Antonio, when I create my ttabs I made some tries with folder class
and I create fldpaint function to design each tab
I can found my sources and we can modify it if you want

Posted: Tue Mar 18, 2008 1:37 pm
by jose_murugosa
nageswaragunupudi wrote:I am also eagerly waiting for that
I`m waiting for this too, and specialy I would like to use folders as pages without tabs if It could be posible.

Posted: Tue Mar 18, 2008 2:26 pm
by nageswaragunupudi
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 ?

Posted: Tue Mar 18, 2008 2:32 pm
by jose_murugosa
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 ?
Thanks for your interest, nageswaragunupudi, yes I actualy use tPages, and It is excelent but is not transparent because it is not a native control of windows.

And It would be nice to use a "folder without tabs" in sustitution of this control.

But I´m not sure that it is possible.

Antonio, Is it?

Posted: Tue Mar 18, 2008 3:00 pm
by Silvio
FOLDER without TABS ?

HOW ?

Let me see a sample please......

There are many control we can create ...why we stop on old questions ?
LOOk a see to http://www.devcomponents.com/dotnetbar/
before to dead I want work with these control ...in xharbour/fwh
:))))

Posted: Tue Mar 18, 2008 5:10 pm
by nageswaragunupudi
Mr. Fernando Sanchez

> ou can use our TViaRibbonBar class similar to TFolder Class.
> You can redefine folder using your resource editor.

Can we create TViaRibbonBar ( instead of TFolder ) with source code only? Most of my Folders are not from resources. I created most of my Folders with source code only. Any sample to use TViaRibbonBar in the place of TFolder from source code ?

Does TViaRibbonBar now work on 16-bit resolution ?

Posted: Wed Mar 19, 2008 1:39 am
by dutch
Dear Fernando,

I bought it but it has some problem with xHb.com. I try to include but not successful.

Regards,
Dutch
Fernando Sanchez wrote:Hello Ducth,

You can use our TViaRibbonBar class similar to TFolder Class.
You can redefine folder using your resource editor.

Image

Please visit http://www.noway.com for detailed info.

Posted: Wed Mar 19, 2008 3:37 am
by nageswaragunupudi
Mr Fernando

Your example uses resources. Can you please give a simple example without using resources at all ?

When do you propose to make the library work with 16 bit colors too ?

Posted: Wed Mar 19, 2008 3:51 am
by richard-service
Hi

How about use Codejock?

Image
Image

Regards,

Richard

Posted: Wed Mar 19, 2008 4:46 am
by dutch
Dear Fernando,

I try it again this morning but I've got the error as following;
What's wrong I do?
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)
This is my code

Code: Select all

*------------------*
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())
Regards,
Dutch