NetTalk Central

Author Topic: how to show row color code at top of browse  (Read 2395 times)

cwtart

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • CommPay Software
    • Email
how to show row color code at top of browse
« on: August 15, 2013, 11:22:32 AM »
In my Win32 app I have a browse where each row is colored depending on a condition. At the top of the browse I have 9 small panels that show the color code and count of the rows of the browse (see attached picture).

The colors of each panel represent colored rows on the browse and show the count of each color.

What would be the best way to do the same thing with a NetTalk web browse? I already have the web browse rows correctly displaying the appropriate color but I want to add a color code indicator along the top of the browse to show what each colored row represents, and show the total count of each color - as my screen shot shows.

Chuck

[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: how to show row color code at top of browse
« Reply #1 on: August 15, 2013, 07:19:35 PM »
Hi Chuck,

a) start with a memory form - this is the container of choice for putting things together.

assuming the colors come from a data table;
b) on this form will go 2 browses, the one you already have (second) and another one with the colors (first).
c) The colors one can contain multiple "records per row" - and of course you can set the name and color there.

or assuming there's a fixed number of colors, and the colors themselves are fixed;
b) create a bunch of display fields on the form (horizontally if you like) followed by the browse you already have.

Cheers
Bruce