Displaying 3 results from an estimated 3 matches for "verticalscrollbar".
2006 Mar 29
2
intercepting messages from FXScrollBar toFXScrollArea
...s). So
the ScrollCorner is also really big and I just wanted to use this space by
moving the ScrollDown Botton down to the position of the ScrollCorner (like
the attachment shows)
The code looks like this (it seems to work unless that you can''t use the
scrollbar afterward):
textField.verticalScrollBar.connect(SEL_CONFIGURE){
textField.scrollCorner.destroy()
width = textField.verticalScrollBar.width
height = textField.height
textField.verticalScrollBar.resize(width, height)
}
The connect method has changed the target of the ScrollBar and so the
ScrollArea doesn'...
2007 Apr 27
2
mdiclient windows do not always activate on click
...indow-manager behavior (click to focus)?
For example, if you change the mditest.rb example like so...
--- mditest.rb 2007-04-18 16:19:59.000000000 -0700
+++ mdi.rb 2007-04-27 14:44:54.000000000 -0700
@@ -134,7 +134,7 @@
scrollwindow = FXScrollWindow.new(mdichild, 0)
scrollwindow.verticalScrollBar.setLine(@font.fontHeight)
btn = FXButton.new(scrollwindow, TYGER,
- :opts => LAYOUT_FIX_WIDTH|LAYOUT_FIX_HEIGHT, :width => 600,
:height => 1000)
+ :opts => LAYOUT_FIX_WIDTH|LAYOUT_FIX_HEIGHT, :width => 100,
:height => 100)
btn.font = @font
btn.backCol...
2008 Aug 20
0
FXTable scrolling problem
...e(parent)
super(parent, :opts=>LAYOUT_FILL|TABLE_COL_SIZABLE|TABLE_ROW_SIZABLE,
:padding => 2)
self.editable=false
setBackColor(FXRGB(255, 255, 255))
setCellColor(1, 0, FXRGB(240, 255, 240))
setCellColor(1, 1, FXRGB(240, 255, 240))
rowHeader.width=30
verticalScrollBar.connect(SEL_COMMAND, method(:table_scrolled))
end
I also defined the table_scrolled method as below to check that the event
gets handled:
def table_scrolled(sender, selector, data)
puts "table scrolled to #{data}"
end
Now when I start the application, populate the table with rec...