Thread Rating:
  • 389 Vote(s) - 2.89 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Worksheetオブジェクトのセルに複数のTextFieldを入れたい
02-14-2012, 10:08 AM,
#2
RE: Worksheetオブジェクトのセルに複数のTextFieldを入れたい
WorksheetオブジェクトとはCurl External Libraryに含まれている、
Worksheetクラスのことでしょうか。

それならば、単純にVBoxでくくったTextFieldを入れてやればいいのではないでしょうか。
こんな感じで…


{import * from COM.CURL.EXT.WORKSHEET}
{Worksheet
4, 2, {widths 60pt, 1in},
font-size = 10pt, font-family = "Tahoma",
scrollable? = false,
border-width = 1px,

row = 0, col = 0,
row-height = .25in, colspan = 2, {big Sample Worksheet},

row = 1, col = 0, "Quantity", {input-cell domain = int, 0},

row = 2, col = 0, row-height = 1in,
{VBox
"Price",
{TextField width = 50pt, value = "test1"},
{TextField width = 50pt, value = "test2"}
},

{input-cell domain = DataSource.currency-domain, 0.0},

row = 3, col = 0,
{value-cell halign = "right", "Total"},
{formula-cell
domain = DataSource.currency-domain,
{proc {destBig GrinataRef, aBig GrinataRef, bBig GrinataRef}:void
set dest.value = a.as-double * b.as-double
},
{RelativeCellRef -2, 0},
{RelativeCellRef -1, 0}
}
}


Messages In This Thread
RE: Worksheetオブジェクトのセルに複数のTextFieldを入れたい - by dankom - 02-14-2012, 10:08 AM
Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('404')