Thread Rating:
  • 215 Vote(s) - 2.85 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RecordFormについて質問!
07-31-2012, 02:15 PM,
#2
RE: RecordFormについて質問!
child(RecoreFormの中にあるオブジェクト)に幅を指定して試しましたが、RecordFormはひろがってくれています。

Code:
{curl 8.0 applet}
{curl-file-attributes character-encoding = "utf8"}

{let people:RecordSet =
{RecordSet
{RecordFields
{RecordField "First", domain = String},
{RecordField "Last", domain = String},
{RecordField "Age", domain = int}
},
{RecordData First = "Johndddddddddddddddddddddddddddddddddddddddddd", Last = "Smith", Age = 25},
{RecordData First = "Jane", Last = "Smith", Age = 29},
{RecordData First = "Jane", Last = "Jones", Age = 28}
}
}
{let rf:RecordForm =
{RecordForm
record-source = people,
{VBox
{TextDisplay width = 10cm ,{bind value to "First" }},
{TextDisplay {bind value to "Last"}},
{TextDisplay {bind value to "Age"}}
}
}
}
{value rf}




ヘルプによると、"1234567890"という書き方は、Curl内部で、TextFlowBox への自動変換しているそうなので、

{TextFlowBox width = 10cm, "1234567890"} と書けば幅を指定できると思いますよ。



Reply


Messages In This Thread
RecordFormについて質問! - by happycoin - 07-27-2012, 01:55 PM
RE: RecordFormについて質問! - by kim - 07-31-2012, 02:15 PM
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('578')