On the other hand, the Frame3DGadget seems to have something like a grouping function, in contradiction to the PureBasic Help document. According to this document, the Frame3DGadget is only intended to have a decorative function. But in the Design View of the Form Designer, it is not possible to rearrange gadgets within a Form3DGadget. If you click on a gadget and try to move it, you move also the Frame3DGadget and sometimes other gadgets within the Frame3DGadget too. You can only move the gadgets if you move the Frame3DGadget to on other position. Please test the following example:
Code: Select all
Enumeration #PB_Compiler_EnumerationValue
#Window_0
EndEnumeration
Enumeration #PB_Compiler_EnumerationValue
#Text_0
#String_0
#Frame3D_0
EndEnumeration
Procedure InitWindow_0()
OpenWindow(#Window_0, 0, 0, 600, 400, "Test.pbf", #PB_Window_SystemMenu)
TextGadget(#Text_0, 150, 130, 180, 20, "Enter some text here:", #PB_Text_Border)
StringGadget(#String_0, 150, 160, 180, 20, "")
Frame3DGadget(#Frame3D_0, 110, 80, 280, 130, "")
EndProcedure