Hi Brian, yup that looks correct - the UI structure in v3 is slightly different and icon is no longer assigned by style but by an icon="" attribute like you show there.
In v2 the entire button control was drawn with some code in the C++ back end but in v3 the button is drawn using all HTML with the icon being an <img> tag.
V3 uses a template mechanism to expand a single control tag out into a chunk of structured HTML, the template for a control is in a file name of the same name of the control in the \ui sub-folder. Like for example <moi:CommandButton> uses the template file CommandButton.htm to generate its internal HTML structure.
- Michael
|