🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.upgrade
1 messages
1 total messages Started by Lance Robaldo Thu, 16 Feb 2006 14:29
2006 & TDBNavigator problems....
#494
Author: Lance Robaldo
Date: Thu, 16 Feb 2006 14:29
24 lines
1657 bytes
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads