开发者

Minor nuisance: NSMatrix cell order tag. 1- for first item, 0- for second item

开发者 https://www.devze.com 2023-01-26 19:47 出处:网络
I have a radio button group in my Cocoa App\'s UI. When i intercept clicking on either of them, i query t开发者_开发知识库he selCell tag. For some reason it\'s always \"0\" for the second item, and

I have a radio button group in my Cocoa App's UI.

When i intercept clicking on either of them, i query t开发者_开发知识库he selCell tag. For some reason it's always "0" for the second item, and "1" for the first. Shouldn't it be the other way around as the first item is, well, first?


You can set the Tag for the cells in Interface Builder if you want them to match your expectations.

0

精彩评论

暂无评论...
验证码 换一张
取 消