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

Dialog not showing buttons

Integrated Application Platform › Forums › General › Dialog not showing buttons

  • This topic has 2 replies, 2 voices, and was last updated 3 years ago by ajith.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 11, 2020 at 10:28 pm #1498
    ajith
    Participant

    I imported an old program into the 2018 version Suneido and found that a Dialog that comes up doesn’t have a “Close” button.

    An example:
    Dialog(0, Object('Mshtml', "description", xmin: 500, ymin: 500), title: "title")

    I tried providing
    style: WS.SYSMENU | WS.CAPTION and
    exStyle: WS_EX.DLGMODALFRAME

    separately and in combination, but without any apparent effect. The Escape key and Alt + F4 are closing the dialog. It is just that the Close button is not visible.

    Windows version is Win 7, 32 bit.

    Is this a bug or am I forgetting something?

    Thanks,
    ajith

    January 12, 2020 at 8:28 am #1499
    amckinlay
    Keymaster

    Hi Ajith,

    You need to specify closeButton?:

    For example: ToolDialog(0, #(Editor), closeButton?:)

    It defaults to false because most of our dialogs have other buttons like OK/Cancel in which case it is unclear whether the ‘X’ close button acts like OK or like Cancel.

    Dialog now ignores style: and exStyle: because we found it caused too much inconsistency in our applications because people would specify different options. And only certain combinations of style and exStyle work properly.

    Best wishes,
    Andrew

    January 17, 2020 at 9:35 am #1503
    ajith
    Participant

    Hi Andrew,
    Thanks for your reply. The button is showing up now.

    Thanks,
    ajith

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Dialog not showing buttons’ is closed to new replies.

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