Menu

Error While Tabbing through the attribute editor making no changes

2023-04-14
2023-06-16
  • Tommy The Geek

    Tommy The Geek - 2023-04-14

    I have created just the Toplevel widget. I get the following error when I tab through the attribute editor:

    can't modify -visual option after widget is created
    while executing
    "$target configure $option [set $variable]"
    (procedure "vTcl:prop:config_cmd" line 20)
    invoked from within
    "$config_cmd $target $option $variable $value $args"
    (procedure "vTcl:focus_out_cmd" line 18)
    invoked from within
    "vTcl:focus_out_cmd"
    (command bound to event)

     
  • Greg Walters

    Greg Walters - 2023-04-14

    I assume that you are using the Tab key when you say you were tabbing through the AE.

    Thank you for the report. No one else has mentioned it. I'm pretty sure that most users use the mouse and click on the options they need to change.

    Thank you again!
    Greg

     
  • Greg Walters

    Greg Walters - 2023-04-15

    Once again, thank you for the bug report. I have escalated it to Don.

    We are currently working on PAGE version 8.0, so I doubt there will be a fix for this issue. The best thing that I can suggest for now is to avoid the Visual attribute. If you tab into that Entry widget, then tab out, you will get the error. Basically, the program is trying to tell you that the Visual attribute can not (or at least should not) be changed once the Toplevel widget is created.

    As long as you don't tab into and back out of it, you should be good.

    Greg

     
  • Greg Walters

    Greg Walters - 2023-04-19

    UPDATE - This issue has been fixed and resolved in the latest development version and will be in the next release. Unfortunately, I currently have no expected release date for the next version.

    Greg

     
  • Robert  Taylor

    Robert Taylor - 2023-06-15

    New to page and immediately had the same problem. Older coder, hard coded in me to tab between fields and hit this problem all the time, which I have to restart else other errors occur. Any chance to share the fix as a patch or code snippet, assuming its not a major fix? Many Thanks for your efforts.

     
  • Greg Walters

    Greg Walters - 2023-06-15

    Hello Robert,
    No, I'm afraid we can't create a patch for this. However, I can confirm that it is fixed in the next version. We are hoping that we will have the next version out in a month or so.

    In the meantime, when you are tabbing through the Attribute Editor, do your best to avoid the visual attribute. That's what is causing the problem.

    Greg

     
    • Robert  Taylor

      Robert Taylor - 2023-06-16

      Hi Greg, Ok, again thanks for the super quick response.

      Cheers,
      Rob

       
  • Greg Walters

    Greg Walters - 2023-06-16

    Again, you are very welcome.
    Again, it might take me a few hours for the response, but it's usually not much longer than this.

    Greg

     

Anonymous
Anonymous

Add attachments
Cancel