Also Toolbars, Statubar and probably some more others controls are not included at "Control Order" management for changing control position.
FMG file example to be tested:
Code: Select all
DEFINE WINDOW TEMPLATE AT 132 , 235 WIDTH 560 HEIGHT 400 VIRTUAL WIDTH Nil VIRTUAL HEIGHT Nil TITLE "Hello ToolBar!!!" ICON NIL MAIN CURSOR NIL ON INIT Nil ON RELEASE Nil ON INTERACTIVECLOSE Nil ON MOUSECLICK Nil ON MOUSEDRAG Nil ON MOUSEMOVE Nil ON SIZE Nil ON MAXIMIZE Nil ON MINIMIZE Nil ON PAINT Nil BACKCOLOR NIL NOTIFYICON NIL NOTIFYTOOLTIP NIL ON NOTIFYCLICK Nil ON GOTFOCUS Nil ON LOSTFOCUS Nil ON SCROLLUP Nil ON SCROLLDOWN Nil ON SCROLLLEFT Nil ON SCROLLRIGHT Nil ON HSCROLLBOX Nil ON VSCROLLBOX Nil
DEFINE TOOLBAR ToolBar_1 BUTTONSIZE 85,85 FONT "Arial" SIZE 9 FLAT BORDER
BUTTON button1 CAPTION "Button 1" PICTURE "button1.bmp" ACTION MsgInfo("1") TOOLTIP "ToolTip 1" GROUP
BUTTON button2 CAPTION "Button 2" PICTURE "button2.bmp" ACTION MsgInfo("2") TOOLTIP "ToolTip 2"
BUTTON button3 CAPTION "Button 3" PICTURE "button3.bmp" ACTION MsgInfo("3") TOOLTIP "ToolTip 3"
END TOOLBAR
DEFINE TOOLBAR ToolBar_2 BUTTONSIZE 160,80 FONT "Arial" SIZE 9 BOTTOM RIGHTTEXT BORDER
BUTTON button4 CAPTION "Button 4" PICTURE "button1.bmp" ACTION MsgInfo("1") TOOLTIP "ToolTip 1" GROUP
BUTTON button5 CAPTION "Button 5" PICTURE "button2.bmp" ACTION MsgInfo("2") TOOLTIP "ToolTip 2"
BUTTON button6 CAPTION "Button 6" PICTURE "button3.bmp" ACTION MsgInfo("3") TOOLTIP "ToolTip 3"
END TOOLBAR
DEFINE STATUSBAR FONT "Arial" SIZE 9
STATUSITEM "Item 1" ACTION MsgInfo("Item 1")
STATUSITEM "Item 2" WIDTH 50
CLOCK
STATUSITEM "Item 3" WIDTH 100
END STATUSBAR
DEFINE FRAME Frame_1
ROW 110
COL 130
WIDTH 250
HEIGHT 110
FONTNAME "Arial"
FONTSIZE 9
FONTBOLD .F.
FONTITALIC .F.
FONTUNDERLINE .F.
FONTSTRIKEOUT .F.
CAPTION "Note:"
BACKCOLOR NIL
FONTCOLOR NIL
OPAQUE .T.
END FRAME
DEFINE LABEL Label_1
ROW 160
COL 170
WIDTH 160
HEIGHT 20
VALUE "This Window Has a ToolBar!"
FONTNAME "Arial"
FONTSIZE 9
TOOLTIP ""
FONTBOLD .F.
FONTITALIC .F.
FONTUNDERLINE .F.
FONTSTRIKEOUT .F.
HELPID Nil
VISIBLE .T.
TRANSPARENT .F.
ACTION Nil
AUTOSIZE .F.
BACKCOLOR NIL
FONTCOLOR NIL
END LABEL
END WINDOW