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

 

 ·在线等候........回复有分    »显示摘要«
    摘要: 本人需要完成一项工作是要在一个特殊的符号上写上数字(比如标记圆的直径),标记完成后,把整个标记保存到excel表格中去,请各路大虾指点迷津。先谢谢了! ......
    摘要: 装上xp后,桌面只有一个垃圾站,怎样有其他图标(如98,2000的桌面),不要是快捷方式 ......


怎么移VSFLEXGRID 7.0的列

怎么移,在VSFLEXGRID中有方法吗???

NO.1   作者: flxa

ColPosition属性:  
   
  Moves   a   given   column   to   a   new   position.  
  Syntax            
  [form!]vsFlexGrid.ColPosition(Col   As   Long)[   =   NewPosition   As   Long   ]  
  Remarks          
  The   Col   and   NewPosition   parameters   must   be   valid   column   indices   (in   the   range   0   to   Cols   -   1),   or   an   error   will   be   generated.  
   
  When   a   column   or   row   is   moved   with   ColPosition   or   RowPosition,   all   formatting   information   moves   with   it,   including   width,   height,   alignment,   colors,   fonts,   etc.   To   move   text   only,   use   the   Clip   property   instead.  
   
  For   example,   the   following   code   shows   how   you   can   insert   a   new   column   at   an   arbitrary   position   on   the   grid:  
   
          Sub   InsertCol(pos%)  
                  fg.Cols   =   fg.Cols   +   1  
                  fg.ColPosition(fg.Cols   -   1)   =   pos  
                  fg.TextMatrix(0,   pos)   =   "New   "   &   fg.Cols  
          End   Sub  
   
  The   ColPosition   property   gives   you   programmatic   control   over   the   column   order.   You   may   also   use   the   ExplorerBar   property   to   allow   users   to   move   columns   with   the   mouse.  
   
  Data   Type  
  Long

NO.2   作者: stiffe01

在VSFLEXGRID右键中的属性里找到:ExplorerBar属性值,把它设为:2-flexExMove就可以了!


 ·jdeveloper方面的书籍有那些    »显示摘要«
    摘要: 各位观众推荐几本给我阿! ......
» 本期热门文章:

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