How To Remove White Horizontal Line on PanelGadget?
How To Remove White Horizontal Line on PanelGadget?
As you all know, There's a very disturbing white horizontal line at the very right of the PanelGadget. It's not really visible to user eyes but my eyes doesn't like it . How do i remove it? I can't seem to find the way to do this with pure API and yes I've searched before. I only know how to remove it in VB.NET / C# since they are using .NET. I don't want to use .NET as it is a very big Framework. Please help me thank you.
Re: How To Remove White Horizontal Line on PanelGadget?
> There's a very disturbing white horizontal line at the very right of the PanelGadget
There is? Can you post a screenshot and point it out?
There is? Can you post a screenshot and point it out?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
Re: How To Remove White Horizontal Line on PanelGadget?
@PyroStrex Hi
If you mean the Vertical white line at the right edge
Use ContainerGadegt() with less width to hide it
See the next snippet
If you mean the Vertical white line at the right edge
Use ContainerGadegt() with less width to hide it
See the next snippet
Code: Select all
; Shows using of several panels...
If OpenWindow(0, 0, 0, 322, 220, "PanelGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ContainerGadget(0,8,8,304,203,#PB_Container_BorderLess)
PanelGadget (1, 0, 0, 306, 203)
AddGadgetItem (1, -1, "Panel 1")
PanelGadget (2, 5, 5, 290, 166)
AddGadgetItem(2, -1, "Sub-Panel 1")
AddGadgetItem(2, -1, "Sub-Panel 2")
AddGadgetItem(2, -1, "Sub-Panel 3")
CloseGadgetList()
AddGadgetItem (1, -1,"Panel 2")
ButtonGadget(3, 10, 15, 80, 24,"Button 1")
ButtonGadget(4, 95, 15, 80, 24,"Button 2")
CloseGadgetList()
CloseGadgetList()
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Egypt my love
Re: How To Remove White Horizontal Line on PanelGadget?
Here it is. It's only 1px width so yeah.. It is still disturbing to my eyes.
Re: How To Remove White Horizontal Line on PanelGadget?
Oh, I see. That's only on Windows 7.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
Re: How To Remove White Horizontal Line on PanelGadget?
Thank you so much RASHAD . It really works.
PB: In vista it doesn't show?
PB: In vista it doesn't show?
Re: How To Remove White Horizontal Line on PanelGadget?
I have XP and the whole style of PanelGadget is different.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
Re: How To Remove White Horizontal Line on PanelGadget?
It shows on Vista, but you have to look really hard to see it!
I may look like a mule, but I'm not a complete ass.