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

[SOLVED]Image button for access navigation button

Integrated Application Platform › Forums › General › [SOLVED]Image button for access navigation button

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 5 months ago by jaska_lee.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 30, 2014 at 4:14 am #786
    jaska_lee
    Participant

    I created some nice icons, and I would like to replace the standard access navigation buttons with these icons.

    The standard button:

    	...
    #(ColorButton, "First", tip: 'Alt+F')
    ...

    My image button:

    	...
    #(ImageButton, "First", 'nav_first1.gif', 'nav_first2.gif',tip: 'First record (Alt+F')
    ...

    I commented out the original button and tried to run the access controller, I got an error:

    "run all failed: uninitialized member: #First"

    It seems to be indicating that the process of initializing the image button control failed. But if I let them co-exist and run the access again, no error is thrown. The image button works as expected. Apparently, I only want the image button to exist.

    Any idea why this is happening?

    August 30, 2014 at 11:58 pm #1090
    amckinlay
    Keymaster

    It looks like the problem is because ImageButton does not automatically set the control name like IconButton (via Button)

    That should probably be fixed to be consistent

    Meanwhile, adding

    name: ‘First’

    should solve the problem

    September 1, 2014 at 6:03 am #1091
    jaska_lee
    Participant

    hi andrew, that worked. Thanks very much for your help.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

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