Home General

Use of TppDataEditType value ppemAll

edited December 2011 in General
Hi,

A Dataview has a property EditOptions: TppDataEditTypes which is defined
as a set of TppDataEditType:

TppDataEditType = (ppemAll, ppemPreview, ppemTables, ppemFields, ppemCalcs,
ppemSearch, ppemGroup, ppemGroupSearch, ppemSort, ppemLink, ppemText);


If I look at the code that displays a dataviewtoolwin used in the reportdesigner,
based on this property toolbar buttons are created for the options that are
set. I presumed that stting the EditOptions to ppemAll that ll options would
be selected, but that doesnt seem to be the case.

In stead, the dataviewToolwin tries to display a toolbar icon for toolnaam
"DAALL" for which it cannot find any bitmaps.

So my question: what is the function of ppemAll? Why isnt there a toolbar
icon for it in the resources??

btw, using RBUilder14.01

Comments

  • edited December 2011

    In daDataWizardManager and daQueryDesigner ppemAll is used as the default
    EditMode value, which causes the first page of the query designer to be
    displayed. When defining a custom DataView class, the DatraView.EditOptions
    should omit ppemAll, it is not intended to represent a toolbar button.

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.