on 07-13-2012 8:49 AM
Hi All
In SBO8.82 PL07 there is a new EventType called
BoEventTypes.et_FORM_VISIBLE
Does anyone know what purpose this serves.. It seem to only happen on user-forms and after the normal et_FORM_LOAD, but other than that it does not seem to have any difference over the FORM_LOAD (I hoped for a minute it would expose the items on the User-form for easier integration but that turned out not to be the case)
Or is it something to do with the Default UDO forms?
***
Any1 have a clue as it is not documented in the SDK help yet...
btw. Same goes for the new
Application.FocusRestored property... Have no clue what that does either and again not documented 😞
Its as you say, a new event where you can access the item collection of the form. It gets triggered when the form is made visible, the problem could be that if SAP or other addon makes invisible and then visible an already loaded Form the event will trigger again, so make sure to add some "first_time_visible" bool variable to check this case....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rasmun,
In the past people often tried to access the form items during the form load. But at the time the FORM_LOAD event happened (for user forms) the Items collection was empty.
Most people work around the issue by using the associated menu events (when a user clicks on a menu we would capture the after click event to manipulate the now available Items collection).
Maybe it is for this purpose that this event was created.
Just check if the collection of the items has a count > 0 during that event and you will have a possible answer.
Best regards,
Pedro Magueija
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Very good question. Would like to know that, too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.