How to get column description from row no in select list of hwtk

Jouher_20929
Jouher_20929 Altair Community Member
edited October 2020 in Community Q&A

How to get column description from row no in select list of hwtk.

 

@tinh

Answers

  • tinh
    tinh Altair Community Member
    edited January 2019

    Refer to hwtk examples

  • Jouher_20929
    Jouher_20929 Altair Community Member
    edited January 2019

    @tinh i have created a hwtk select list. whenever i click one row from description and curse over other rows, they are getting autoselected. How to avoid this.

     

        set ::OPTT_ASSIGN_GUI::sl [hwtk::selectlist $::OPTT_ASSIGN_GUI::f_main.visulization_frame.compvisulization_frame -stripes 1 -selectmode multiple -selectcommand '::OPTT_ASSIGN_GUI::OnSelect %W %S %c']

  • tinh
    tinh Altair Community Member
    edited January 2019

    Try changing -selectmode to single