This works for me. It's inside a WHILE loop; vInvCount is the
predetermined number of invoices to process, vInvCounter is initialized
to 0. Notice that vProgress is an integer percent calculation.
WHILE...
SET VAR vInvCounter = (.vInvCounter + 1), +
vprogress = (NINT(((.vInvCounter/.vInvCount) * 100)))
SET VAR vMsg TEXT = ('Processing invoice #' + (CTXT(.vNewInv)) )
PAUSE 3 USING .vMsg +
CAPTION 'Invoice Log' +
OPTION METER_VISIBLE ON +
|METER_VALUE .vprogress +
|METER_TYPE NORMAL +
|METER_BACK_COLOR WHITE +
|METER_BAR_COLOR NAVY +
|METER_FONT_COLOR RED +
|BACK_COLOR WHITE +
|MESSAGE_COLOR WHITE +
|MESSAGE_FONT_COLOR GREEN
{processing}
ENDW
Doug
On 11/26/2014 8:11 AM, [email protected] wrote:
Is the below the expected results?
version 9.5
Meter control
Meter type : Bar 3D
Segment options can be set, but no segments are displayed.
Percent indicator can be set and percent is displayed
Meter type : Normal
Segment options can be set, but no segments are displayed.
Percent indicator can be set and is displayed
Meter type : LED
Segment options can be set, and segments are displayed.
Percent indicator can be set, but percent indicator is not displayed.
I wanted to have segments displayed and have a percent indicator,
but have been unable to do so.
Thank you,
Bob
---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com