home *** CD-ROM | disk | FTP | other *** search
/ Chip: Shareware for Win 95 / Chip-Shareware-Win95.bin / komunik / ie40 / ie4nt_s2.cab / IE4NT_2.CAB / MSHTML.DLL / 2110 / FORCHAR.DLG < prev    next >
Encoding:
Text File  |  1997-07-12  |  17.7 KB  |  628 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML 3.2//EN">
  2. <HTML id=dlgFont STYLE="font-family: ms sans serif; font-size: 8pt;
  3. width: 35.4em; height: 26.9em">
  4. <HEAD>
  5. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  6. <TITLE id=dialogTitle>
  7. Font
  8. </TITLE>
  9. </HEAD>
  10. <SCRIPT defer>
  11. function callHelp(elm)
  12. {
  13. if (null != elm.helpid)
  14. {
  15.  window.showHelp(elm.helpfile, "" + parseInt(elm.helpid));
  16. }
  17. else
  18. {
  19.  if ("BODY" != elm.tagName)
  20.  {
  21.   callHelp(elm.parentElement);
  22.  }
  23. }
  24. function btnCancelClick()
  25. {
  26. window.close();
  27. function getTextRange(elm)
  28. {
  29. var r = elm.parentTextEdit.createTextRange();
  30. r.moveToElementText(elm);
  31. return r;
  32. function mouseClick()
  33. {
  34. if (window.event.srcElement.id.substring(0,3)
  35.  == "txt")
  36. {
  37.  return;
  38. }
  39. if (window.event.button == 2)
  40. {
  41.  callHelp(window.event.srcElement);
  42. }
  43. function txtDefaultESC()
  44. {
  45. if (event.keyCode == 27)
  46. {
  47.  window.close();
  48.  return;
  49. }
  50. var g_bSearchList = false; 
  51. var g_nTimeoutID;   
  52. var g_szLastFound = "";  
  53. var g_nLastFoundIndex = 0; 
  54. var g_nMatchLength = 0;  
  55. function getCheckStateCmd(checkbox, range)
  56. {
  57. checkbox.checked = (true == range.queryCommandState(checkbox.value));
  58. function getSelectStateCmd(select, range)
  59. {
  60. var index;
  61. if (null != range.queryCommandValue(select.id.substring(3)))
  62. {
  63.  for (index = 0; index < select.options.length; index++)
  64.  {
  65.   if (select.options[index].value ==
  66.    range.queryCommandValue(select.id.substring(3)))
  67.   {
  68.    select.selectedIndex = index;
  69.    break;
  70.   }
  71.  }
  72. }
  73. else
  74. {
  75.  select.selectedIndex = -1;
  76. }
  77. function setCheckStateCmd(checkbox, range)
  78. {
  79. if (checkbox.checked !=
  80.  (true == range.queryCommandState(checkbox.value)))
  81. {
  82.  range.execCommand(checkbox.value, false);
  83. }
  84. function setSelectStateCmd(select, range)
  85. {
  86. if (-1 != select.selectedIndex)
  87. {
  88.  range.execCommand(select.id.substring(3), false,
  89.   select.options[select.selectedIndex].value);
  90. }
  91. function fillFontSelect(select)
  92. {
  93. var index;
  94. var globalDoc = window.dialogArguments.document;
  95. var range = globalDoc.selection.createRange();
  96. var fontList = new Array();
  97. var optFontName;
  98. for (index = 0; index < window.dialogArguments.fonts.length; index++)
  99. {
  100.  fontList[index] = window.dialogArguments.fonts.item(index);
  101. }
  102. fontList.sort();
  103. for (index = 0; index < fontList.length; index++)
  104. {
  105.  optFontName = new Option();
  106.  optFontName.value = fontList[index];
  107.  optFontName.text = fontList[index];
  108.  select.options[index] = optFontName;
  109. }
  110. function setFont(range)
  111. {
  112. var FontNameCommand = "FontName";
  113. if (-1 != cmdFontName.selectedIndex)
  114. {
  115.  range.execCommand(FontNameCommand, false, txtFontName.value);
  116. }
  117. }
  118. function getFontStyle()
  119. {
  120. var cmdBold = "Bold";
  121. var cmdItalic = "Italic";
  122. var globalDoc = window.dialogArguments.document;
  123. var range = globalDoc.selection.createRange();
  124. with (range)
  125. {
  126.  if (queryCommandState(cmdBold) && queryCommandState(cmdItalic))
  127.  {
  128.   selFontStyle.value = "Bold-Italic";
  129.  }
  130.  else if (queryCommandState(cmdBold))
  131.  {
  132.   selFontStyle.value = "Bold";
  133.  }
  134.  else if (queryCommandState(cmdItalic))
  135.  {
  136.   selFontStyle.value = "Italic";
  137.  }
  138.  else
  139.  {
  140.   selFontStyle.value = "Regular";
  141.  }
  142. }
  143. function setFontStyle(range)
  144. {
  145. var cmdBold = "Bold";
  146. var cmdItalic = "Italic";
  147. with (range)
  148. {
  149.  if ("Bold-Italic" == selFontStyle.value)
  150.  {
  151.   if (true != queryCommandState(cmdBold))
  152.   {
  153.    execCommand(cmdBold, false);
  154.   }
  155.   if (true != queryCommandState(cmdItalic))
  156.   {
  157.    execCommand(cmdItalic, false);
  158.   }
  159.  }
  160.  else if ("Bold" == selFontStyle.value)
  161.  {
  162.   if (true != queryCommandState(cmdBold))
  163.   {
  164.    execCommand(cmdBold, false);
  165.   }
  166.   if (true == queryCommandState(cmdItalic))
  167.   {
  168.    execCommand(cmdItalic, false);
  169.   }
  170.  }
  171.  else if ("Italic" == selFontStyle.value)
  172.  {
  173.   if (true == queryCommandState(cmdBold))
  174.   {
  175.    execCommand(cmdBold, false);
  176.   }
  177.   if (true != queryCommandState(cmdItalic))
  178.   {
  179.    execCommand(cmdItalic, false);
  180.   }
  181.  }
  182.  else
  183.  {
  184.   if (true == queryCommandState(cmdBold))
  185.   {
  186.    execCommand(cmdBold, false);
  187.   }
  188.   if (true == queryCommandState(cmdItalic))
  189.   {
  190.    execCommand(cmdItalic, false);
  191.   }
  192.  }
  193. }
  194. function getFontColor()
  195. {
  196. var cmdForeColor = "ForeColor";
  197. var globalDoc = window.dialogArguments.document;
  198. var range = globalDoc.selection.createRange();
  199. var intColor = range.queryCommandValue(cmdForeColor);
  200. if (null != intColor)
  201. {
  202.  selColor.value = intColor;
  203.  if (parseInt(selColor.value) != parseInt(intColor))
  204.  {
  205.   selColor.customColor = intColor;
  206.   selColor.value = "custom";
  207.  }
  208. }
  209. else
  210. {
  211.  selColor.selectedIndex = -1;
  212. }
  213. function setFontColor(range)
  214. {
  215. var cmdForeColor = "ForeColor";
  216. var intDefaultColor = 33554432;
  217. if (-1 != selColor.selectedIndex)
  218. {
  219.  if ("custom" == selColor.value)
  220.  {
  221.   range.execCommand(cmdForeColor, false,
  222.    parseInt(selColor.customColor));
  223.   return;
  224.  }
  225.  else
  226.  {
  227.   range.execCommand(cmdForeColor, false,
  228.    parseInt(selColor.value));
  229.  }
  230. }
  231. function customColor()
  232. {
  233. if ("custom" == selColor.value)
  234. {
  235.  selColor.customColor
  236.   = window.dialogArguments.choosecolordlg(selColor.customColor);
  237. }
  238. function syncSelect(ctlSelect, ctlText)
  239. {
  240. if (-1 != ctlSelect.selectedIndex)
  241. {
  242.  if (ctlText.value.toLowerCase()
  243.   == ctlSelect.options[ctlSelect.selectedIndex]
  244.   .text.toLowerCase())
  245.  {
  246.   ctlText.value = ctlSelect.options[ctlSelect.selectedIndex].text;
  247.  }
  248. }
  249. function syncSelect2(ctlSelect, ctlText)
  250. {
  251. if (-1 != ctlSelect.selectedIndex)
  252. {
  253.  ctlText.value = ctlSelect.options[ctlSelect.selectedIndex].text;
  254. }
  255. function findMatch (strMatch, optionsList)
  256. {
  257. var index;
  258. var index2;
  259. var bestChar = 0;
  260. var bestMatch = 0;
  261. var strOptText;
  262. for (index = 0; index < optionsList.length; index++)
  263. {
  264.  strOptText = optionsList.options[index].text;
  265.  for (index2 = bestChar; index2 < strMatch.length; index2++)
  266.  {
  267.   if (strMatch.substring(0, index2 + 1).toLowerCase() ==
  268.    strOptText.substring(0, index2 + 1)
  269.     .toLowerCase())
  270.   {
  271.    bestChar = index2 + 1;
  272.    bestMatch = index;
  273.   }
  274.   else
  275.   {
  276.    break;
  277.   }
  278.  }
  279. }
  280. return bestMatch;
  281. function updateSample()
  282. {
  283. var rngSample = getTextRange(elmSample);
  284. setCheckStateCmd(chkUnderline, rngSample);
  285. setFont(rngSample);
  286. setSelectStateCmd(cmdFontSize, rngSample); 
  287. setFontStyle(rngSample);
  288. setFontColor(rngSample);
  289. function searchText()
  290. {
  291. var index;
  292. var index2;
  293. var bestChar = g_nMatchLength;
  294. var bestMatch = g_nLastFoundIndex;
  295. var strOptText;
  296. var optionsList = cmdFontName.options;
  297. var strMatch = txtFontName.value;
  298. if (strMatch.length == 0)
  299. {
  300.  cmdFontName.selectedIndex = -1;
  301.  g_nMatchLength = 0;
  302.  g_nLastFoundIndex = 0;
  303.  g_bSearchList = false;
  304.  g_szLastFound = "";
  305.  return;
  306. }
  307. if (strMatch.length >= g_szLastFound.length
  308.  && (strMatch.substring(0, g_nMatchLength).toLowerCase()
  309.  == g_szLastFound.substring(0, g_nMatchLength).toLowerCase()))
  310. {
  311.  index = g_nLastFoundIndex;
  312. }
  313. else
  314. {
  315.  index = 0;
  316.  bestChar = 0;
  317. }
  318. for (; index < optionsList.length; index++)
  319. {
  320.  strOptText = optionsList.options[index].text;
  321.  for (index2 = bestChar; index2 < strMatch.length; index2++)
  322.  {
  323.   if (strMatch.substring(index2, index2 + 1).toLowerCase() ==
  324.    strOptText.substring(index2, index2 + 1)
  325.     .toLowerCase())
  326.   {
  327.    bestChar = index2 + 1;
  328.    bestMatch = index;
  329.    g_nLastFoundIndex = bestMatch;
  330.    g_nMatchLegth = bestChar;
  331.   }
  332.   else
  333.   {
  334.    break;
  335.   }
  336.  }
  337. if (bestChar > 0 && optionsList.options[index + 1].text
  338.  .substring(bestChar - 1, bestChar).toLowerCase()
  339.  != strMatch.substring(bestChar - 1, bestChar).toLowerCase())
  340. {
  341.  break;
  342. }
  343. }
  344. cmdFontName.selectedIndex = bestMatch;
  345. g_bSearchList = false;
  346. g_szLastFound = txtFontName.value;
  347. function syncTextFont()
  348. {
  349. if (g_szLastFound.toLowerCase() == txtFontName.value.toLowerCase())
  350. {
  351.  return;
  352. }
  353. if (g_bSearchList)
  354. {
  355.  window.clearTimeout(g_nTimeoutID);
  356. }
  357. g_bSearchList = true;
  358. g_nTimeoutID = window.setTimeout("searchText()", 200);
  359. function loadBdy()
  360. {
  361. var doc = window.dialogArguments.document; 
  362. var L_InsideFrameset_ErrorMessage = 
  363.  "This command is not available because the page contains frames.";
  364. if (doc.parentWindow.frames.length > 0 && 
  365.  doc.all.tags("IFRAME").length == 0)
  366. {
  367.  alert(L_InsideFrameset_ErrorMessage);
  368.  window.close();
  369. }
  370. var rngCurrent = doc.selection.createRange(); 
  371. document.onhelp  = new Function("callHelp(window.event.srcElement)");
  372. document.onmouseup = new Function("mouseClick()");
  373. txtFontName.onblur  = new
  374.  Function("syncSelect(cmdFontName, txtFontName)");
  375. txtFontName.onfocus  = new Function("txtFontName.select()");
  376. txtFontName.onchange = new
  377.  Function("setFont(getTextRange(elmSample))");
  378. txtFontName.onkeyup  = new Function("syncTextFont()");
  379. txtFontName.onfocus  = new Function("txtFontName.select()");
  380. txtFontName.onkeypress = new Function("txtDefaultESC()");
  381. txtFontStyle.onblur  = new
  382.  Function("syncSelect(selFontStyle, txtFontStyle)");
  383. txtFontStyle.onfocus = new Function("txtFontStyle.select()");
  384. txtFontStyle.onchange = new Function("setFontStyle" +
  385.  "(getTextRange(elmSample))");
  386. txtFontStyle.onkeyup = new Function("synchText()");
  387. txtFontStyle.onfocus = new Function("txtFontStyle.select()");
  388. txtFontStyle.onkeypress = new Function("txtDefaultESC()");
  389. txtFontSize.onblur  = new
  390.  Function("syncSelect(cmdFontSize, txtFontSize)");
  391. txtFontSize.onfocus  = new Function("txtFontSize.select()");
  392. txtFontSize.onchange = new
  393.  Function("setSelectStateCmd(cmdFontSize, " +
  394.   "getTextRange(elmSample))");
  395. txtFontSize.onkeyup  = new Function("synchText()");
  396. txtFontSize.onfocus  = new Function("txtFontSize.select()");
  397. txtFontSize.onkeypress = new Function("txtDefaultESC()");
  398. cmdFontName.onchange = new Function("syncSelect2(cmdFontName, txtFontName);" +
  399.  "setFont(getTextRange(elmSample))");
  400. selFontStyle.onchange = new Function("syncSelect2(selFontStyle," +
  401.  "txtFontStyle);" +
  402.  "setFontStyle(getTextRange(elmSample))");
  403. cmdFontSize.onchange = new Function("syncSelect2(cmdFontSize, txtFontSize);" +
  404.  "setSelectStateCmd(cmdFontSize, getTextRange(elmSample))");
  405. chkUnderline.onclick = new Function("setCheckStateCmd(chkUnderline," +
  406.  "getTextRange(elmSample))");
  407. selColor.onchange = new Function("customColor();" +
  408.  "setFontColor(getTextRange(elmSample))");
  409. btnOK.onclick   = new Function("btnOKClick()");
  410. btnCancel.onclick  = new Function("btnCancelClick()");
  411. fillFontSelect(cmdFontName);
  412. getCheckStateCmd(chkUnderline, rngCurrent);
  413. getSelectStateCmd(cmdFontName, rngCurrent); 
  414. getSelectStateCmd(cmdFontSize, rngCurrent); 
  415. getFontStyle();
  416. selColor.customColor = 0; 
  417. getFontColor();
  418. syncSelect2(cmdFontName, txtFontName);
  419. syncSelect2(selFontStyle, txtFontStyle);
  420. syncSelect2(cmdFontSize, txtFontSize);
  421. txtFontName.select();
  422. g_szLastFound = txtFontName.value;
  423. updateSample();
  424. function btnOKClick()
  425. {
  426. var globalDoc = window.dialogArguments.document;
  427. var range = globalDoc.selection.createRange();
  428. setCheckStateCmd(chkUnderline, range);
  429. setSelectStateCmd(cmdFontSize, range);
  430. setFont(range);
  431. setFontColor(range);
  432. setFontStyle(range);
  433. range.select();
  434. window.close();
  435. function synchText()
  436. {
  437. var index;
  438. var elmSource = window.event.srcElement;
  439. var arrSelect = new Array();
  440. var elmSelect; 
  441. var elmOptions; 
  442. if ("" != elmSource.value)
  443. {
  444.  arrSelect["txtFontName"] = cmdFontName;
  445.  arrSelect["txtFontStyle"] = selFontStyle;
  446.  arrSelect["txtFontSize"] = cmdFontSize;
  447.  elmSelect = arrSelect[elmSource.id];
  448.  elmOptions = elmSelect.options;
  449.  elmSelect.selectedIndex = findMatch(elmSource.value,
  450.   elmOptions);
  451. }
  452. </SCRIPT>
  453. <BODY onload="loadBdy()" style="font-family: 'ms sans serif'; font-size: '8pt';
  454. background: threedface;" id=bdy>
  455. <DIV style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  456. left: 0.98em; top: 0.9126em; width: 2.38em; height: 1.2168em; "
  457. id=divFontName>
  458. <LABEL for=txtFontName tabIndex=-1 helpid="35420" helpfile="msimn.hlp">
  459. <u>F</u>ont:</LABEL>
  460. </DIV>
  461. <DIV style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  462. left: 13.86em; top: 0.9126em; width: 4.76em; height: 1.2168em; "
  463. id=divFontStyle>
  464. <LABEL for=txtFontStyle tabIndex=-1 helpid="35425" helpfile="msimn.hlp">
  465. St<u>y</u>le:</LABEL>
  466. </DIV>
  467. <DIV style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  468. left: 20.58em; top: 0.9126em; width: 2.24em; height: 1.2168em; "
  469. id=divFontSize>
  470. <LABEL for=txtFontSize tabIndex=-1 helpid="35430" helpfile="msimn.hlp">
  471. <u>S</u>ize:</LABEL>
  472. </DIV>
  473. <INPUT type=text ID=txtFontName ACCESSKEY=f tabIndex=5
  474. style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  475. left: 0.98em; top: 2.3em; width: 12.04em; height: 1.9773em; "
  476. helpid="35420" helpfile="msimn.hlp">
  477. <INPUT type=text ID=txtFontStyle ACCESSKEY=y tabIndex=10
  478. style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  479. left: 13.86em; top: 2.3em; width: 5.8em; height: 1.9773em; "
  480. helpid="35425" helpfile="msimn.hlp">
  481. <INPUT type=text ID=txtFontSize ACCESSKEY=s tabIndex=15
  482. style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  483. left: 20.58em; top: 2.3em; width: 4.8em; height: 1.9773em; "
  484. helpid="35430" helpfile="msimn.hlp">
  485. <SELECT style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  486. left: 0.8em; top: 4.2588em; width: 12.2em; height: 9.9739em; "
  487. ID=cmdFontName name=setCmdID ACCESSKEY=f tabIndex=17 size=7
  488. helpid="35420" helpfile="msimn.hlp">
  489. </SELECT>
  490. <SELECT ID=selFontStyle ACCESSKEY=y size=7 tabIndex=20
  491. style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  492. left: 13.7em; top: 4.2588em; width: 6em; height: 9.9739em; "
  493. helpid="35425" helpfile="msimn.hlp">
  494. <OPTION VALUE=Regular SELECTED> Regular  </OPTION>
  495. <OPTION VALUE=Italic>    Italic  </OPTION>
  496. <OPTION VALUE=Bold>    Bold  </OPTION>
  497. <OPTION VALUE=Bold-Italic>  Bold Italic </OPTION>
  498. </SELECT>
  499. <SELECT ID=cmdFontSize ACCESSKEY=s size=7 tabIndex=30 name=setCmdID
  500. style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  501. left: 20.4em; top: 4.2588em; width: 5em; height: 9.9739em; "
  502. helpid="35430" helpfile="msimn.hlp">
  503. <OPTION VALUE=1>   Smallest </OPTION>
  504. <OPTION VALUE=2>   Smaller  </OPTION>
  505. <OPTION VALUE=3 SELECTED> Normal  </OPTION>
  506. <OPTION VALUE=4>   Large  </OPTION>
  507. <OPTION VALUE=5>   Larger  </OPTION>
  508. <OPTION VALUE=6>   Largest  </OPTION>
  509. <OPTION VALUE=7>   Huge  </OPTION>
  510. </SELECT>
  511. <FIELDSET id=fldEffects style="font-family: ms sans serif; font-size: 8pt; 
  512. position: absolute; left: 0.98em; top: 14.6em; width: 12.04em; 
  513. height: 8.8em;">
  514. <LEGEND>
  515. Effects
  516. </LEGEND>
  517. </FIELDSET>
  518. <INPUT ID=chkUnderline ACCESSKEY=u type=checkbox tabIndex=35 value=Underline
  519. name=setCmdID helpid="35445" helpfile="msimn.hlp"
  520. style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  521. left: 1.66em; top: 16.1789em; width: 1em; height: 1em; ">
  522. <DIV style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  523. left: 3.6em; top: 16.5789em; width: 6.44em; height: 1.521em; "
  524. id=divUnderline>
  525. <LABEL for=chkUnderline
  526. tabIndex=-1><u>U</u>nderline
  527. </LABEL>
  528. </DIV>
  529. <DIV style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  530. left: 1.96em; top: 18.8604em; width: 2.66em; height: 1.2168em; "
  531. id=divColo>
  532. <LABEL helpid="35440" helpfile="msimn.hlp">
  533. <u>C</u>olor:</LABEL>
  534. </DIV>
  535. <SELECT ID=selColor ACCESSKEY=c tabIndex=55
  536. style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  537. left: 1.96em; top: 20.3814em; width: 9.94em; height: 1.21em; "
  538. helpid="35440" helpfile="msimn.hlp">
  539. <OPTION value=33554432>  Black </OPTION>
  540. <OPTION value=50331647>  White </OPTION>
  541. <OPTION value=33587200>  Green </OPTION>
  542. <OPTION value=33554560>  Maroon </OPTION>
  543. <OPTION value=33587328>  Olive </OPTION>
  544. <OPTION value=41943040>  Navy </OPTION>
  545. <OPTION value=41943168>  Purple </OPTION>
  546. <OPTION value=41975936>  Gray </OPTION>
  547. <OPTION value=33619967>  Yellow </OPTION>
  548. <OPTION value=33619712>  Lime </OPTION>
  549. <OPTION value=50331392>  Aqua </OPTION>
  550. <OPTION value=50266367>  Fuchsia </OPTION>
  551. <OPTION value=46186688>  Silver </OPTION>
  552. <OPTION value=33554687>  Red  </OPTION>
  553. <OPTION value=50266112>  Blue </OPTION>
  554. <OPTION value=41975808>  Teal </OPTION>
  555. <OPTION value=custom>  Custom </OPTION>
  556. </SELECT>
  557. <FIELDSET id=fldSample style="font-family: ms sans serif; font-size: 8pt; position: 
  558. absolute; left: 13.86em; top: 14.6em; width: 11.4em; height: 8.8em;">
  559. <LEGEND helpid="35435" helpfile="msimn.hlp">
  560. Sample
  561. </LEGEND>
  562. </FIELDSET>
  563. <table cellspacing borderColorDark=threedhighlight
  564. borderColorLight=threedshadow noshade="yes" border=1
  565. style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  566. left: 14.98em; top: 16.5789em; width: 9.24em; height: 5.0277em; "
  567. id=tblSample1>
  568. <tr>
  569. <td style="font-family: ms sans serif; font-size: 8pt;
  570. left: 14.98em; top: 16.5789em; width: 9.24em; height: 5.0277em; "
  571. id=tdSample1>
  572. </td>
  573. </tr>
  574. </table>
  575. <DIV style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  576. left: 14.98em; top: 16.5789em; width: 8.9em; height: 5.0277em;
  577. overflow: hidden" id=divSample2 helpid="35435" helpfile="msimn.hlp">
  578. <TABLE style="font-family: ms sans serif; font-size: 8pt; width: 8.9em;
  579. height: 5.0277em; "
  580. id=tblSample2 helpid="35435" helpfile="msimn.hlp">
  581. <TR>
  582. <TD style="font-family: ms sans serif; font-size: 8pt; width: 8.9em;
  583. height: 5.0277em; " id=tdSample2
  584. helpid="35435" helpfile="msimn.hlp">
  585.  <CENTER id=elmSample helpid="35435" helpfile="msimn.hlp">
  586.  <NOBR helpid="35435" helpfile="msimn.hlp">
  587.  AaBbYyZz</NOBR></CENTER>
  588. </TD>
  589. </TR>
  590. </TABLE>
  591. </DIV>
  592. <BUTTON id=btnOK tabIndex=60
  593. style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  594. left: 26.6em; top: 2.2815em; width: 7em; height: 2.1294em; "
  595. helpid="28443" helpfile="windows.hlp" type=submit>
  596. OK</BUTTON>
  597. <BUTTON id=btnCancel tabIndex=70
  598. style="font-family: ms sans serif; font-size: 8pt; position: absolute;
  599. left: 26.6em; top: 4.7151em; width: 7em; height: 2.1294em; "
  600. helpid="28444" helpfile="windows.hlp" type=reset>
  601. Cancel</BUTTON>
  602. </BODY>
  603. </HTML>
  604.