高分挑战DHTMLEDIT.OCX高手 我将给你我的所有(200分)

  • 主题发起人 winder_008
  • 开始时间
W

winder_008

Unregistered / Unconfirmed
GUEST, unregistred user!
在DHTMLEDIT中实现表格的合并横向合并OK现在纵向合并出现问题。
如果你做过肯定遇到类似的问题。

目前有没有能够替代DHTMLEDIT的控件呢。
 
A

app2001

Unregistered / Unconfirmed
GUEST, unregistred user!
论坛上有一个叫Oldsheep35的对这玩意有研究,你呼唤一下他来交流一下吧
 
O

oldsheep35

Unregistered / Unconfirmed
GUEST, unregistred user!
楼主,你的表格是怎么插入的?
我还没有做过表格的操作。
你可以把你的代码贴出来看看!
我们一起研究一下!
目前还没有可以替代DhtmlEditd的控件
虽然它还是很不好用,但是功能确实很强大!
 
W

winder_008

Unregistered / Unconfirmed
GUEST, unregistred user!
我主要用的是它的指令
Table Commands

Command Description
DECMD_DELETECELLS Deletes the selected cells from a table.
DECMD_DELETECOLS Deletes all the columns in a table containing selected text.
DECMD_DELETEROWS Deletes all rows containing selected elements.
DECMD_INSERTCELL Inserts a single cell to the left of the current cell in a table.
DECMD_INSERTCOL Inserts a new column to the left of the current column in a table.
DECMD_INSERTROW Inserts a new row above the current row in a table.
DECMD_INSERTTABLE Inserts a table.
DECMD_MERGECELLS Merges two or more table cells into a single cell.
DECMD_SPLITCELL Splits one or more table cells.

DECMD_MERGECELLS :是合并单元格 但是不行(纵向)
 
C

cnzhw007

Unregistered / Unconfirmed
GUEST, unregistred user!
DECMD_MERGECELLS命令根本就不支持纵向的单严格合并,在合并之前可以用QueryStatus( )函数判断!
 
C

cnzhw007

Unregistered / Unconfirmed
GUEST, unregistred user!
如果必须要实现这个功能,可以使用HTML语言paste到文档中!!
 
C

cnzhw007

Unregistered / Unconfirmed
GUEST, unregistred user!
to:oldsheep35

你可以去看一下DHTMLEDIT的DSK!
 
O

oldsheep35

Unregistered / Unconfirmed
GUEST, unregistred user!
thanks cnzhw007
我一直不想这么做。看来只好修改SourceCode了!
谢谢,等我那帖子结的时候肯定给分!
 
W

winder_008

Unregistered / Unconfirmed
GUEST, unregistred user!
看来我的问题是无法解决了!!
 
C

cnzhw007

Unregistered / Unconfirmed
GUEST, unregistred user!
to:winder_008

不是没有办法解决,要通过其他途径而已,你可以参照FrontPage,根据它的html语句变更,从中获得相关内容,用html语言直接修改,应该可以解决!
 
O

oldsheep35

Unregistered / Unconfirmed
GUEST, unregistred user!
如何获取选中的表格的属性?比如说row等等
我正在努力,那位高手知道?
 
C

cnzhw007

Unregistered / Unconfirmed
GUEST, unregistred user!
to oldsheep35

整表选中时可以通过getAttribute获得表属性,但是不能获得表的行、列值,你可以通过outterHTML获得!但是想要调整恐怕有些空难!
 
O

oldsheep35

Unregistered / Unconfirmed
GUEST, unregistred user!
to cnzhw007
可以获取宽度,边宽,表格名称,颜色,边距和间距
但行数和列数 我死活也不能直接获取,
真的不知道如何使用好表格的这个接口!
 
C

cnzhw007

Unregistered / Unconfirmed
GUEST, unregistred user!
通过outterHTML获得,TR和TH标记信息,除此我感觉别无它法了!!!
 

Similar threads

S
回复
0
查看
1K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
960
SUNSTONE的Delphi笔记
S
S
回复
0
查看
948
SUNSTONE的Delphi笔记
S
S
回复
0
查看
769
SUNSTONE的Delphi笔记
S
顶部