The methods listed below add simple graphical elements to the dialog. They are useful for giving the dialog a nice finish. Use Frames and Rectangles in 3D Style to help you find the right element.
Note: There is currently no difference between rectangles and frames.
>>-aUserDialog~AddWhiteRect(--x--,--y--,--cx--,--cy-------------> >--+------------------------------------+--)------------------->< | +------------+ | | V | | +-,--"----+-HIDDEN-+-+--"--+-------+-+ +-BORDER-+ +-,--id-+
The AddWhiteRect method adds a white rectangle to the dialog.
The arguments are:
The position of the rectangle's upper-left corner relative to the dialog measured in dialog units
The size of the rectangle in dialog units
The options can be:
The frame or rectangle is not visible at startup time
A border is drawn around the rectangle or frame
The ID of the item, -1 is used by default
The AddWhiteFrame method is currently identical to the AddWhiteRect method.
>>-aUserDialog~AddGrayRect(--x--,--y--,--cx--,--cy--------------> >--+----------------------------------------+--)--------------->< +-,--+----------------------+--+-------+-+ | +------------+ | +-,--id-+ | V | | +-"----+-HIDDEN-+-+--"-+ +-BORDER-+
The AddGrayRect method adds a gray rectangle to the dialog.
See AddWhiteRect for a description of the arguments.
The AddGreyFrame method is currently identical to the AddGreyRect method.
>>-aUserDialog~AddBlackRect(--x--,--y--,--cx--,--cy-------------> >--+----------------------------------------+--)--------------->< +-,--+----------------------+--+-------+-+ | +------------+ | +-,--id-+ | V | | +-"----+-HIDDEN-+-+--"-+ +-BORDER-+
The AddBlackRect method adds a black rectangle to the dialog.
See AddWhiteRect for a description of the arguments.
The AddBlackFrame method is currently identical to the AddBlackRect method.