Hello Fred, you wrote on Tue, 14 May 2024 14:01:30 +0000:
> Hum, sorry but I dont catch what you mean. Well, the matter IS a bit convoluted... I was probabely side-tracked and got lost a bit in the intircasies of statfile handling... > Here, with the "original" filedialogx, when you change the layout (and > assigned a stat file for the component), it is saved. Of course the Yes, I could reproduce that, and now I can also produce that with the working version (!) of my "newdialogs" filedialogx. But only if it's NOT called as a stand-alone form, yet. I WILL have to pursue this further, but I think the remaining problem can be solved. > position is saved too. So, if you want to assign a custom position, imho, > the easier is to use tfiledialogxfo.oneventloopstart() and change the > position there: Well, that's not the reason. My previous problem was caused by something quite primitive - in the course of testing different approaches, I had simply lost a function setting an arbitrary filename for the statfile, and kept trying to "convince" the code to save to the right file at several other places. Stupid attempts, but I missed the primary cause all the time. > Something like this (of course dummy code): Thank you for your attempt, but it's not needed to dig so deep. > But sureley I miss something. THe one who missed something was me in this case. But I still want to plea for a measure that obviates the, not just dupli-, but even multiplication of the layout state values (not just variables, as some of them are GUI elements) through the introduction of a call back from the form to the controller. This looks much cleaner to me, and it keeps the structure much closer to the original file dialog code. Still, there seems to be quite a bit of work to be done yet, but I will continue to get it running the way I want. Stay tuned! Best wishes for all your undertakings! -- (Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem) ----------------------------------------------------------- Mit freundlichen Grüßen, S. Schicktanz ----------------------------------------------------------- _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk