It is currently Tue Oct 20, 2020 4:02 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Tool window "Form" should have the flag #PB_Window_Tool
PostPosted: Sun Apr 10, 2016 7:04 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Jun 25, 2014 5:25 pm
Posts: 427
Location: Germany
The tool window "Form" should always be in the foreground.
In addition, it should be minimized, if I minimize the PB IDE.

Example:
Code:
OpenWindow(0, 0, 0, 600, 600, "PB-IDE", #PB_Window_ScreenCentered | #PB_Window_SystemMenu | #PB_Window_MinimizeGadget)
#ToolWindowWidth = 200
Define ToolWindowX = WindowX(0) + WindowWidth(0) - #ToolWindowWidth - 20
Define ToolWindowY = WindowY(0) + 50
OpenWindow(1, ToolWindowX, ToolWindowY, #ToolWindowWidth, 400, "ToolWindow_Form", #PB_Window_SystemMenu | #PB_Window_Tool, WindowID(0))

Repeat
  Event = WaitWindowEvent()
Until event = #PB_Event_CloseWindow

_________________
Image
Why OpenSource should have a license
PureBasic-CodeArchiv-Rebirth: Git-Repository / Download – Any help is welcome!
Manjaro Xfce x64 (Main system) :: WindowsXP/Xubuntu x86 (VirtualBox) :: PureBasic (Linux: x86/x64, Windows: x86) :: All are up to date


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye