There's a FAQ on this...well, I thought there was !
This is the text I retained:
Often, people ask how to make a tableFrame behave like a
tableView, in that you can freeze some columns at the left of .a
TV
Arrange your two table frames beside each other so they look
like one (cosmetics !). Call the frozen one "tfStatic and the
other one tfDynamic.
Enclose them in a box, and declare two uiObjects in the Var of
the box - uiStaticTF and uiDynamicTF. In the open() of the box,
attach the uiObjects to their tableFrames.
In the action() of each of the tableFrames place code that traps
all the necessary actions (DataBegin, DataEnd, DataFastForward,
DataNextRecord, .....), does a doDefault, and applies the same
action to the other uiObject. This is for tfDynamic :
if eventInfo.id() = DataBegin or
eventInfo.id() = DataEnd or .....
then
doDefault
uiStaticTF.postAction(eventInfo.id())
endif
This should keep things in sync.
hth
Mike
PS I found it - it's in the Forms Tip of Paradox Tips on my own
site - http://mirwin.homestead.com
Quote:> Does anyone know how I can keep the leftmost column on a forms table frame
> from disappearing when I scroll to the right? I would like that column to
> stay in place at all times so I can see the value in it but I have a lot of
> fields on in the table frame. Is there a way to do that?
> Thanks in advance
> -Bruce