wong@cerc.wvu.wvnet.edu (Dennis Hiulum Womg) (09/14/89)
I have a function to create a Form widget (athena) and some Command widgets inside the Form widget. I did not specify the width and height for the Form widget because I want its size to be the same size of those Command widgets inside it. The function works fine if I call it before I realize the toplevel widget. But, if I want to create these widgets at run-time (call this function after realizing the toplevel widget), it will give me an error message: the width or the height of the Form widget is 0. I hate to calculate the size of the widgets in this Form widget and set the width and height for the Form widget. Is there any way to get around this problem? Any suggestions are welcome. Thanks in advance. Dennis Wong E-mail: wong@cerc.wvu.wvnet.edu