Window Transparent but not the gadgets, possible?
Posted: Thu Oct 17, 2024 6:42 pm
Title says all 

- a basic to master the web -
https://forums.spiderbasic.com/
Code: Select all
OpenWindow(0, 0, 0, 222, 200, "", #PB_Window_ScreenCentered)
ButtonGadget(0, 10, 10, 200, 20, "Standard Button")
ButtonGadget(1, 10, 40, 200, 20, "Left Button", #PB_Button_Left)
ButtonGadget(2, 10, 70, 200, 20, "<b>Right Button</b>", #PB_Button_Right) ; Using HTML markup
ButtonGadget(3, 10,100, 200, 60, "Multiline Button (longer text gets automatically wrapped)", #PB_Button_MultiLine)
ButtonGadget(4, 10,170, 200, 20, "Toggle Button", #PB_Button_Toggle)
WID = WindowID(0)
! $(v_wid.element).css("background-color","transparent")
! $(v_wid.content).css("background-color","transparent")
! $(v_wid.contentFrame).css("background-color","transparent")
; or:
; ! $(v_wid.element).removeClass("spiderwindow")
; ! $(v_wid.contentFrame).removeClass("spiderwindow-content")