Thread Rating:
  • 423 Vote(s) - 2.89 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Worksheetの明細繰り返しについて
09-13-2011, 05:19 PM, (This post was last modified: 09-13-2011, 05:25 PM by ashimo.)
#4
RE: Worksheetの明細繰り返しについて
消せるプロパティがありそうに思って探してみましたが、見つけられませんでした…。
あまりいいやり方じゃありませんが、サブクラス作って以下のようにすれば消すことはできました。

Code:
{define-class MyWorksheet {inherits Worksheet}
  {constructor {default ...}
    {construct-super {splice ...}}

    {for g2 in self.grid.graphical-children do
        {type-switch g2
         case sb:ScrollBox do
            {if sb.name == "top-frame"
                or sb.name == "left-frame" then
                set sb.visible? = false
            }
        }
    }
  }
}

{def ws = {MyWorksheet 40 , 8,
              {widths 47pt, 42pt, 34pt, 28pt, 18pt, 76pt, 18pt, 76pt},
              background = "white", height = 10cm
          }
}


Messages In This Thread
RE: Worksheetの明細繰り返しについて - by ashimo - 09-13-2011, 05:19 PM
Forum Jump:


Users browsing this thread:
2 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('273')