Jan 07, 2010, 6:55 AM
[CLOSED] [1.0] button's icon not displayed
Hi,
I create a button runtime on vbside and I set icon property to value "diskblack"; when I run it, it does not display the icon; but if I define the same icon on a button in makup then I see it also for my "runtime" button. What I have to do for ?
This my VB code.
Thanks in advance,
Paolo
I create a button runtime on vbside and I set icon property to value "diskblack"; when I run it, it does not display the icon; but if I define the same icon on a button in makup then I see it also for my "runtime" button. What I have to do for ?
This my VB code.
Dim PanDoc2 As New Panel
PanDoc2.Border = "true"
PanDoc2.Title = ""
PanDoc2.ID = "PANEL_1"
PanDoc2.AnchorHorizontal = "right"
PanDoc2.AnchorVertical = "20%"
Dim Campi As New Ext.Net.ColumnLayout
Dim Btn_Download As New Ext.Net.Button
Btn_Download.Icon = Icon.DiskBlack
Btn_Download.ID = "DOWN_1"
Btn_Download.ToolTip = "download"
Btn_Download.StyleSpec = "padding-top:10px;"
Dim PanDown As New Panel
PanDown.Border = False
PanDown.StyleSpec = "text-align:center;"
PanDown.Items.Add(Btn_Download)
Dim ColDown As New Ext.Net.LayoutColumn
ColDown.ColumnWidth = 0.07
ColDown.Items.Add(PanDown)
Campi.Columns.Add(ColDown)
PanDoc2.Items.Add(Campi)
Thanks in advance,
Paolo