B4J Library Replacement TitleBar

behnam_tr

Active Member
Licensed User
Longtime User
Had an idea before I go out, try this one. If you are copying code into an existing project, you will need to copy the titlebar layout or turn off the Handle Resize Event option.
looks good.
now everythings is ok
thanks
 

stevel05

Expert
Licensed User
Longtime User
Update V1.4
  • Fixed a bug that stopped the titlebar taking the full width of the window particularly when dropped in a corner of the screen.
 

stevel05

Expert
Licensed User
Longtime User
Update V1.5
Added option to designer UsingStylesheet to stop colors being updated in code.​
Renamed class Popup to TB_Popup to minimize the risk of the same class being loaded in multiple libraries.​
Added Class TB_DSE containing : ClearAllStyles & AddStyleClass​
Added some styleclassnames to the views in the layouts​
Changed default icon​
Added width adjustment to layout to allow border all around the Rootpane​
Added ResetScreen Sub for use as panic mode if the titlebar becomes inaccessible.​
Added option to save and restore windowposition on shutdown / startup which maintains the Maximized property​
 

Cableguy

Expert
Licensed User
Longtime User
Update V1.5
Changed default icon​
is there a way to not show the icon in the titlebar only?
I plan to overlay a bigger logo (icon) over the titlebar, but I would like the icon (same image) to still be set into the taskbar
 

stevel05

Expert
Licensed User
Longtime User
Try TitleBarCV1.FormIcon.Visible = False
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…