Displaying 6 results from an estimated 6 matches similar to: "is there a problem with FXList findItemByData(....) ??????"
2006 Apr 25
5
FXListBox ...connect(SEL_COMMAND)
Hi,
I think I got a problem with the FXListBox widget. ( ruby 1.8.4 (2005-12-24) [i386-mswin32]) )
FXListBox.new(parent, nil, 0) do |libo4|
libo4.appendItem("0 very weird")
libo4.appendItem("1 very weird")
libo4.appendItem("2 very weird")
libo4.appendItem("3 very weird")
libo4.appendItem("4 very
2007 Apr 27
2
mdiclient windows do not always activate on click
I just noticed that MDIClient windows do not automatically become
current when they receive a mouse click, but only do so if the click
happens inside of an enabled widget. This may very well be correct, but
if so then what is the right way to handle it, if you want a more
familiar window-manager behavior (click to focus)?
For example, if you change the mditest.rb example like so...
---
2006 May 15
3
FXTextField - posSelected?(pos)
Hi,
I wonder if am facing a bug or something else
On a FXtextField, I want to detect the low and high pos of the selected string
example: the text is: 0123456789
The selected string is : 234567
first = last = -1
atext.text.length.times do |pos|
first = pos if atext.posSelected?(pos) and first < 0
last = pos if atext.posSelected?(pos)
2006 May 31
3
FXLabel: ca''nt set the Icon attibute
Hi,
trying that:
aLabel = FXLabel.new(menuBar35,nil,@@maximizeIcon,0)
aLabel.icon = @@restoreIcon # ok
aLabel.connect(SEL_LEFTBUTTONPRESS) do |sender, selector, data|
case sender.icon
when @@maximizeIcon
sender.icon = @@restoreIcon
when @@restoreIcon
sender.icon = @@maximizeIcon
end
0
end
Result
abnormal
2005 Mar 23
2
FXListBox size behavior?
The default behavior of FXListBox seems to be to grow and shrink in
width depending on the length of the selected entry in the list. This is
a problem when the list contains items of varying width, because if a
short item is picked then the longer entries are obscured in the
drop-down list.
Is this deliberate, an oversight, or a bug? Its certainly not how I''d
choose it to act. Is
2004 May 01
2
MDI interface with sidepanel
Hi
Just started with WxRuby after using Fox. Very impressed by the easy
binary install and I''m already liking the native look and feel on MSW.
Thanks!
I''m trying to create an app with a MDI Parent Frame and a full-height
(docked) side panel with various controls in it. The MDIParentFrame
doesn''t work properly if I put it inside another frame with a sizer, so