Re: Bar graph in Forms 4.5

From: Valery A. Sorokin <vsorokin_at_dd.ru>
Date: Tue, 20 Oct 1998 12:50:40 +0300
Message-ID: <362C5CF0.1F790036_at_dd.ru>


Sorry for mistake in my previous message.

This will work only in Forms 5.0, not in 4.5 ...

Valery A. Sorokin wrote:
>
> Try to use colored text items and Set_Item_Instance_Property built-in
> in POST-QUERY trigger for set appropriate width of these items.
>
> I hope this will help you.
>
> Mark Styles wrote:
> >
> > Hi, hope someone can help me with this!
> >
> > I have a 4.5 form, with a multi row block.
> > Each row is a 'process'.
> > I would like to graphically show the progress of each process with a
> > kind of bargraph.
> > Each process can be in one of 5 states, so if you imagine a bar from 0
> > to 100%, each phase would fill 20% of the bar.
> >
> > e.g.:
> >
> > process 01 * * * *
> > process 02 * * *
> > process 07 * * * * *
> > process 12 *
> >
> > The asterisks would be represented more graphically.
> >
> > I want the colour of the bar to reflect the status of the process,
> > green for ok, red for failed.
> >
> > So far, the only way I've found to do this is to have two bitmaps held
> > on disk, one red and one green, wide enough to cover 20% of the bar. I
> > then populate up to 5 non base columns with the relevant image, using
> > read_image_file. This works, but it is very slow. Can anyone offer a
> > way to speed it up, or a better solution to the problem?
> >
> > Thanks in advance for any suggestions.
> >
> > Mark Styles
> > Spam my account, lose your account. Clear enough?
> > Religious tolerance is an oxymoron.
>
> --
> Valery A. Sorokin
> ProSoft, Russia, Moscow, Information Systems Division
> Phone: +7 (095) 234 0636 (6 lines) FAX: +7 (095) 234 0640
> E-mail: vsorokin_at_dd.ru OR vsorokin_at_prosoftmpc.msk.su
> http://www.dd.ru

-- 
Valery A. Sorokin
ProSoft, Russia, Moscow, Information Systems Division
Phone: +7 (095) 234 0636 (6 lines) FAX: +7 (095) 234 0640
E-mail: vsorokin_at_dd.ru OR vsorokin_at_prosoftmpc.msk.su
http://www.dd.ru
Received on Tue Oct 20 1998 - 11:50:40 CEST

Original text of this message