B4J Question Problem with ReplacementTitleBar

behnam_tr

Active Member
Licensed User
Longtime User

I use this library in my forms
But I have a problem and it bothers me!!

When the form is open and I minimize it and open another software, I have no problem

But when the form is open and I don't minimize it and I go to the desktop(With Alt+Tab Or Show Desktop In Taskbar) to open another file or software, the b4j form reappears.

I hope you understand what I mean
**There is no problem with the default titlebar in b4j.

Thank you for your guidance.
 

stevel05

Expert
Licensed User
Longtime User
I don't see that behaviour. Have you set the form to be AlwaysOnTop ?
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
OK I can see what you mean. I think because they are not 'System' windows as the Style is transparent, they do not get any messages from the OS that tells the window it should be minimized. I can't see a way round that.
 
Upvote 0

behnam_tr

Active Member
Licensed User
Longtime User
OK I can see what you mean. I think because they are not 'System' windows as the Style is transparent, they do not get any messages from the OS that tells the window it should be minimized. I can't see a way round that.
Is there no event to detect this state? After that, it can be minimized manually
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
Not that I can see, I did try the Iconified listener in the FormUtils module, feel free to try it yourself. But nothing was received, which leads me to assume the response in post 4 is likely.
 
Upvote 0
Top