>This FN maps a RC to an OK button, ESC to a cancel button, >Tabs and shifttabs to field movements etc. So the FN needs to >have some info about the window. > >I was thinking about using tedd's linked lists ('cos of course >the widgets in a window could be variable) but then realised >that FB is already keeping this info somewhere, in an FB >window record probably. > Jonathan, I may be mistaken, but I think this info is in the standard toolbox window record, at wndPtr&.wControlList&. You can get the wndPtr& with GET WINDOW WndID, wndPtr& I'm sure you can find the format for the control list in the manuals. 0"0 =J= a y "