Microsoft KB Archive/69942

OptionGroup and OptionButton Example Causes UAE in WinWord

PSS ID Number: Q69942 Article last modified on 02-18-1993

1.00 1.10 1.10a WINDOWS

Summary: The example used on page 232 of the “Microsoft Word for Windows and OS/2 Technical Reference” for OptionGroup and OptionButton will cause an Unrecoverable Application Error (UAE). Microsoft is researching this problem and will post new information here as it becomes available.

More Information: The following steps will reproduce the error: 1. Open a macro editing window. 2. Create a dialog record, such as: Sub MAIN Begin Dialog UserDialog 200,200 OKButton 150,8,48,12 … End Dialog Dim dlg as UserDialog Dialog dlg End Sub 3. Test the dialog, by selecting Start. 4. Add the OptionGroup and OptionButton information from page 232 of the technical reference: Sub MAIN Begin Dialog UserDialog 200, 200 OKButton 150, 8, 48, 12 Optiongroup .brk Optionbutton 63,36,24,12, “&PageBreak” Optionbutton 63,47,24,12, “&LineBreak” End Dialog Dim dlg As UserDialog Dialog dlg End Sub 5. Select Start.

Reference(s): “Microsoft Word for Windows and OS/2 Technical Reference,” page 232.

Additional reference words: w4wmacro