BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

2006 & TDBNavigator problems....

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Upgrade)
View previous topic :: View next topic  
Author Message
Lance Robaldo
Guest





PostPosted: Thu Feb 16, 2006 3:03 pm    Post subject: 2006 & TDBNavigator problems.... Reply with quote



We just upgraded from BCB6 to BCB Studio 2006.

I have a project with a TDBNavigator in it. I'm trying to programatically
set the buttons that I want to be visible.

The code is as follows:

NavBar->VisibleButtons =TButtonSet() << nbFirst << nbPrior << nbNext <<
nbLast << nbInsert << nbDelete << nbEdit << nbPost << nbCancel ;

However I'm getting the following compiler error:

[C++ Error] EedpMainForm.cpp(1502): E2094 'operator<<' not implemented in
type 'TButtonSet' for arguments of type 'TNavigateBtn'


This has always worked fine in BCB5.
I pulled up Borland's help, and their example is virtually identical.

Any ideas?

Thanks,
Lance.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Upgrade) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.