1. Luis Pesaressi
  2. PowerBuilder
  3. Sunday, 14 August 2022 06:55 AM UTC

Hi

How can change to "drawing:false" only in dw/edit/style edit   filed 

in them file I can't fount that property for this field type

 

thank

Luis

Olan Knight Accepted Answer Pending Moderation
  1. Sunday, 14 August 2022 21:00 PM UTC
  2. PowerBuilder
  3. # 1

For an entire DW you can use   dw_1.SetRedraw (FALSE)

followed later in the code by    dw_1.SetRedraw (TRUE)


For a single column, you can use dw_1.Object.column_1.DisplayOnly = 1 along with dw_1.Object.column_1.Protect = 1

Comment
There are no comments made yet.
Luis Pesaressi Accepted Answer Pending Moderation
  1. Sunday, 14 August 2022 21:30 PM UTC
  2. PowerBuilder
  3. # 2

Thank for answer

but, in Theme.json  file how can change this color in edit field of dw

 

thenks

Luis

Comment
  1. Andreas Mykonios
  2. Wednesday, 17 August 2022 05:56 AM UTC
You can't. Themes are generic and don't work based on specific properties of created datawindows. What you want should be implemented using expressions.

Andreas.
  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.