摘要 |
A method for dynamically building dialog boxes (240) within a graphical user interface application (225). A description language (230) is provided to build a description file which contains dialog box templates. This method accommodates content changes of the dialog boxes by using the templates for each dialog box; this template will grow or shrink according to its content requirements. The present method performs two functions: (1) provides initial positioning of dialog elements (420) and (2) sets special positioning requirements (450). The present method proceeds sequentially through the description file so that elements that are described first within the file will be positioned first within the dialog box. In a preferred embodiment, the starting point of each dialog box is the upper left-hand corner. In this manner, prior defined elements will appear above or to the left of subsequent defined elements. <IMAGE> |