Author Topic: Dialog (Pseudo)Events - Experimental  (Read 680 times)

JTaylor

  • Pundit
  • *****
  • Posts: 1667
    • Data & Stuff Inc.
Re: Dialog (Pseudo)Events - Experimental
« Reply #35 on: March 24, 2021, 08:48:11 am »
Please turn on the LoseFocus option as well and see if GainFocus works like you think it should.   Something to do with only the one being on, I think, but I can't figure out why yet.

Jim

JTaylor

  • Pundit
  • *****
  • Posts: 1667
    • Data & Stuff Inc.
Re: Dialog (Pseudo)Events - Experimental
« Reply #36 on: March 24, 2021, 10:11:12 am »
Okay.  I decided that rather than fighting it, assuming what I did works, I would just make them both either on or off.  I kept two separate initialization options so as to make the event checking clear.  The Help File explains my reasoning.   I couldn't see why it was failing but then decided having the option for only one being on really wasn't necessary anyway.

    http://www.jtdata.com/anonymous/dialogex_events.zip

Please let me know if this resolves the problem.   Thanks.

Jim

kdmoyers

  • Sr. Member
  • ****
  • Posts: 411
Re: Dialog (Pseudo)Events - Experimental
« Reply #37 on: March 24, 2021, 01:38:54 pm »
Nailed it.  Both events work, either singly or together.  Rock solid too -- I can't trick it.
I'm going to go back to that old program and put this event in it.

Thanks so much for your efforts on this Jim !!!!
The mind is everything; What you think, you become.

kdmoyers

  • Sr. Member
  • ****
  • Posts: 411
Re: Dialog (Pseudo)Events - Experimental
« Reply #38 on: March 24, 2021, 01:50:35 pm »
Now we just need to convince Tony to use his spare time (har har, who has spare time?) to make a map of handles-to-names automatically available for dialog extender writers!  Then you could just return the control name!

Actually I'm just amazed that any of this is even possible.  Credit to Winbatch for making this sort of extensibility available.

-Kirby
The mind is everything; What you think, you become.

JTaylor

  • Pundit
  • *****
  • Posts: 1667
    • Data & Stuff Inc.
Re: Dialog (Pseudo)Events - Experimental
« Reply #39 on: March 24, 2021, 02:15:19 pm »
Yeah...the WinBatch folks are awesome.   

I did try to think of a way to get the Names but everything I considered ended up requiring the user to do something extra so stuck with the triggerlist option where one can submit the names up front.

One last, hopefully, overarching change before you start using it.   I have combined the dialog extender and domdata extender.  I often use both in the same project and this will also make things easier, I hope, on a number of fronts.

      http://www.jtdata.com/anonymous/wbOmnibus.zip

Obviously good to go back and run your test script again to make sure I didn't break anything.   Actually found a bug or two on other fronts, testing the changes, so that was good.

Jim

P.S. I GREATLY appreciate the time you have put in on helping with this project.  THANKS!!!

JTaylor

  • Pundit
  • *****
  • Posts: 1667
    • Data & Stuff Inc.
Re: Dialog (Pseudo)Events - Experimental
« Reply #40 on: March 24, 2021, 05:01:11 pm »
I also meant to say that was a clever use of the status bar functions to show event status/activity.

Jim

kdmoyers

  • Sr. Member
  • ****
  • Posts: 411
Re: Dialog (Pseudo)Events - Experimental
« Reply #41 on: March 25, 2021, 11:35:22 am »
Omnibus packaging is working fine for me.
The mind is everything; What you think, you become.

JTaylor

  • Pundit
  • *****
  • Posts: 1667
    • Data & Stuff Inc.
Re: Dialog (Pseudo)Events - Experimental
« Reply #42 on: March 25, 2021, 11:53:11 am »
Excellent.  Thanks.

Jim