当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

 ·哪里的asp服务器稳定点...    »显示摘要«
    摘要: 相对于300.00rmb 100m asp 的性能?广州客户浏览的... 我已经对x168失去信心了,价格没话说,不过服务器也水得可以 ......
    摘要: 代码如下: new web server application ,选择 cgi stand - alone executable , 为何结果没有出现在 ie 中而是一闪而过 ? unit unit1; interface uses sysutils, classes, httpapp; type twebmodule1 = class(twebmodule) procedure web......


关于formula One中合并单元格的问题,求各位老大帮帮忙

在线等待,急!急!急!急!急!急!急!急!急!急!  
  有哪位老大知道在PB中怎么通过代码实现Formula   One单元格的合并??  
 

NO.1   作者: lcgpb

long   r1,   c1,   r2,   c2  
  if   Ole_1.Object.SelectionCount   >1   then  
  messagebox("","不能合并多个选区的单元格!")  
  return  
  end   if  
  if   Ole_1.Object.SelectionCount   =0   then  
  messagebox("","没有选定的单元格!")  
  return  
  end   if  
  int   nSelectionIndex  
  nSelectionIndex=0  
  Ole_1.Object.GetSelection(nSelectionIndex,ref   r1,   ref   c1,   ref   r2,   ref   c2)  
   
  if   c2=256   or   r2=65536   then  
  messagebox("","不能合并整行或整列。")  
  return  
  end   if  
   
  oleobject   CelFont  
  CelFont=ole_1.object.GetCellFormat()  
  CelFont.MergeCells=merged  
  ole_1.object.SetCellFormat(CelFont)  
  destroy   CelFont

NO.2   作者: PBsystem

//////////合并单元格   3,3,3,6  
  oleobject   cellmerge  
  ole_1.object.setselection(3,3,3,6)  
  cellmerge=ole_1.object.getcellformat()  
  cellmerge.mergecells=true  
  ole_1.object.SetCellFormat(cellmerge)  
  ole_1.object.setselection(3,1,3,1)  
  cellmerge.mergecells=false  
  /////////////////合并结束


    摘要: 例如:韩语、日语、英语、中文等等操作系统 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE