Gérard Ménochet
2006-Apr-19 22:29 UTC
[fxruby-users] is there a problem with FXList findItemByData(....) ??????
Hi, I am tackling with FXList ( ruby 1.8.4 (2005-12-24) [i386-mswin32]) ) . The ''data'' value is a MDIChild reference afxlist.findItemByData(sender) => return -1 . Always I can turn around it by doing .......... cpt = 0 ; idx=nil afxlist.each do |lista| if lista.data == sender idx=cpt break end cpt+=1 end .......... My concern is : is there a problem or have I done something wrong ? Regards G?rard M?nochet -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/fxruby-users/attachments/20060420/cbb57cdb/attachment.htm
Lyle Johnson
2006-Apr-20 00:14 UTC
[fxruby-users] is there a problem with FXList findItemByData(....) ??????
On Apr 19, 2006, at 5:29 PM, G?rard M?nochet wrote:> ??? afxlist.findItemByData(sender)??? => return? -1?. AlwaysOK, this sounds like a bug. I have filed a bug report on your behalf. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 274 bytes Desc: not available Url : http://rubyforge.org/pipermail/fxruby-users/attachments/20060419/d377d220/attachment.bin