Buenas tardes tengo un problema, no sé aplica el UI Them de powerbuilder 2021 al momento de abrir la aplicación en el cliente a pesar que lo he configurado como dice la documentación al respecto.
He colocado esta línea en el opende mi window principal y que es heredada por otros windows
ApplyTheme(".\Themes\Flat Design Silver") y en mi aplicación lo he configurado en propiedades adicionales.
Si a alguién le pasó lo mismo y lo solucionó por favor su ayuda, pasa en cualquier versión de windows.
FWIW: I can do an ApplyTheme() command at anytime and anywhere within an STD Framework based App and it activates the new Theme right away with no App issues. Of course, you still need to restart your PB App when turning themes off. ;-)
It would be interesting to hear back though from other Theme based PB App developers on there experiences.
Regards ... Chris
As per Powerbuilder Reference @
https://docs.appeon.com/pb2021/powerscript_reference/ApplyTheme_func.html#:~:text=The%20ApplyTheme%20method%20should%20be%20called%20when%20all,precedence%20over%20those%20selected%20in%20the%20PowerBuilder%20painter.
**************************************************************
It's usage part
Usage
The ApplyTheme method should be called when all windows are closed, for example, it can be called in the Application Open event when all of the child windows are not yet opened.
The theme path and name set by the ApplyTheme function takes precedence over those selected in the PowerBuilder painter. See the following code examples for illustration.
*****************************************************************
So far we haven't here tried it setting in any other window, except application open event.