Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9129

Re: Change Font size in RichText Datawindow 1 column

$
0
0

Luis,

 

 

Not according to the examples in PB help under the Controls in a DataWindow and their properties section. While there are no specific examples for Font.Height, there are for other properties expecting numeric values

 

ie (copied from PB help) -

dw_1.Modify("emp_name.X=10")

dw_1.Modify("empname.Height=50")

dw_1.Modify("emp_stat.Protect=1")

dw_1.Modify("DataWindow.Print.Margin.Top=500")

etc


None of the examples I've seen use quotes around the property value where the value is expected to be numeric.

 

Although, like I said, I've seen Modifys using numeric arguments work both with and without quotes.

The setColumn(1) returning -1 is a concern. Seems to indicate there's something fishy going on ... wonder what happens if you try SetColumn with the column name. What event/function is this code executingfrom?

 

Nathan


Viewing all articles
Browse latest Browse all 9129

Trending Articles



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