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: ExpandControl Refresh

Integrated Application Platform › Forums › General › ExpandControl Refresh › Re: Re: ExpandControl Refresh

June 25, 2013 at 4:49 pm #1004
amckinlay
Keymaster

ExpandControl adds an observer to the parent RecordControl (supplied by AccessControl in this example). This should handle updating. You could put a Print in ExpandControl set_summary to see if it is getting called.

NeedSummary is a method you put on the Controller that contains the ExpandControl. MakeSummary is a method you put on the control within the ExpandControl. You can use whichever is more convenient. I am not sure how your example can work – it should be defining NeedSummary since it is on the Controller.

We mostly use ExpandControl as part of AccordionControl. I checked a few places and the scroll bars seem to work correctly. However, they were all inside TabsControl so that may be the difference. ExpandControl does .Window.Refresh() when it expands or contracts which should handle this.

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