Re: NewEra Question...
Posted in 1995
Thom Hadley - Deans Office (thadley@cvmbs2.vetmed.colostate.edu) wrote: : I have a need to begin an input into a supertable when a form is initialized. : Is there an event that can be used to begin such an input? I have tried : start and winfocusin. I was using the code from the InsertRow button: : variable : RowNum integer, : SuperTable ixSuperTable : let SuperTable = (GetVisualContainer() cast ixSuperTable) : let RowNum = SuperTable.insert() : Thanks The code from the painted InsertRow button will not work as intended when relocated in the window's start() event. : let SuperTable = (GetVisualContainer() cast ixSuperTable) The getVisualContainer() call will return a reference to the window and not the superTable. You can use: let SuperTable = painted-supertable-name Catalin -- =========================================================================== Catalin Badea _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/ _/_/_/ _/ _/ _/ _/ _/_/ _/ Senior Technical Architect _/ _/_/ _/ _/_/_/ _/ _/_/_/ _/ _/ _/ _/ _/ _/ Tecsys Inc. _/ _/_/_/ _/_/_/ _/_/_/ _/ _/_/_/ ====== cat@tecsys.com =========== include system "disclaimer.4gh" ======