I have found a workaround but I am sure there is something designed to do it. I don't really like doing it this way, it does not seem right.
I use the following hook:
(A file or folder data card containing a list box or combo box is displayed).
Luckily, I have a combobox in my datacard so I can identify that the card is actually displayed/opened with it and run some code. I had an issue because I wanted to set some variables but noticed that not all of them were correctly updated. I solved the problem in adding a new combobox. I guess it loads last because it has a bigger control ID so the rest of the card is already loaded and ready to have its variables modified... Or maybe it is the position of the control on the datacard, I am not sure.
Does anyone have another idea?