【问题标题】:TWebBrowser Can Undo or RedoTWebBrowser 可以撤消或重做
【发布时间】:2011-12-10 16:56:59
【问题描述】:

使用 TWebBrower 如何获得撤消或重做状态(CanUndo、Can Redo)?

这总是假的?

  Undo1.Enabled := HTMLDocument2Ifc.queryCommandValue( 'Undo' );
  Redo1.Enabled := HTMLDocument2Ifc.queryCommandValue( 'Redo' );

【问题讨论】:

    标签: delphi twebbrowser


    【解决方案1】:

    您正在寻找的可能是queryCommandEnabled 方法。我猜只有当浏览器在edit mode 时才会启用撤消和重做命令。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-11-25
      • 2011-08-04
      • 2014-04-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多