REVO2700A Untitled 2Pwon preOpenStack set the unicodeTitle of this stack to uniencode(the cJpTitle of this stack, utf8) end preOpenStack Kk} cJpTitle!日本語でデータグリッド  U ,Japanese ULucida Grande ULucida Grande,Unicode UOsaka,Japanese WLucida Grande WOsaka,Japanese WGeneva UOsaka,Japanese cREVGeneralscripteditorvscroll0breakpointconditionsscripteditorselection118 breakpointsbreakpointstatesstackfileversion2.7 @k}Custom Column BehaviorEp\on fillinData pData set the unicodeText of me to uniencode(pdata,"utf8") end fillinData .4 cREVGeneralscripteditorvscroll0 revUniqueID 1238900653285scripteditorselection90 Buttonexq-- set the dgProp["default column behavior"] of group "DataGrid" to the long id of button "Custom Column Behavior" of this stack on mouseUp answer file "Select Japanese UTF8 Text" if it <> empty then get url ("binfile:" & it) set the textfont of grp "datagrid" to "Osaka,Japanese" set the dgtext of grp "DataGrid" to it end if end mouseUp ,2eg,0000000 cREVGeneralscripteditorvscroll0 revUniqueID 1238900653286scripteditorselection345  DataGridh(@@@@@@.:fE;data_1Col 2歌人 Col 3ore@kakinomoto.orgCol 1柿本人麻呂\2Col 2歌人 Col 3teika@fujiwara.comCol 1 藤原定家\3Col 2歌人 Col 3mocchan@ootomo.orgCol 1 大伴家持[4Col 2歌人Col 3izumi@shikibu.comCol 1 和泉式部[5Col 2歌人"Col 3murasaki@shikibu.comCol 1 紫式部)column propertiesCol 2 labelwmisort typetextmin width@Dmax width@@width@Mresizabletrue sort direction ascending$sort is case sensitivefalsevisibletruealignmentleftCol 3 label000sort typetextmin width@Dmax width@@width@eresizabletrue sort direction ascending$sort is case sensitivefalsevisibletruealignmentleftCol 1 label TMRsort typetextmin width@Dmax width@@width@Tresizabletrue sort direction ascending$sort is case sensitivefalsevisibletruealignmentleftrevDataGridLibrarycGlx2TimeStamp checksumُ B~dgCache sequencing 1,2,3,4,5dgProps"scrollbar corner offset0scrollbar widthauto auto hilitetrue corner color 232,232,232default column behavior4button id 1003 of card id 1002 of stack "Untitled 2"show vscrollbartrueshow hscrollbartruecolumn marginsdim on focusOuttrue row templateJgroup id 1006 of card id 1005 of stack "Data Grid Templates 1238900701061" data can be represented as texttrue!scroll when hscrollbar is hiddenfalseheader background color219,219,219 188,188,188allow column resizingtruecolumn widthsheader margins control type Data Gridcolumn divider color 217,217,217styletablecolumnsCol 1 Col 2 Col 3fixed row heighttruealternate row colorstrue show headertruebackground colormultiple linesfalsepersistent datatrueallow editingtrueheader background hilite color194,207,221 125,147,148 row color row height21!scroll when vscrollbar is hiddenfalsealternate row colorcache controlsfalse hilite color cREVGeneralscripteditorvscroll5303 revUniqueID 1238900701109scripteditorselection9010dgTrackDragDrop`+s(revDataGridLibrary0cGlx2TimeStamp checksumُ B~ cREVGeneral revUniqueID 1221247573485 dgAlternatingRowsdK *gPNG  IHDR*r~1|gAMA=-fIDATc&Z }¯IENDB`*cGlx2TimeStamp checksum cREVGeneral revUniqueID 1233978099140dgEventCatcher`@*/;dcGlx2TimeStamp checksum cREVGeneral revUniqueID 1233671464256  dgBackgroundk@/;dcGlx2TimeStamp checksumُ B~ cREVGeneral revUniqueID 1233280734223dgAlternatingRowsMask h/NdcGlx2TimeStamp checksum cREVGeneral revUniqueID 1234997234836dgAlternatingRowsK@/NdcGlx2TimeStamp checksum cREVGeneral revUniqueID 1234997184798 dgListMask i/NdcGlx2TimeStamp checksum cREVGeneral revUniqueID 1234029519014 dgHighlightsi/cGlx2TimeStamp checksum cREVGeneral revUniqueID 1235616195900" hilite 0001C@/Ns# hilite 0002C@/cs$ hilite 0003C@/xs% hilite 0004C@/s& hilite 0005C@/s' hilite 0006C@/s( hilite 0007C@/s) hilite 0008C@/sdgList i/NscGlx2TimeStamp checksumُ B~ cREVGeneral revUniqueID 1219089374947Col 1 iA/NR$yrevDataGridLibrary * Col 1 0001I/NR dgHilitefalsedgIndex1Untitled 2  gg,NTB  + Col 1 0002I/cR dgHilitefalsedgIndex2Untitled 2  S[[  , Col 1 0003I/xR dgHilitefalsedgIndex3Untitled 2  Y'O4[c  - Col 1 0004I/R dgHilitefalsedgIndex4Untitled 2  Tl_  . Col 1 0005I/R dgHilitefalsedgIndex5Untitled 2  }+_  / Col 1 0006A/R dgHilitefalsedgIndexUntitled 2  0 Col 1 0007A/R dgHilitefalsedgIndexUntitled 2  1 Col 1 0008A/R dgHilitefalsedgIndexUntitled 2  Col 2 iAN;$yrevDataGridLibrary 2 Col 2 0001IN; dgHilitefalsedgIndex1Untitled 2  kLN  3 Col 2 0002Ic; dgHilitefalsedgIndex2Untitled 2  kLN  4 Col 2 0003Ix; dgHilitefalsedgIndex3Untitled 2  kLN  5 Col 2 0004I; dgHilitefalsedgIndex4Untitled 2  kLN  6 Col 2 0005I; dgHilitefalsedgIndex5Untitled 2  kLN  7 Col 2 0006A; dgHilitefalsedgIndexUntitled 2  8 Col 2 0007A; dgHilitefalsedgIndexUntitled 2  9 Col 2 0008A; dgHilitefalsedgIndexUntitled 2   Col 3 iAN$yrevDataGridLibrary : Col 3 0001IN dgHilitefalsedgIndex1Untitled 2  %ore@kakinomoto.org $ ; Col 3 0002Ic dgHilitefalsedgIndex2Untitled 2  %teika@fujiwara.com $ < Col 3 0003Ix dgHilitefalsedgIndex3Untitled 2  %mocchan@ootomo.org $ = Col 3 0004I dgHilitefalsedgIndex4Untitled 2  #izumi@shikibu.com " > Col 3 0005I dgHilitefalsedgIndex5Untitled 2  )murasaki@shikibu.com ( ? Col 3 0006A dgHilitefalsedgIndexUntitled 2  @ Col 3 0007A dgHilitefalsedgIndexUntitled 2  A Col 3 0008A dgHilitefalsedgIndexUntitled 2   dgDividersiNcGlx2TimeStamp checksum cREVGeneral revUniqueID 1234840826815[N[N![cNdgDropIndicatorq*1 $hrevDataGridLibrarycGlx2TimeStamp checksumُ B~ cREVGeneral revUniqueID 1235498625974dgOval[D* hcGlx2TimeStamp checksum cREVGeneral revUniqueID 1222830767146dgLine[.*00cGlx2TimeStamp checksum cREVGeneral revUniqueID 1222830767147dgHeaderComponentsi/;dcGlx2TimeStamp checksum cREVGeneral revUniqueID 1234030976122 dgHeaderMask h/;dcGlx2TimeStamp checksumُ B~ cREVGeneral revUniqueID 1234841619761 dgBackgroundK@@@@@@@/;s!1/;/NP;cGlx2TimeStamp checksum cREVGeneral revUniqueID 1234839325891 dgHeaderi/;5$*revDataGridLibrarycGlx2TimeStamp checksum cREVGeneral revUniqueID 1234841676865 Col 1 iA/;R$revDataGridLibrary BackgroundC@/;R!0/;/Nw;}  HeaderLabel( @@/;R  T RM  LeftHiliteK@/; RightHiliteK@; SortArrowCBddddddt@t@|@xGt@Col 2 iA;;$revDataGridLibrary BackgroundC@;;!0;Nm;}  HeaderLabel( @@;;  wim  LeftHiliteK@; RightHiliteK@; SortArrowCBdddddd@@@G@Col 3 iA;$revDataGridLibrary BackgroundC@;!0;N\;}  HeaderLabel( @@;  000  LeftHiliteK@; RightHiliteK@c; SortArrowCBddddddW@W@_@[GW@dgHeaderBottomBorderK@@@@@@/MscGlx2TimeStamp checksum cREVGeneral revUniqueID 1234839342224dgHorizontalComponentsi/dcGlx2TimeStamp checksum cREVGeneral revUniqueID 1235549794665 dgHScrollbaria/U$zrevDataGridLibrary)341cGlx2TimeStamp checksumُ B~ cREVGeneral revUniqueID 1234031453129dgCornerPieceK@@@@@@@cGlx2TimeStamp checksum cREVGeneral revUniqueID 1234032561990 dgScrollbari`N$frevDataGridLibrary$R۬148cGlx2TimeStamp checksumُ B~ cREVGeneral revUniqueID 1238900701169scripteditorvscroll0scripteditorselection0  Label Field *j cREVTable currentviewr

Revolution 3.5 以上が必要です

 cREVGeneral revUniqueID 1238901145218 Revolution 3.5 NN 0L_ʼn0g0Y    Label Field &z cREVTable currentview

set the dgProp["default column behavior"] of group "DataGrid" to \

the long id of button "Custom Column Behavior" of this stack

と、メッセージボックスから打ち込んで、ボタン「Custom Column Behavior

にあるスクリプトを group "DataGrid" "default column behavior"

入れ替える。

 cREVGeneral revUniqueID 1238901145219 Cset the dgProp["default column behavior"] of group "DataGrid" to \ @B =the long id of button "Custom Column Behavior" of this stack @< G0h00000000000K0bS0a00g00000 Custom Column Behavior0 @. @. @D C0k0B0000000 group "DataGrid" 0n"default column behavior" 0h @ @ @$ @& @@ Qe0f0H00 @  Label Field &\ cREVTable currentview"

コラムヘッダーは、インスペクターのColumns にある「Column label」に

直接日本語を打ち込めます。セットした後、インスペクターのColumns

文字化けします。今の所、日本語フォントをセットすると、英数字は使えません。

 cREVGeneral revUniqueID 1238901145220scripteditorvscroll0scripteditorselection0 C00000000o000000000nColumns 0k0B00 Column label0 0k @" @" @* @2 @> Bvceg,0bS0a00~0Y00000W0__000000000nColumns0o @8 @8 @? Ke[WS0Q0W0~0Y0N0nb@0eg,000000000Y00h0ep[W0oO0H0~0[00 @J"Data Grid Templates 1238900701061@KXLEditing template for group "DataGrid" of card id 1002 of stack "Untitled 2" UArial @X @X_DataGridTemplateInstructions_i>RcGlx2TimeStamp checksum cREVGeneral revUniqueID 1236872508693 _DataGridTemplateInstructions_ 444444BJcGlx2TimeStamp checksum cREVTable currentview

You can edit the "Row Template" group on this card to customize the look and feel of your data grid form or table. To begin, select the "Row Template" group and choose Object > Edit Group menu item.

 cREVGeneral revUniqueID 1236872189019 You can edit the "Row Template" group on this card to customize the look and feel of your data grid form or table. To begin, select the "Row Template" group and choose Object > Edit Group menu item. Row Templatei3)Data Grid Templates 1238900701061cGlx2TimeStamp checksum cREVGeneral revUniqueID 1236088553682 BackgroundK@cGlx2TimeStamp checksum cREVGeneral revUniqueID 1236188559392 LabelI cGlx2TimeStamp checksum cREVGeneral revUniqueID 1236188559393  Behavior ScriptEp G-- This script defines the behavior of your data grid's custom template. This behavior -- only applies to 'forms' and not 'tables'. on FillInData pDataArray -- This message is sent when the Data Grid needs to populate -- this template with the data from a record. pDataArray is an -- an array containing the records data. -- You do not need to resize any of your template's controls in -- this message. All resizing should be handled in resizeControl. -- Example: set the text of field "Label" of me to pDataArray["label 1"] end FillInData on LayoutControl local theFieldRect,theMasterRect -- This message is sent when you should layout your template's controls. -- This is where you resize the 'Background' graphic, resize fields and -- position objects. -- The first thing you should do is capture 'the rect of me'. -- For fixed height data grid forms you can use items 1 through 4 of the rect as -- boundaries for laying out your controls. -- For variable height data grid forms you can use items 1 through 3 of the rect as -- boundaries. put the rect of me into theMasterRect -- Example: put the rect of field "Label" of me into theFieldRect put item 3 of theMasterRect - 5 into item 3 of theFieldRect set the rect of field "Label" of me to theFieldRect set the rect of graphic "Background" of me to theMasterRect end LayoutControl setprop dgHilite pBoolean -- This custom property is set when the highlight of your custom template has -- changed. By default the "Background" graphic will be highlighted for you. -- You only add script here if you want to further customize the highlight. -- Example: if pBoolean then set the foregroundcolor of me to the dgProp["hilited text color"] of the dgControl of me else set the foregroundcolor of me to empty end if end dgHilite getprop dgDataControl -- Required by library so that it can locate your control. return the long id of me end dgDataControl on mouseDoubleUp pMouseBtnNum local theKey -- Example of how to edit the contents of a field. -- By passing the index of the record associated with copy of this template being displayed and -- a key (array key) the data grid will automatically save the changes the user -- makes and refresh the UI by calling FillInData and resizeControl. if pMouseBtnNum is 1 then if the dgProps["allow editing"] of the dgControl of me then switch the short name of the target case "Label" put "Label 1" into theKey EditFieldText the long id of the target, the dgIndex of me, theKey break end switch end if end if pass mouseDoubleUp end mouseDoubleUp R6