Consultor Eletrônico



Kbase P25417: The value of the FlatButtons attribute for a SmartToolbar is ignored
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   30/12/2009
Status: Unverified

SYMPTOM(s):

Setting the toolbar attribute FlatButton to no has no effect

The value of the FlatButtons attribute for a SmartToolbar is ignored

FACT(s) (Environment):

Dynamics 1.1a
Dynamics 2.0A
Progress 9.1D

FIX:

This is currently scheduled to be fixed in a future release.

A workaround to get this to work is to amend the createButton() definition in toolbar.p as follows:

DEFINE VARIABLE lFlatButtons AS LOGICAL NO-UNDO.
{get FlatButtons lFlatButtons}.

CREATE BUTTON hTmp
ASSIGN NO-FOCUS = lFlatButtons
FRAME = phFrame
NAME = pcName
LABEL = pcLabel
FLAT-BUTTON = lFlatButtons
......