1. Robert Sawyer
  2. PowerBuilder
  3. Thursday, 16 May 2024 15:33 PM UTC

I don't want to use the setrow function on my dw because I don't want the blue row. So in my detail band, I set the background color conditionally if it is the current row.

I have two issues, on the clicked event, the row doesn't change colors unless one of the columns in the dw has a tab order > 0.

It looks like this with no column with a tab order.

 

No big deal, I just add and empty column in the select, give it tab order and kind of hide it on the dw. 

The other issue I have is when I select a row, the column has a black portion that I don't want - see below. I want rate table description column to look like rate table id column. They both have tab order of 0 but i clicked on the rate table description column.

Im using PB22 R3

 

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 16 May 2024 15:49 PM UTC
  2. PowerBuilder
  3. # 1

Hi Robert;

  What seem to have here is either a Tabular or Grid DWO. Normally, these are only used as a "pick list" (read only). Detail DWO's are normally Freeform (one row) in design. Thus, the problems your having would not be an issue. Food for thought.  HTH 

Regards ... Chris 

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Thursday, 16 May 2024 15:49 PM UTC
  2. PowerBuilder
  3. # 2

Hi, Robert -

I'm not sure this will address any of your needs, but have you tried setting the "Display Only" property of a column DWObject? Using this property, the column can have a non-zero tab order, but the user cannot modify the value.

Best regards, John

Comment
  1. Robert Sawyer
  2. Thursday, 16 May 2024 16:10 PM UTC
The display only solution worked great - thank you for taking the time to help I appreciate it very much.
  1. Helpful
  1. John Fauss
  2. Thursday, 16 May 2024 16:21 PM UTC
You're welcome! Glad to hear it did the trick.
  1. Helpful
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.