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

RE: How does MF INVOKE interface with windows?

$
0
0

thanks, in my haste i missed the separate pages for listview / item / header.

HOWEVER... in a quick " SetLabel" method test, I get error "240 obj ref not valid lsthdr" using code below. The justification code works so the obj ref is fine. The Term-field parameter is the one used in the original code above to set the col header in the first place so should also be fine.

            evaluate LVdats2-ITEM-ALIGN(k)

              when "R"

                  INVOKE LVdats2-item-objref(k) "rightJustified"

              when "C"

                  INVOKE LVdats2-item-objref(k) "centered"

              when other    

                  INVOKE LVdats2-item-objref(k) "leftJustified"

            end-evaluate

            invoke LVdats2-item-objref(k) "SetLabel" using Term-Field


Viewing all articles
Browse latest Browse all 4356

Trending Articles



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