I’m looking to create a simple info grid such as the one shown in the
"properties" section of this screenshot, only without scrollbars:
http://static.icsharpcode.net/OpenSource/SD/teaser_beta1.png
I’ve made some attempts to use the Fox::FXTable widget for the task,
but it insists on placing horizontal and vertical scrollbars on the
grid no matter what I do to the dimensions.
Any suggestions would be appreciated.
···
–
Phil Roberts | Without me its just aweso. | http://www.flatnet.net/
Phil Roberts wrote:
I’m looking to create a simple info grid such as the one shown in the
“properties” section of this screenshot, only without scrollbars:
http://static.icsharpcode.net/OpenSource/SD/teaser_beta1.png
I’ve made some attempts to use the Fox::FXTable widget for the task,
but it insists on placing horizontal and vertical scrollbars on the
grid no matter what I do to the dimensions.
Did you pass in the HSCROLLER_NEVER and VSCROLLER_NEVER flags to the
FXTable constructor?
Lyle Johnson lyle@knology.net shot from the breach towards his
enemies, screaming forth the battle cry:
Phil Roberts wrote:
I’m looking to create a simple info grid such as the one shown
in the “properties” section of this screenshot, only without
scrollbars:
http://static.icsharpcode.net/OpenSource/SD/teaser_beta1.png
I’ve made some attempts to use the Fox::FXTable widget for the
task, but it insists on placing horizontal and vertical
scrollbars on the grid no matter what I do to the dimensions.
Did you pass in the HSCROLLER_NEVER and VSCROLLER_NEVER flags to
the FXTable constructor?
Yeah, and the surrounding groupbox, and the suurrounding frame just
to be sure. It didn’t seem to make any difference.
Here’s the code I was left with after I gave up for the night:
http://www.flatnet.net/ruby/table.html
···
–
Phil Roberts | Without me its just aweso. | http://www.flatnet.net/
Phil Roberts wrote:
Yeah, and the surrounding groupbox, and the surrounding frame just
to be sure. It didn’t seem to make any difference.
Here’s the code I was left with after I gave up for the night:
http://www.flatnet.net/ruby/table.html
Try replacing the FXTable construction line with this:
@table = FXTable.new(inputGroup, 6, 2, nil, 0,
FRAME_NONE|LAYOUT_SIDE_LEFT|HSCROLLER_NEVER|VSCROLLER_NEVER,
0, 0, 0, 0, 0, 0, 0, 0)
and see if this is the effect you’re going for.
Hope this helps,
Lyle
Lyle Johnson lyle@knology.net shot from the breach towards his
enemies, screaming forth the battle cry:
Try replacing the FXTable construction line with this:
@table = FXTable.new(inputGroup, 6, 2, nil, 0,
FRAME_NONE|LAYOUT_SIDE_LEFT|HSCROLLER_NEVER|VSCROLLER_NE
VER, 0, 0, 0, 0, 0, 0, 0, 0)
and see if this is the effect you’re going for.
Hope this helps,
Lyle
ARGH! Cursed misplaced parameters! That is, cheers for that! I
think the time of night had fuddled my brain. 
···
–
Phil Roberts | Without me its just aweso. | http://www.flatnet.net/
“Whatever you do don’t read the bible for a moral code. It
advocates
predjudice, cruelty, superstition, and murder. Read it because we
need more atheists, and nothing will get you there faster than
reading the damn bible.”