Re: NEWERA --- passing variables
Posted in 1997
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Clustering, Grid & MACH11
Mike Ripley wrote: > > I have constructed my own supertable class (actually its a copy from > AFCL). I have designed it to use freeform layout but I have fiddled some > paramaters to create it as a gridform by changing the layout parameter > at construction time. > Unfortunately I have only tested it with the layout parameter "hard > coded". I really need to set this parameter in the containing window and > have the constructor of the supertable read it so that it is constructed > as a freeform or a gridform. > Am I missing something obvious but I just can't get the parameter from > the window to the supertable constructor. > -- > Mike Ripley You can extend the classes all you like, but if you are just changing the class name property you are going to be stuck without directly modifying the generated *.4GL file. You will only see the parameters that are applicable for the standard informix base class objects (e.g. ixButton, ixWindow, etc.). You have to code add the code to the constructor afterward. Then it should work, providing you have done everything else correctly. Ken