Frame3DGadget()
Syntax
Result = Frame3DGadget(#Gadget, x, y, Width, Height, Text$ [, Flags])Description
Creates a Frame3D gadget in the current GadgetList. If #PB_Any is used as '#Gadget' parameter, the new gadget number will be returned as 'Result'. This kind of gadget is decorative only. The Text$ parameter is only valid is no borders are specfied, else it will be ignored. 'Flags' is optional and can be used to change the gadget frame:#PB_Frame3D_Single : Single sunken frame. #PB_Frame3D_Double : Double sunken frame. #PB_Frame3D_Flat : Flat frame.Note: As this Gadget is decorative only, GadgetToolTip() cannot be used. This Gadget also receives no events.
Example:If OpenWindow(0, 0, 0, 320, 250, "Frame3DGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) CreateGadgetList(WindowID(0)) Frame3DGadget(0, 10, 10, 300, 50, "Frame3DGadget Standard") Frame3DGadget(1, 10, 70, 300, 50, "", #PB_Frame3D_Single) Frame3DGadget(2, 10, 130, 300, 50, "", #PB_Frame3D_Double) Frame3DGadget(3, 10, 190, 300, 50, "", #PB_Frame3D_Flat) Repeat Until WaitWindowEvent() = #PB_Event_CloseWindow EndIf
Supported OS
All