From: Sieghard <s_...@ar...> - 2024-05-18 16:10:30
|
Hello Fred, you wrote on Sat, 18 May 2024 00:18:53 +0000: > About "msefiledialogx", of course don't hesitate to adapt it as you wish, > it's an honor for him. Well, I got a little tired of the "work" by now. It's a bit tedious chasing after all the inconsistencies and issues caused by replanting the state variables, and there are a couple other issues to be fixed as well. In addition, some time ago alreadyI had found some places where the code could have been simplified apreciately by using appropriate data structures. Most of this is in place now, and it seems to - mostly - work, although I couldn't test all the implcations of the modifications. This specifically applies to the free-standing "filedialogx" functions and the "tfilenameeditx" component family for internal use. They probabely will have to be modified to create a "tfiledialogxfo" intance by themselves, as there's no good way to pass any layout or state information through the controller barrier. > >BTW: are you sure of the file type name “.dylib”? Or should it be > >".dynlib", which makes more sense to me? > > Hmm, that's Apple's logic. The suffix of a dynamic library on OSX is > ".dylib". Ok, if it is meant to be so, then be it so. I just wondered about the name. I put a new file on my web site, "newmsefiledialogx.zip", containing an INTERMEDIATE TESTING version of your modified filedialogx for testing and review, and of course to uncover problems that escaped me yet. If you can find some time to look it through, please post your critique and findings for me to fix the issues. I've included - as a subdirectory - a simple and yet unfinished, but mostly functioning test project named "TextView". As the name implies, it's just a simple program to inspect text files, and meant to make use of the file dialog in this case. Hope to read your findings soon, but don't hurry, and have a nice weekend! -- (Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem) ----------------------------------------------------------- Mit freundlichen Grüßen, S. Schicktanz ----------------------------------------------------------- |