Book a Demo

Author Topic: Reload project event  (Read 5308 times)

EXploringEA

  • EA User
  • **
  • Posts: 172
  • Karma: +8/-0
    • View Profile
Reload project event
« on: October 28, 2013, 01:57:57 am »
I've been looking through the events and can't find anything that is raised when a user performs a "Reload Project".

Checked potential candidates e.g. obvious File Open, context change etc
but nothing fired and can't see anything in readme file, so guess that it's purely internal - anyone aware of anything?


Thanks
EXploringEA - information, utilities and addins

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Reload project event
« Reply #1 on: October 28, 2013, 07:41:45 am »
Reload is equivalent to File Open. So that event should be fired (I guess).

q.

EXploringEA

  • EA User
  • **
  • Posts: 172
  • Karma: +8/-0
    • View Profile
Re: Reload project event
« Reply #2 on: October 28, 2013, 08:28:06 am »
That's what I thought but clearly isn't as the FileOpen event isn't being called.

I know the event is caught as I already use it for other stuff.

I guess they are not reopening the file just re-reading and their event is raised in the File open code. :(
EXploringEA - information, utilities and addins

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Reload project event
« Reply #3 on: October 28, 2013, 06:51:27 pm »
Shave and a haircut: Let us not lead the Sparxians into temptation here.

It should be a separate event, not Close-followed-by-Open.
My theories are always correct, just apply them to the right reality.

EXploringEA

  • EA User
  • **
  • Posts: 172
  • Karma: +8/-0
    • View Profile
Re: Reload project event
« Reply #4 on: October 28, 2013, 08:09:50 pm »
@uffe

Agree separate event is exactly what is needed for all key events
EXploringEA - information, utilities and addins

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Reload project event
« Reply #5 on: October 28, 2013, 08:30:16 pm »
Quote
Shave and a haircut: Let us not lead the Sparxians into temptation here.

It should be a separate event, not Close-followed-by-Open.
Does not work for bald persons ;D

q.