[fxruby-users] is there a memory limitation on fxruby-mswin32 ?

Philippe Lang philippe.lang at attiksystem.ch
Tue Aug 12 11:21:39 EDT 2008

fxruby-users-bounces at rubyforge.org wrote:

> Lyle Johnson wrote:
>> I'm having trouble imagining why you'd want 930 checkboxes on the
>> screen at the same time; that seems like an awful lot of information
>> to present to the user at once. If there's some way to restructure
>> the user interface so that you can create some of those checkboxes on
>> demand, and show them only when they're actually needed.
> Thanks Lyle, it solves my problem at this moment (though only 18,000
> maximum number of handles is supported by the hotfix). Since I'm not
> a Windows user, I thought that problem was a portability issue of
> fxruby.   
> Anyway, I'm actually creating an statistical application that needs a
> set of checkboxes to give user a table-like input (only on/off
> switch) to filter out each computation result. That's why I need to
> create a lot of checkboxes at the same time, it's not possible to
> show only partial of them.    


Instead of creating so many checkboxes, you could maybe use an FXTable
object, and process the clicks inside cells in order to toggle an icon
inside. That's a little more work, but you shouldn't have any limitation
in this case. That's what I do in my framework.


Philippe Lang

More information about the fxruby-users mailing list