Mark, As I'm sure you spotted already it's the CENTER and CENTERIMAGE options that are causing the problem.

Staffan



On Tue, Jan 15, 2013 at 8:18 PM, Staffan Tylen <staffan.tylen@gmail.com> wrote:
Mark, try this:

.ResizeProblem~newInstance

::CLASS "ResizeProblem" SUBCLASS USERDIALOG INHERIT ResizingAdmin
::REQUIRES "ooDialog.cls"

::METHOD newInstance CLASS UNGUARDED
  thisDialog = self~new()
  thisDialog~activate

::METHOD init
  forward class(super) continue
  opts = "MINIMIZEBOX MAXIMIZEBOX"
  self~createCenter(200, 200, "Title goes here", opts)

::METHOD defineDialog
  self~createListView(100, 10, 10, 180, 100, "ICON HSCROLL VSCROLL")
  style = "TEXT SUNKEN CENTER CENTERIMAGE"
  self~createStaticText(101, 10, 120, 180, 50, style, "This is static text")

::METHOD activate UNGUARDED
  self~execute("SHOWTOP")

::METHOD initDialog
  forward class(super) continue
  staticControlObject = self~newStatic(101)
  staticControlObject~setColor(6, 15)

Staffan