AFAIK, creating a form always triggers a resize event, which could
work as a form loaded event, e.g.

   showevents_jqtide_ 1
   wd 'pc abc;cc pushme button;pshow'
abc_resize

On Sat, Jan 21, 2023 at 12:36 PM Raul Miller <[email protected]> wrote:
>
> I would be fine with a form_loaded event. Currently I have no need of
> it, but it's entirely possible someone else (including some future me)
> would have a use for it.
>
> Anyway, it would be Real Nice if pshow posted to the event queue and
> wd processing continued. And if the form_loaded event accomplished
> that, I'm all for it. However, looking at the implementation, which
> seems to be:
>
> https://github.com/jsoftware/qtide/blob/master/lib/wd/wd.cpp#L904
>
> and
>
> https://github.com/jsoftware/qtide/blob/master/lib/wd/form.cpp#L513
>
> and
>
> https://doc.qt.io/qt-5/qwidget.html#show
>
> I'm still not seeing the mechanism which causes the wd command chain
> to cease processing wd commands.
>
> Or perhaps you're saying that QT would need a form_loaded event for wd
> to continue processing in this context?? If I understand correctly, it
> does not have such an event but apparently we could synthesize one by
> overriding the implementation of QWidget::showEvent(QShowEvent *)?
>
> Thanks,
>
> --
> Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to