随笔分类 -  Spread Sheet

摘要:'スクロールバーの移動FpSpread1.ShowColumn(0, 0, HorizontalPosition.Left)'SetActiveCellの後、LeaveCellを呼び出すDim ss As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbookFpSpread1_LeaveCell(FpSpread1, New FarPoint.Win.Spread.LeaveCellEventArgs(ss, rowIdx, colIdx, newRow, newCol))'行書式コピーFpSpread1. 阅读全文
posted @ 2013-08-26 08:18 sekihin 阅读(941) 评论(0) 推荐(0) 编辑
摘要:enc = System.Text.Encoding.GetEncoding("shift-jis") datamodel = CType(FpSpread1.ActiveSheet.Models.Data, Model.DefaultSheetDataModel) Dim enc As System.Text.Encoding Dim WithEvents datamodel As Model.DefaultSheetDataModel Private Sub datamodel_Changed(ByVal sender As Object, ByVal e ... 阅读全文
posted @ 2013-08-22 10:47 sekihin 阅读(582) 评论(0) 推荐(0) 编辑
摘要:''' ''' 下矢印の動作クラス''' ''' Public Class DownArrowActionDouble ' Actionクラスを継承したサブクラスを作成します Inherits FarPoint.Win.Spread.Action Public Event FormartRow(ByVal sender As Object, ByVal e As FormatRowEventArgs) Public Event CheckRow(ByVal sender As Object, 阅读全文
posted @ 2013-08-22 09:13 sekihin 阅读(510) 评论(0) 推荐(0) 编辑
摘要:Application.CurrentCulture = New System.Globalization.CultureInfo("ja-JP", false) Dim dt As FarPoint.Win.Spread.CellType.DateTimeCellType = New FarPoint.Win.Spread.CellType.DateTimeCellType() dt.CalendarSurroundingDaysColor = System.Drawing.SystemColors.GrayText dt.DateD... 阅读全文
posted @ 2011-12-26 14:06 sekihin 阅读(1691) 评论(0) 推荐(0) 编辑
摘要:'フォームロードイベントPrivate Sub Form1_Load(sender As Object, e As System.EventArgs) fpSpread1.EditModePermanent = True ' 編集中セルの Enterキー押下による動作を無効とします。 Dim inputmap1 As FarPoint.Win.Spread.InputMap inputmap1 = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused) inputmap1.Put 阅读全文
posted @ 2011-12-26 12:53 sekihin 阅读(3821) 评论(0) 推荐(0) 编辑
摘要:调用SetFocus方法后Spread仍然无法获得焦点问题出在Spread不失去焦点的情况下无法获得焦点所以在调用按钮单击事件时(Button1_Click)要先使按钮获得焦点(Button1.SetFocus)[代码] vbSpread1.ACTION=ActionActiveCell 阅读全文
posted @ 2009-06-24 18:02 sekihin 阅读(1007) 评论(0) 推荐(0) 编辑
摘要:1,显示背景色,同时显示默任的淡色线效果如图:2.在SpreadSheet里按Tab键向下移动设计完SpreadSheet后要把前两项限制选中3.设置SpreadSheet行的可选择情况5.设置Enter响应的事件6.设置隐藏列与固定列数 阅读全文
posted @ 2009-06-10 10:04 sekihin 阅读(516) 评论(0) 推荐(0) 编辑
摘要:1.设置隐藏列 FpSpread1.ActiveSheetView.Columns(0).Visible = False 2.JavaScript取得隐藏列里的值 var objSpread = document.getElementById("FpSpread1"); objSpread.GetHiddenValue(0,"H1"); 注:"H1"为该隐藏列的lable值 3. 无法通过... 阅读全文
posted @ 2008-08-19 11:47 sekihin 阅读(767) 评论(0) 推荐(0) 编辑
摘要:一开始用GeneralCellType能实现隐藏货币符($),同时格式化数字(###,###,##0),但是却失去了ErrorMessage的功能,不能判断可输入最大值最小值。 Dim dCell As New FarPoint.Web.Spread.GeneralCellType Dim numFormat As New Syste... 阅读全文
posted @ 2008-07-11 11:29 sekihin 阅读(584) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。
posted @ 2008-06-26 15:29 sekihin 阅读(59) 评论(0) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> Imports FarPoint.Win.Spread Dim enc As System.Text.Encoding Dim WithEvents datamodel... 阅读全文
posted @ 2007-12-22 13:58 sekihin 阅读(810) 评论(1) 推荐(0) 编辑
摘要:从Sample中粘出来的函数 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Private Sub GetKeyPress_NEXT() ' 定义InputMap的Option Dim im As FarPoint.Wi... 阅读全文
posted @ 2007-06-14 18:06 sekihin 阅读(883) 评论(0) 推荐(0) 编辑
摘要:1.使数值型数据不显示小数点,及显示区分符号? 去掉图中所示复选框,选中图中所示复选框 2.隐藏指定列 选择要隐藏的列,右键,如图选择“非表示” 3.显示隐藏列 有时无法显示出隐藏列,可能是列宽设为了0,拖动列边缘,既可拖出隐藏列. 4.设置列标题 5.设置多个列标题及设置默认列标题 6.设置固定列 所谓固定列就是不随滚动条滚动的列 阅读全文
posted @ 2007-05-28 16:36 sekihin 阅读(1330) 评论(0) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> Dim im As FarPoint.Win.Spread.InputMap im = vaBody.GetInputMap(FarPoint.Win.Sprea... 阅读全文
posted @ 2007-05-23 08:51 sekihin 阅读(646) 评论(0) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Private Sub btnCopy_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnC... 阅读全文
posted @ 2007-03-27 12:31 sekihin 阅读(771) 评论(0) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Public Sub InsertRow2(AnySs As vaSpread, ByVal Row&) AnySs.MaxRows = 6 AnySs.Row = Row An... 阅读全文
posted @ 2007-03-26 12:19 sekihin 阅读(424) 评论(0) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->'スプレッドシートの行をクリアする。'' Syntax: Clear AnySs,Row&'' IN: AnySs 対象となるスプレッドシート' strRo... 阅读全文
posted @ 2007-03-26 11:47 sekihin 阅读(476) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示