Jump to content
Kirill

Bug in List widget

Recommended Posts

I found if I try to assign only "down" button:

gwinAttachToggle(ghList1, BUTTON_ENTER, 0)

Without assign "up" button. Click actually does not works. (Inside code I found that GLIST_FLG_SELECTED assign from element 0 to element1 but at the same time event "up" emitted too and it moves select flag from element 1 to element 0).

 

It works correctly only if I assign both button:

gwinAttachToggle(ghList1, BUTTON_ENTER, 0)
gwinAttachToggle(ghList1, BUTTON_ESC, 1)

 

Share this post


Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...