Magma Expert Licensed User Longtime User Aug 28, 2022 #1 Hi there... I know that rules are rules... but sometimes need to bypass them... for example... I want .SetFormStyle("TRANSPARENT") for some minutes... but after that i want have a decorated window is that possible ... ? I know that if I set a style at window that is visible with a style not possible to change in runtime... but... For example if using inline JAVA ? Thanks in advance.
Hi there... I know that rules are rules... but sometimes need to bypass them... for example... I want .SetFormStyle("TRANSPARENT") for some minutes... but after that i want have a decorated window is that possible ... ? I know that if I set a style at window that is visible with a style not possible to change in runtime... but... For example if using inline JAVA ? Thanks in advance.
stevel05 Expert Licensed User Longtime User Aug 28, 2022 #2 It doesn't appear so. From the javadoc (javafx.stage.Stage) Style A stage has one of the following styles: StageStyle.DECORATED - a stage with a solid white background and platform decorations. StageStyle.UNDECORATED - a stage with a solid white background and no decorations. StageStyle.TRANSPARENT - a stage with a transparent background and no decorations. StageStyle.UTILITY - a stage with a solid white background and minimal platform decorations. The style must be initialized before the stage is made visible. Click to expand... You could use a second form then switch between the two. It depends on what you actually want to do with each form. Upvote 0
It doesn't appear so. From the javadoc (javafx.stage.Stage) Style A stage has one of the following styles: StageStyle.DECORATED - a stage with a solid white background and platform decorations. StageStyle.UNDECORATED - a stage with a solid white background and no decorations. StageStyle.TRANSPARENT - a stage with a transparent background and no decorations. StageStyle.UTILITY - a stage with a solid white background and minimal platform decorations. The style must be initialized before the stage is made visible. Click to expand... You could use a second form then switch between the two. It depends on what you actually want to do with each form.
Magma Expert Licensed User Longtime User Aug 28, 2022 #3 I was afraid that... ...but this is life... Upvote 0