maillist@pvxplus.com

Message: previous - next
Month: January 2002

Re: [Pvx] Colour Control

From: "Michael King" <mike.king@...>
Date: Thu, 24 Jan 2002 16:15:55 -0500
Andy,

If you only have a few different sales offices try setting/leaving the
background colour set to default and try adding Pre-dsplay logic to the
panel to print one of the following:

    PRINT 'B7','CS',    ! White
    PRINT 'B8','CS',    ! Dark Grey
    PRINT 'B9,'CS',    ! Red
    PRINT 'B:','CS',    ! Green
    PRINT 'B;','CS',    ! Yellow
    PRINT 'B<','CS',    ! Blue
    PRINT 'B=','CS',    ! Magenta
    PRINT 'B>','CS',    ! Cyan


Michael F. King <mike.king@...>
VP & General Manager
Best Software Canada Ltd.

----- Original Message -----
From: "Andy Wood" <andyw@...>
To: <providex@...>
Sent: Thursday, January 24, 2002 4:04 PM
Subject: Re: [Pvx] Colour Control


> Yeah.  After reading Chris's explanation, I went back to my superiors and
> basically told them "no".  It looks like we'll attempt to change the
folder
> control on the specific Nomads panels they want to change.  From a nicely
> coloured perspective, they don't care so much as the purely physical
visual
> difference depending on the setting of a particular variable.
>
> In Pointforce terms, they want OE30 to change depending on the Sales
Office
> that session is running under.  I guess a few of our users are
> "multi-tasking" between multiple Sales Offices, and can't read the Window
> Header Bar to determine which one they need to be in for that customer
call.
>
> <sigh>
>
> ... Andy Wood
>
>
> At 03:55 PM 24/01/2002, you wrote:
> >Andy,
> >
> >You likely would want to avoid changing the colour of the Window and
> >unfortunately its not quite as simple as it seems.
> >
> >First the background colour of the window is a based on the background
> >colours of the text plain.  Text data only has 16 background colours --
> >defined by the VIDEO_PALETTE directive.  While its possible to define
> >additional/different colours it is done session by session -- not window
by
> >window.
> >
> >Second you need to consider the users windows colour settings.  By
default
> >Pvx uses the windows colour for buttons as the colour for "Light Gray".
> >This means that any ProvideX panel with a light gray background will
follow
> >all the standard user definable windows colours.  If the user changes his
> >windows colours, ProvideX will automatically change Light Gray to the new
> >button colour (usually refereed to as the 3D object colour).  If you
don't
> >use Light gray and hard code the colours you can end up with screens
looking
> >fine on some PC and bad on others -- all dependant on the users Windows
> >settings.
> >
> >Michael F. King <mike.king@...>
> >VP & General Manager
> >Best Software Canada Ltd.
> >
> >
> >----- Original Message -----
> >From: "Andy Wood" <andyw@...>
> >To: <providex@...>
> >Sent: Thursday, January 24, 2002 2:18 PM
> >Subject: Re: [Pvx] Colour Control
> >
> >
> > > Now for part 2 of my task...
> > >
> > > They want me to be able to change the panel colour programmatically.
So,
> >I
> > > read the data stored from calling *win/colour, but I can't seem to
find
> >the
> > > Dynamic Control of the panel itself to be able to set either
backcolour$
> >or
> > > forecolour$, whatever applies to the panel face colour itself.
> > >
> > > ie :
> > > 10000 mypanel'backcolour$="Light Red"
> > > 10010 refresh_flg=1  ! if necessary
> > >
> > >
> > >
> > > At 12:02 PM 24/01/2002, you wrote:
> > > >Andy
> > > >
> > > >Try:
> > > >
> > > >     CALL "*win/colour",X$
> > > >
> > > >X$ will return the colour string.
> > > >
> > > >(To our American friends -- Sorry about the correct English spelling)
> > > >
> > > >Michael F. King <mike.king@...>
> > > >VP & General Manager
> > > >Best Software Canada Ltd.
> > > >
> > > >----- Original Message -----
> > > >From: "Andy Wood" <andyw@...>
> > > >To: <providex@...>
> > > >Sent: Thursday, January 24, 2002 11:58 AM
> > > >Subject: [Pvx] Colour Control
> > > >
> > > >
> > > > > Is there a colour query/control available that I can load onto a
> >Nomads
> > > >panel?
> > > > >
> > > > > For example;
> > > > > Panel with some multi-lines for system settings.
> > > > > I'd like to add a field that will hold a colour code, user
selectable
> >via
> > > > > query button, that can be stored and recalled when a specific
panel is
> > > > > drawn, and the colour can be applied to the background of the
panel
> >during
> > > > > Focus-On Panel logic.
> > > > >
> > > > > My problem is that I can't seem to locate a Colour Pallette
> > > > > control/query.  Is there one?
> > > > >
> > > > > Thanks in advance,
> > > > >
> > > > >
> > > > >
> > > >
> >
> --------------------------------------------------------------------------
> > > >------------------
> > > > >                Andy Wood - Developer/Systems Analyst
> > > > >                          Bruce Edmeades Sales Ltd.
> > > > >                          Kitchener, Ontario, Canada
> > > > >                            http://www.edmeades.ca
> > > > >
> > > > > PVX 4.23 on HP-UX 10.20, WindX 4.23 on Win9x and W2K Pro
> > > > >                        PVX 4.23 on Win NT 4.0 SP6a
> > > > >             PVX 4.23 Web Server 1.3.7 on HP-UX 10.20
> > > >
> >
> --------------------------------------------------------------------------
> > > >------------------
> > > > >
> > > > >
> > > > > To unsubscribe, e-mail: providex-unsubscribe@...
> > > > > For additional commands, e-mail: providex-help@...
> > > > >
> > > >
> > > >
> > > >To unsubscribe, e-mail: providex-unsubscribe@...
> > > >For additional commands, e-mail: providex-help@...
> > >
> >
> --------------------------------------------------------------------------
> >------------------
> > >                Andy Wood - Developer/Systems Analyst
> > >                          Bruce Edmeades Sales Ltd.
> > >                          Kitchener, Ontario, Canada
> > >                            http://www.edmeades.ca
> > >
> > > PVX 4.23 on HP-UX 10.20, WindX 4.23 on Win9x and W2K Pro
> > >                        PVX 4.23 on Win NT 4.0 SP6a
> > >             PVX 4.23 Web Server 1.3.7 on HP-UX 10.20
> >
> --------------------------------------------------------------------------
> >------------------
> > >
> > >
> > > To unsubscribe, e-mail: providex-unsubscribe@...
> > > For additional commands, e-mail: providex-help@...
> > >
> >
> >
> >To unsubscribe, e-mail: providex-unsubscribe@...
> >For additional commands, e-mail: providex-help@...
>
> --------------------------------------------------------------------------
------------------
>                Andy Wood - Developer/Systems Analyst
>                          Bruce Edmeades Sales Ltd.
>                          Kitchener, Ontario, Canada
>                            http://www.edmeades.ca
>
> PVX 4.23 on HP-UX 10.20, WindX 4.23 on Win9x and W2K Pro
>                        PVX 4.23 on Win NT 4.0 SP6a
>             PVX 4.23 Web Server 1.3.7 on HP-UX 10.20
> --------------------------------------------------------------------------
------------------
>
>
> To unsubscribe, e-mail: providex-unsubscribe@...
> For additional commands, e-mail: providex-help@...
>