Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: One more C# WPF to Cobol

$
0
0

Hi Bernd, I think I answered this one in my post on your other thread "Public Class for a WPF Data Grid":

The 2.2 version of Visual COBOL does have support for property initialization as part of a 'new' expression.

Try something like:

     01 o type WPFGridZeilen.

     set o to new WPFGridZeilen(property GrSpalte01 = "Hello 01"

                                property GrSpalte02 = "Hello 02")

         display o::GrSpalte01

         display o::GrSpalte02


Viewing all articles
Browse latest Browse all 4356

Trending Articles



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