[comp.sys.mac.programmer] Probs with MacApp TScroller/TGridView

mcg@violet.berkeley.edu (Michael C. Greenspon) (02/13/91)

OK, any MacApp gurus out there? I'm trying to plop a TTextGridView into a
TScroller to achieve a two-column scrolling list of labels and values. It
comes up with the data for the GridView ok, but the scroller isn't filling
in the scroll bar (it thinks the entire GridView is visible.) The scroll bar
is being drawn but no thumb or page up/down grey region (all blank.)

TGridView.InsRow... is calling Resize so the scroller should be getting
updated correctly. I can't finger this one out--do I need to do anything
after inserting or deleting rows to get the scroller to notice it may
have to change its scrollbar?

OK, if that one was too simple, I'm planning next to implement editing of
the value text in the selected cell by trying to plop a TTEView down
over the cell, similar in concept to what I've heard UDialog does with
edit text.  Any words of advice on this? Is there a better way?

I have to admit being somewhat adrift in the ocean of source code here. The
docs just don't give nearly enough integrative details to piece this
together. Any help would be greatly appreciated. (please respond via netmail.)

Thanks,

--Michael

mcg@violet.berkeley.edu		ucbvax!violet!mcg