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 12 replies, 12 voices, and was last updated 1 month, 1 week ago by gameslots.
Viewing 13 posts - 1 through 13 (of 13 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 16, 2020 at 12:58 am #1500
    ricerobertson
    Participant

    great

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

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

    Thanks,
    ajith

    January 20, 2020 at 12:45 am #1504
    wgnrwlls08
    Participant

    Great Post

    January 21, 2020 at 5:36 am #1505
    fullerkim8
    Participant

    Thanks for the information

    January 21, 2020 at 10:56 pm #1506
    riceh981
    Participant

    Good Post

    January 22, 2020 at 11:11 pm #1507
    brewerg20
    Participant

    thanks

    January 23, 2020 at 11:20 pm #1509
    nchlsgrnt57
    Participant

    Thank you

    January 26, 2020 at 9:21 pm #1511
    romerostanley18
    Participant

    THANKS

    January 28, 2020 at 8:51 pm #1514
    moraleskennedy
    Participant

    Thank you. Please visit our site Bandarq.

    February 17, 2020 at 5:09 am #1516
    earlisaac47
    Participant

    thanks

    April 13, 2020 at 12:13 am #1524
    rtzgmz
    Participant

    Great

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 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

  • how to start jsuneido ?
  • Problem Starting Suneido…
  • Dialog not showing buttons
  • New link for Suneidojo
  • Excel

Contact Us | Legal Statement | Privacy Statement | SiteMap

(c) Suneido Software Corporation - Open Source Integrated Database and Programming Language