Bwidget Source Code
Ticket Change Details
Not logged in
Overview

Artifact ID: d486463f494260c20540d7d41f31615d4f87e447f5a5253fcdc00e1faa388602 (Awaiting Moderator Approval)
Ticket: 378209fe023935a5308af7e6a345ab945bc36202
Unknown options error for ProgressDlg and PasswdDlg
User & Date: anonymous 2025-08-05 15:13:55
Changes

  1. icomment:
    Hello Harald,
    
    yes, my proposal was only a quick-and-dirty-solution and You was right to stop it.
    Please revert/delete the commit.
    I go very deep inside BWidget and think to know the right way now.
    
    First, the constructs with "#<classname>" is mainly for widgets from old 1.9.x BWidget,
    which construct and divide with it their data-arrays in global level/namespace.
    (Sorry, my proposal comes from my old ActiveTcl 8.6.4.1.)
    New version 1.10.x use other algorithms, own namespaces, and there inside data-arrays
    for each widget instance.
    
    Second, both widgets *LEFT* a call to "Widget::init".
    They only do a "Widget::initFromODB", which is not enough.
    This is the part, why we do not get all data structures and proc's up, and
    no checks of parameters and values.
    By the way, the "init" does much more than "initFromODB".
    So we should *ADD* it just before "initFromODB", to get the priority
    default-value -> ODB-value -> parameter-value (-> this is used).
    
    The same is for the new Calendar proposal (I send it separate)!
    
    Hope, this helps to fix all BWidgets version 1.10.x.
    Best greetings to You,
    Thomas W.
    
  2. login: "anonymous"
  3. mimetype: "text/plain"
  4. username: "TWu"