locked
GraphicsWindow.CanResize - how does it work? RRS feed

  • Question

  • I'm probably being slightly simple, but how do I go about using GraphicsWindow.CanResize
    is it a variable (my guess) or a method ?
    And what values/arguments can it take?

    The most I've been able to do with it is:
    GraphicsWindow.CanResize = yes
    Which prohibits any resizing - Not my intended result.

    I'd also suggest that information such as this should be put in the wonderful little help paine that appears with intellisense.

    Monday, December 22, 2008 9:49 PM

Answers

  •  Please try

    GraphicsWindow.CanResize = "True"

    and

    GraphicsWindow.CanResize = "False"

    I agree these are obscure and I'll fix this by adding more help on this, for the next release.
    • Marked as answer by Vijaye Raji Monday, December 22, 2008 9:53 PM
    Monday, December 22, 2008 9:53 PM

All replies

  •  Please try

    GraphicsWindow.CanResize = "True"

    and

    GraphicsWindow.CanResize = "False"

    I agree these are obscure and I'll fix this by adding more help on this, for the next release.
    • Marked as answer by Vijaye Raji Monday, December 22, 2008 9:53 PM
    Monday, December 22, 2008 9:53 PM
  • Thanks. Now how do we add scrollbars for cases such as:

    my_word = Dictionary.GetDefinition("God")
    GraphicsWindow.CanResize = "True"
    GraphicsWindow.Title = "God"
    GraphicsWindow.DrawText(10,10,my_word)

    Monday, February 16, 2009 4:30 AM