buttonfield

Image gone After Focusing

人走茶凉 提交于 2019-12-31 05:10:21
问题 This is before focus state. It work fine. This is on focusing state. It work fine. This is after focus state. It occurred problem where the image gone. It works fine for the top right but top left image got problem. Here is my custom VerticalFieldManager : public class Custom_TopField extends HorizontalFieldManager implements FieldChangeListener { private Bitmap bg = Bitmap.getBitmapResource("header_bar.png"); private Bitmap download = Bitmap.getBitmapResource("btn_download.png"); private

How to store ButtonField in a datarow where the column is set for ButtonField

落爺英雄遲暮 提交于 2019-12-12 03:47:19
问题 consider the following code protected void Button1_Click(object sender, EventArgs e) { DataTable dt = new DataTable(); DataColumn dtCol = new DataColumn(); dtCol = new DataColumn("Name", typeof(string)); dt.Columns.Add(dtCol); dtCol = new DataColumn("Address", typeof(string)); dt.Columns.Add(dtCol); dtCol = new DataColumn("Account No", typeof(ButtonField)); dt.Columns.Add(dtCol); ButtonField bfname = new ButtonField { HeaderText = "Account No", DataTextField="Account No", Text = "Klik",

Image gone After Focusing

一笑奈何 提交于 2019-12-02 07:40:13
This is before focus state. It work fine. This is on focusing state. It work fine. This is after focus state. It occurred problem where the image gone. It works fine for the top right but top left image got problem. Here is my custom VerticalFieldManager : public class Custom_TopField extends HorizontalFieldManager implements FieldChangeListener { private Bitmap bg = Bitmap.getBitmapResource("header_bar.png"); private Bitmap download = Bitmap.getBitmapResource("btn_download.png"); private Bitmap downloadactive = Bitmap .getBitmapResource("btn_download_active.png"); private Bitmap refresh =