1. Kari Paukku
  2. PowerBuilder
  3. Friday, 3 April 2020 03:56 AM UTC

Hi,

I'm trying to come up with an alternative way to show the user that it is possible to add or remove records in a data window (DW).

Previously I have had two buttons (New (For insert), Delete) in the DW and that has worked fine. Below is an example of this.

 

To modernize the GUI I would like to get rid of the buttons and replace those with something like this:

where the plus/minus signs act as "buttons". The above is done using a computed field IF(isRowNew(),'+','-') and then doing different colours (red, green) depending on the IsRowNew() function.

One option might be to have a popup menu when the user does a right-mouse-click, but I would prefer a more visual solution.

I'm interested in learning how others have approached this kind of GUI design task.

Thanks,

kp

 

 

John Fauss Accepted Answer Pending Moderation
  1. Friday, 3 April 2020 13:42 PM UTC
  2. PowerBuilder
  3. # 1

Interesting question! I'm curious to learn about ideas from others in the Appeon Community, too.

You may wish to reconsider using red & green as a color-based cue, as up to 8% of males (approx. 1 in 12) and 0.5% of femailes (1 in 200) of Northern European descent has some degree of red-green color blindness (Sources: Wikipedia, U.S. National Institute of Health).

Comment
  1. Chris Pollach @Appeon
  2. Friday, 3 April 2020 15:05 PM UTC
Hi John ... its worse than that as many people are partially colour blind. So you should never hard code colours. Always design your Apps to allow the user s to pick them. For example, orange might appear brown and green might appear yellow, etc to many who are "slightly" colour blind. By letting the users pick the colours allows them to pick the ones that look best to them. ;-)
  1. Helpful
There are no comments made yet.
Adrian Gonzalez Accepted Answer Pending Moderation
  1. Friday, 3 April 2020 12:46 PM UTC
  2. PowerBuilder
  3. # 2

Looks nice! we've got a ribbon-like toolbar on the top with the usual NEW/DELETE/other buttons that react to whatever control is currently under focus.

When you hover over the toolbar the currently focus object gets highlighted so the user knows where the action will take place.

For the case of grid I like your approach better as it requires less mouse travel.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.