Suneido

Integrated Application Platform

  • Home
  • Learning
    • Suneido Manual
    • Beginners
      • Inside Suneido
      • The Suneido Programming Language
      • The Suneido Database
      • Installing Suneido
      • Building Suneido
      • IDE Go To Tour
      • Upgrading To A New Release
    • Advanced
      • Canvas Control
      • DrawControl Part 1
      • DrawControl Part 2
      • DrawControl Part 3
      • SAX Like XML Processing
      • A Plug-In Architecture
      • A Simple Wizard Framework
      • An HTML Include Facility
      • An RSS 2 Feed Creator
      • MIME Generation
      • A New Add-on Facility
      • Workspace Improvement Hack
    • Mockito for Suneido
    • The Suneido Task Scheduler
    • Contributing To Suneido
    • Contributor Assignment of Copyright
    • Language Translation
    • Future Directions
    • Interview With Andrew Mckinlay
  • Forum
    • Announcements
    • Internals & Enhancements
    • Cookbook
    • General
  • FAQ
  • Screenshots
  • Downloads
  • Links

Re: Re: Newb Window Canvas Question

Integrated Application Platform › Forums › General › Newb Window Canvas Question › Re: Re: Newb Window Canvas Question

April 11, 2011 at 3:32 pm #830
roundtuit
Participant

Still just a little lost… I run my function to create the window (w = MyFunc) and it returns the pointer to the window (window object) as w beautifully. There’s my Window, my Menu, My canvas. Everything is wonderful. now I get the pointer to my canvas (oc = w.FindControl(‘Canvas’)) and there it is, big and beautiful as life…My Canvas. Now, silly me, I want to put an image on my canvas so I try to create an image object with oi = Image(“MyFile.jpg”) so that I can add it (oc.AddItem) to my canvas. No joy in Mudville. Image(“MyFile.jpg”) just appears to return a string that says “Image (“MyFile.jpg”)” and not an object that I can manipulate or add to the canvas. I’m trying all this from the workspace, 1 line at a time so I can see what I’m getting. What did I do wrong THIS time?

Oh, and is there something simple I can specify in my Window creation function that will start the window maximized? Thanks so much and sorry to be such a bother.

Search Forums

Log In
Welcome to the new Suneido Web Site and Forum.
Register
Lost Password
users of the previous PHPBB Forum should be able to log in with their previous username and password.

Recent Topics

  • Alpha copy of gSuneido to play with
  • how to start jsuneido ?
  • Problem Starting Suneido…
  • Dialog not showing buttons
  • New link for Suneidojo

Contact Us | Legal Statement | Privacy Statement | SiteMap

Copyright © 2023 Axon® Development Corporation. All Rights Reserved. - Open Source Integrated Database and Programming Language