I tested this code. DEFINE TOOLBAR is not functioning if the OF <owin> clausula is directed to oReBar!? function Main() local oWnd , oReBar , oFactor , nFactor , oBar , oMenu , oImagelist DEFINE WINDOW oWnd TITLE "Test ReBar" COLOR CLR_BLACK,CLR_LIGHTGRAY ...