Hallo Fred van Stappen,
vous ecrit au Tue, 22 Mar 2022 14:44:57 +0000:
> > file name "formscanner_experimental.zip"
>
> Ok, tested and I get verigo...
You got _what_?
> With your formscanner it opens the way to a "totally dynamic po-mo"
> loader, no need to declare enums nor arrays of strings, all is done
Yes, that is the intended function.
> by your scanner. Well, of course it is much easier for the developer,
> no need to update the "captionproject.pas" unit.
By now, most of the scanning already works, disregarding a few "quirks"
that are missing yet, e.g. excluding the language names themselves or
providing a method for programmatically modifiable text items.
The translation function just presented a veritable obstacle - it
won't work, stubbornly crashing on some menu structure.
Unfortunately, the menus are quite special, a hierarchy of their own,
independent of all the other gui elements (which are desendents of
TComponent, while the menu elements are direct descendents of the basic
TObject only). This made the parser rather complex, and probabely is
the cause of the current stumbling block.
> May I ask you what is your idea to assign the captions of a selected
> language, should be still needed, like I do now, a procedure with the
> list of all the widget.captions to be changed?
If you want to present a selection of languages, it will be neccessary
to present a selection of languages, I think...
Well, yes, there has to be some means to find these names, and the
current method of a "translation" for a common name ("English") looks
pretty "cool". I'd like to keep that, if possible, so the current
function can be kept as is. Perhaps it might even be possible to add a
"default character set" to each language that is best suited for its
presentation. This might even be used to allow rendering the selection
entries with this character set as to be able to display them all in a
readable manner, independent of the currently selected main character
set.
But for now, getting the "formscanner" to work should be my main
activity in this area, I think.
--
(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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk