--- In anthemion-devtools%40yahoogroups.com">anthemion-devtools
yahoogroups.com, Julian Smart <julian
...>
wrote:
>
> Hi Sander,
>
> sberents wrote:
> > Hi Julian.
> >
> > I noticed you also removed emitting the now obsolete standard buttons
> > line for wxPropertySheetDialog when using XRC. Maybe you had done that
> > before, but I was still using 4.13. Thanks for that.
> >
> No problem!
> > Not a real issue, but the new events that were added in 2.8.5 to
> > wxAuiNotebook do not show up as checkboxes in the corresponding Event
> > Handlers tab.
> >
> Good point, I'll add those next time.
> > I also have a question. When I originally started experimenting with
> > DialogBlocks, I think it was version 2.x but it may have been 3.x, I
> > used to have a separate menu bar. Nowadays I have it defined inside
> > the frame, but back then I was using "Event Sources" to create the
> > appropriate handler at the correct place. Those Event Sources lines
> > used to be huge (a single-line edit control, and it still is). A few
> > weeks back I was experimenting a little bit, and I noticed that
> > nowadays I can't seem to generate event handlers like that anymore.
> > The "class" choicebox in the Event Handler tab always shows only a
> > single class (that owns the menubar), or is empty altogether (for
> > external menus). What am I doing wrong? Its not really an issue
> > because I don't really use it in that way anymore, except for popup
> > menus and there too the "class" choicebox is always empty even when I
> > add Event Sources, so I have to manually create the event handlers.
> > Maybe its operator error or because I am using XRC (I wasn't back
> > then), or was something broken, I don't know.
> >
> Yes, sorry, something broke, and I half fixed it in 4.16 (I think - I
> forgot to make a note of the change). When updating the code with a
> merge, the event handler is added, and when completely regenerating, it
> gets lost again. I'll fix that in 4.17.
That would be great. It would be extremely handy for maintaining my
popup menus.
While you are fixing this, could you also please enhance the event
sources control? The single line edit control is ok for a small number
of event sources, but it would be more convenient if it would have the
option to enter them in a multiline control as is done for some other
properties.
>
> Re. the class selection, in fact this doesn't allow selection of the
> menu class. To make use of the event source facility, you need to
select
> the event on the menu's event tab, not the class that processes the
> event. Then go back to the class whose event source property you have
> set, and when regenerating, the appropriate empty handler should appear.
I understand. I do recall that what did not work in the past, even
before it was broken, was having two event handlers for the same
event. I would expect that when I add the same id to event source of
two different frames, that they will both get the event handler (after
generating the source). Right now I create them manually when I need
them elsewhere, but it would be nice if Dialogblocks could do that.
>
> Best regards,
>
> Julian
>
.