Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

Re: Modify Edit Style on cells in dw_list @runtime

$
0
0

Hi Steinar;

 

  Absolutely!

 

However, you can not use an DW "expression" for this. Instead, you would have to script the change externally to the DWO using the Modify ( ) command.

 

For example ...

 

DC.Modify("CustomField2.DDDW.AllowEdit=No")

DC.Modify("CustomField2.DDDW.AutoRetrieve=No")

DC.Modify("CustomField2.DDDW.DisplayColumn='dddw_column'")

...

 

Tip1: Have a look at the DW Syntax Utility to help you code the Modify ( ) arguments

Tip2: Create two DWO's with the column "CustomField2" with style DDDW and another using its normal style. Export the two DWO's source and check out all the porpperty settings to verify your Modify ( ) command requirments to set each state correctly

 

HTH

 

Regards ... Chris


Viewing all articles
Browse latest Browse all 7329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>