Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Andrew on Jul 15, 2008 13:26
open dhtmlx forum
dhtmlxtoolbar TwoStateButton "pressedState"

I am loading the toolbar from an XML file and in it I am creating two TwoStateButtons. However I am having an issue with the pressedState="true" not triggering the button to look "pressed" when the page first loads.

Here is my XML

<TwoStateButton id="toolbar_btn1" src="image1.gif" height="25px" width="25px" tooltip="tooltip" pressedState="true"/>
<TwoStateButton id="toolbar_btn2" src="image2.gif" height="25px" width="25px" tooltip="tooltip" pressedState="false"/>

I looked in the API documentation, is this the correct way to declare this type of button?
Also is there more up to date documentation avaliable then the online docs? It seems a lot of features are left out or undocumented.

Answer posted by Support on Jul 16, 2008 02:51
Problem confirmed and fixed, please use attached js file instead of original one.
Attachments (1)