Consultor Eletrônico



Kbase P81091: What is the difference between add and add2 in Toolbar?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

GOAL:

What is the difference between add and add2 in Toolbar?

FACT(s) (Environment):

Dynamics

FIX:

Though the items publish different events, a major difference is the enablerule.
Add:
RecordState=RecordAvailable,NoRecordAvailable and Editable and DataModified=no and CanNavigate()
Add2:
canLaunchDetailWindow() and RecordState=RecordAvailable,NoRecordAvailable and CanNavigate()

Therefore Add2 will only be enabled when there is a DetailWindow to launch, for example a browser will need the FolderWindowToLaunch property set.