Turns out that adding the INIT DO and a few other tweeks has made all the 
difference!

Thanks everyone!

Here is the code that wound up working in the end:

Toolbar "MainBar"

    init do
        info = GetProgram()

        if info[5] = 4.800000 then do
            string_but1a = "buttons_48.bmp|230"
            string_but1b = "buttons_48.bmp|264"
            string_but1c = "buttons_48.bmp|298"
        end
        else do
            string_but1a = "bmp\\MainButtons.bmp|7"
            string_but1b = null
            string_but1c = null
        end
    enditem
    
    Button "Map Themes" icons: string_but1a, string_but1b, string_but1c Help: 
"Map Themes" Do
        runDbox("theme_Dbox")
    enditem          

endToolBar


~Tim Melko~



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Maptitude/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/Maptitude/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to