mirror of
https://github.com/KeymonSoft/Medicomed_Preventa.git
synced 2026-04-20 22:39:14 +00:00
Version: 4:11:02
Se arrglo el resumen dia, ahora puedes entrar sin necesidad de hacer algun pedido sin que truene, se muestra la cantidad de clientes visitados sin importar si tienen o no tienen venta y tambien se le agrego la cantidad de clientes que si tienen venta.
This commit is contained in:
@@ -10,8 +10,7 @@ private static xuiviewsutils mostCurrent = new xuiviewsutils();
|
||||
public static Object getObject() {
|
||||
throw new RuntimeException("Code module does not support this method.");
|
||||
}
|
||||
|
||||
public anywheresoftware.b4a.keywords.Common __c = null;
|
||||
public anywheresoftware.b4a.keywords.Common __c = null;
|
||||
public static boolean _utilsinitialized = false;
|
||||
public static anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
|
||||
public b4a.example.dateutils _dateutils = null;
|
||||
@@ -25,196 +24,134 @@ public keymon.lat.medicomed.newinst2 _newinst2 = null;
|
||||
public keymon.lat.medicomed.b4xpages _b4xpages = null;
|
||||
public keymon.lat.medicomed.b4xcollections _b4xcollections = null;
|
||||
public keymon.lat.medicomed.httputils2service _httputils2service = null;
|
||||
public static String _performhapticfeedback(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _view) throws Exception{
|
||||
RDebugUtils.currentModule="xuiviewsutils";
|
||||
if (Debug.shouldDelegate(null, "performhapticfeedback", true))
|
||||
{return ((String) Debug.delegate(null, "performhapticfeedback", new Object[] {_ba,_view}));}
|
||||
anywheresoftware.b4j.object.JavaObject _jo = null;
|
||||
RDebugUtils.currentLine=64880640;
|
||||
//BA.debugLineNum = 64880640;BA.debugLine="Public Sub PerformHapticFeedback (View As B4XView)";
|
||||
RDebugUtils.currentLine=64880641;
|
||||
//BA.debugLineNum = 64880641;BA.debugLine="Initialize";
|
||||
_initialize(_ba);
|
||||
RDebugUtils.currentLine=64880643;
|
||||
//BA.debugLineNum = 64880643;BA.debugLine="Dim jo As JavaObject = View";
|
||||
_jo = new anywheresoftware.b4j.object.JavaObject();
|
||||
_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_view.getObject()));
|
||||
RDebugUtils.currentLine=64880644;
|
||||
//BA.debugLineNum = 64880644;BA.debugLine="jo.RunMethod(\"performHapticFeedback\", Array(1))";
|
||||
_jo.RunMethod("performHapticFeedback",new Object[]{(Object)(1)});
|
||||
RDebugUtils.currentLine=64880650;
|
||||
//BA.debugLineNum = 64880650;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public static String _settextorcsbuildertolabel(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{
|
||||
RDebugUtils.currentModule="xuiviewsutils";
|
||||
if (Debug.shouldDelegate(null, "settextorcsbuildertolabel", true))
|
||||
{return ((String) Debug.delegate(null, "settextorcsbuildertolabel", new Object[] {_ba,_xlbl,_text}));}
|
||||
RDebugUtils.currentLine=65011712;
|
||||
//BA.debugLineNum = 65011712;BA.debugLine="Public Sub SetTextOrCSBuilderToLabel(xlbl As B4XVi";
|
||||
RDebugUtils.currentLine=65011714;
|
||||
//BA.debugLineNum = 65011714;BA.debugLine="xlbl.Text = Text";
|
||||
_xlbl.setText(BA.ObjectToCharSequence(_text));
|
||||
RDebugUtils.currentLine=65011724;
|
||||
//BA.debugLineNum = 65011724;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public static String _addstubtoclvifneeded(anywheresoftware.b4a.BA _ba,b4a.example3.customlistview _customlistview1,int _color) throws Exception{
|
||||
RDebugUtils.currentModule="xuiviewsutils";
|
||||
if (Debug.shouldDelegate(null, "addstubtoclvifneeded", true))
|
||||
{return ((String) Debug.delegate(null, "addstubtoclvifneeded", new Object[] {_ba,_customlistview1,_color}));}
|
||||
b4a.example3.customlistview._clvitem _lastitem = null;
|
||||
anywheresoftware.b4a.objects.B4XViewWrapper _p = null;
|
||||
int _height = 0;
|
||||
RDebugUtils.currentLine=64946176;
|
||||
//BA.debugLineNum = 64946176;BA.debugLine="Public Sub AddStubToCLVIfNeeded(CustomListView1 As";
|
||||
RDebugUtils.currentLine=64946177;
|
||||
//BA.debugLineNum = 64946177;BA.debugLine="If CustomListView1.Size = 0 Then Return";
|
||||
//BA.debugLineNum = 34;BA.debugLine="Public Sub AddStubToCLVIfNeeded(CustomListView1 As";
|
||||
//BA.debugLineNum = 35;BA.debugLine="If CustomListView1.Size = 0 Then Return";
|
||||
if (_customlistview1._getsize()==0) {
|
||||
if (true) return "";};
|
||||
RDebugUtils.currentLine=64946178;
|
||||
//BA.debugLineNum = 64946178;BA.debugLine="Dim LastItem As CLVItem = CustomListView1.GetRawL";
|
||||
//BA.debugLineNum = 36;BA.debugLine="Dim LastItem As CLVItem = CustomListView1.GetRawL";
|
||||
_lastitem = _customlistview1._getrawlistitem((int) (_customlistview1._getsize()-1));
|
||||
RDebugUtils.currentLine=64946179;
|
||||
//BA.debugLineNum = 64946179;BA.debugLine="If LastItem.Offset + LastItem.Panel.Height < Cust";
|
||||
//BA.debugLineNum = 37;BA.debugLine="If LastItem.Offset + LastItem.Panel.Height < Cust";
|
||||
if (_lastitem.Offset+_lastitem.Panel.getHeight()<_customlistview1._asview().getHeight()) {
|
||||
RDebugUtils.currentLine=64946181;
|
||||
//BA.debugLineNum = 64946181;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"stub\")";
|
||||
//BA.debugLineNum = 39;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"stub\")";
|
||||
_p = new anywheresoftware.b4a.objects.B4XViewWrapper();
|
||||
_p = _xui.CreatePanel((_ba.processBA == null ? _ba : _ba.processBA),"stub");
|
||||
RDebugUtils.currentLine=64946182;
|
||||
//BA.debugLineNum = 64946182;BA.debugLine="p.Color = Color";
|
||||
//BA.debugLineNum = 40;BA.debugLine="p.Color = Color";
|
||||
_p.setColor(_color);
|
||||
RDebugUtils.currentLine=64946183;
|
||||
//BA.debugLineNum = 64946183;BA.debugLine="Dim Height As Int = CustomListView1.AsView.Heigh";
|
||||
//BA.debugLineNum = 41;BA.debugLine="Dim Height As Int = CustomListView1.AsView.Heigh";
|
||||
_height = (int) (_customlistview1._asview().getHeight()-_lastitem.Offset-_lastitem.Panel.getHeight()-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (3)));
|
||||
RDebugUtils.currentLine=64946184;
|
||||
//BA.debugLineNum = 64946184;BA.debugLine="If xui.IsB4J Then Height = Height + 5";
|
||||
//BA.debugLineNum = 42;BA.debugLine="If xui.IsB4J Then Height = Height + 5";
|
||||
if (_xui.getIsB4J()) {
|
||||
_height = (int) (_height+5);};
|
||||
RDebugUtils.currentLine=64946185;
|
||||
//BA.debugLineNum = 64946185;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, CustomListView1.AsV";
|
||||
//BA.debugLineNum = 43;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, CustomListView1.AsV";
|
||||
_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_customlistview1._asview().getWidth(),_height);
|
||||
RDebugUtils.currentLine=64946186;
|
||||
//BA.debugLineNum = 64946186;BA.debugLine="CustomListView1.Add(p, \"\")";
|
||||
//BA.debugLineNum = 44;BA.debugLine="CustomListView1.Add(p, \"\")";
|
||||
_customlistview1._add(_p,(Object)(""));
|
||||
RDebugUtils.currentLine=64946187;
|
||||
//BA.debugLineNum = 64946187;BA.debugLine="CustomListView1.sv.ScrollViewContentHeight = Cus";
|
||||
//BA.debugLineNum = 45;BA.debugLine="CustomListView1.sv.ScrollViewContentHeight = Cus";
|
||||
_customlistview1._sv.setScrollViewContentHeight((int) (_customlistview1._sv.getScrollViewContentHeight()-_customlistview1._getdividersize()));
|
||||
};
|
||||
RDebugUtils.currentLine=64946189;
|
||||
//BA.debugLineNum = 64946189;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public static String _setbitmapandfill(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _imageview,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{
|
||||
RDebugUtils.currentModule="xuiviewsutils";
|
||||
if (Debug.shouldDelegate(null, "setbitmapandfill", true))
|
||||
{return ((String) Debug.delegate(null, "setbitmapandfill", new Object[] {_ba,_imageview,_bmp}));}
|
||||
anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null;
|
||||
RDebugUtils.currentLine=65077248;
|
||||
//BA.debugLineNum = 65077248;BA.debugLine="Public Sub SetBitmapAndFill (ImageView As B4XView,";
|
||||
RDebugUtils.currentLine=65077249;
|
||||
//BA.debugLineNum = 65077249;BA.debugLine="ImageView.SetBitmap(Bmp)";
|
||||
_imageview.SetBitmap((android.graphics.Bitmap)(_bmp.getObject()));
|
||||
RDebugUtils.currentLine=65077250;
|
||||
//BA.debugLineNum = 65077250;BA.debugLine="Dim iiv As ImageView = ImageView";
|
||||
_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper();
|
||||
_iiv = (anywheresoftware.b4a.objects.ImageViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ImageViewWrapper(), (android.widget.ImageView)(_imageview.getObject()));
|
||||
RDebugUtils.currentLine=65077252;
|
||||
//BA.debugLineNum = 65077252;BA.debugLine="iiv.Gravity = Gravity.FILL";
|
||||
_iiv.setGravity(anywheresoftware.b4a.keywords.Common.Gravity.FILL);
|
||||
RDebugUtils.currentLine=65077258;
|
||||
//BA.debugLineNum = 65077258;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public static String _setalpha(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _view,float _level) throws Exception{
|
||||
RDebugUtils.currentModule="xuiviewsutils";
|
||||
if (Debug.shouldDelegate(null, "setalpha", true))
|
||||
{return ((String) Debug.delegate(null, "setalpha", new Object[] {_ba,_view,_level}));}
|
||||
anywheresoftware.b4j.object.JavaObject _jo = null;
|
||||
float _alpha = 0f;
|
||||
RDebugUtils.currentLine=65273856;
|
||||
//BA.debugLineNum = 65273856;BA.debugLine="Public Sub SetAlpha (View As B4XView, Level As Flo";
|
||||
RDebugUtils.currentLine=65273858;
|
||||
//BA.debugLineNum = 65273858;BA.debugLine="Dim jo As JavaObject = View";
|
||||
_jo = new anywheresoftware.b4j.object.JavaObject();
|
||||
_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_view.getObject()));
|
||||
RDebugUtils.currentLine=65273859;
|
||||
//BA.debugLineNum = 65273859;BA.debugLine="Dim alpha As Float = Level";
|
||||
_alpha = _level;
|
||||
RDebugUtils.currentLine=65273860;
|
||||
//BA.debugLineNum = 65273860;BA.debugLine="jo.RunMethod(\"setAlpha\", Array(alpha))";
|
||||
_jo.RunMethod("setAlpha",new Object[]{(Object)(_alpha)});
|
||||
RDebugUtils.currentLine=65273868;
|
||||
//BA.debugLineNum = 65273868;BA.debugLine="End Sub";
|
||||
//BA.debugLineNum = 47;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public static keymon.lat.medicomed.b4ximageview _createb4ximageview(anywheresoftware.b4a.BA _ba) throws Exception{
|
||||
RDebugUtils.currentModule="xuiviewsutils";
|
||||
if (Debug.shouldDelegate(null, "createb4ximageview", true))
|
||||
{return ((keymon.lat.medicomed.b4ximageview) Debug.delegate(null, "createb4ximageview", new Object[] {_ba}));}
|
||||
keymon.lat.medicomed.b4ximageview _iv = null;
|
||||
anywheresoftware.b4a.objects.B4XViewWrapper _base = null;
|
||||
RDebugUtils.currentLine=65208320;
|
||||
//BA.debugLineNum = 65208320;BA.debugLine="Public Sub CreateB4XImageView As B4XImageView";
|
||||
RDebugUtils.currentLine=65208321;
|
||||
//BA.debugLineNum = 65208321;BA.debugLine="Dim iv As B4XImageView";
|
||||
//BA.debugLineNum = 85;BA.debugLine="Public Sub CreateB4XImageView As B4XImageView";
|
||||
//BA.debugLineNum = 86;BA.debugLine="Dim iv As B4XImageView";
|
||||
_iv = new keymon.lat.medicomed.b4ximageview();
|
||||
RDebugUtils.currentLine=65208322;
|
||||
//BA.debugLineNum = 65208322;BA.debugLine="iv.Initialize(Null, \"\")";
|
||||
_iv._initialize /*String*/ (null,_ba,anywheresoftware.b4a.keywords.Common.Null,"");
|
||||
RDebugUtils.currentLine=65208323;
|
||||
//BA.debugLineNum = 65208323;BA.debugLine="Dim base As B4XView = xui.CreatePanel(\"\")";
|
||||
//BA.debugLineNum = 87;BA.debugLine="iv.Initialize(Null, \"\")";
|
||||
_iv._initialize /*String*/ (_ba,anywheresoftware.b4a.keywords.Common.Null,"");
|
||||
//BA.debugLineNum = 88;BA.debugLine="Dim base As B4XView = xui.CreatePanel(\"\")";
|
||||
_base = new anywheresoftware.b4a.objects.B4XViewWrapper();
|
||||
_base = _xui.CreatePanel((_ba.processBA == null ? _ba : _ba.processBA),"");
|
||||
RDebugUtils.currentLine=65208324;
|
||||
//BA.debugLineNum = 65208324;BA.debugLine="base.SetLayoutAnimated(0, 0, 0, 100dip, 100dip)";
|
||||
//BA.debugLineNum = 89;BA.debugLine="base.SetLayoutAnimated(0, 0, 0, 100dip, 100dip)";
|
||||
_base.SetLayoutAnimated((int) (0),(int) (0),(int) (0),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (100)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (100)));
|
||||
RDebugUtils.currentLine=65208325;
|
||||
//BA.debugLineNum = 65208325;BA.debugLine="iv.DesignerCreateView(base, Null, CreateMap(\"Roun";
|
||||
_iv._designercreateview /*String*/ (null,(Object)(_base.getObject()),(anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(anywheresoftware.b4a.keywords.Common.Null)),anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("Round"),(Object)(anywheresoftware.b4a.keywords.Common.False),(Object)("ResizeMode"),(Object)("FIT"),(Object)("BackgroundColor"),(Object)(((int)0xffaaaaaa)),(Object)("CornersRadius"),(Object)(0)}));
|
||||
RDebugUtils.currentLine=65208326;
|
||||
//BA.debugLineNum = 65208326;BA.debugLine="Return iv";
|
||||
//BA.debugLineNum = 90;BA.debugLine="iv.DesignerCreateView(base, Null, CreateMap(\"Roun";
|
||||
_iv._designercreateview /*String*/ ((Object)(_base.getObject()),(anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(anywheresoftware.b4a.keywords.Common.Null)),anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("Round"),(Object)(anywheresoftware.b4a.keywords.Common.False),(Object)("ResizeMode"),(Object)("FIT"),(Object)("BackgroundColor"),(Object)(((int)0xffaaaaaa)),(Object)("CornersRadius"),(Object)(0)}));
|
||||
//BA.debugLineNum = 91;BA.debugLine="Return iv";
|
||||
if (true) return _iv;
|
||||
RDebugUtils.currentLine=65208327;
|
||||
//BA.debugLineNum = 65208327;BA.debugLine="End Sub";
|
||||
//BA.debugLineNum = 92;BA.debugLine="End Sub";
|
||||
return null;
|
||||
}
|
||||
public static anywheresoftware.b4a.objects.B4XViewWrapper _createlabel(anywheresoftware.b4a.BA _ba) throws Exception{
|
||||
RDebugUtils.currentModule="xuiviewsutils";
|
||||
if (Debug.shouldDelegate(null, "createlabel", true))
|
||||
{return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(null, "createlabel", new Object[] {_ba}));}
|
||||
anywheresoftware.b4a.objects.LabelWrapper _lbl = null;
|
||||
RDebugUtils.currentLine=65142784;
|
||||
//BA.debugLineNum = 65142784;BA.debugLine="Public Sub CreateLabel As B4XView";
|
||||
RDebugUtils.currentLine=65142785;
|
||||
//BA.debugLineNum = 65142785;BA.debugLine="Dim lbl As Label";
|
||||
//BA.debugLineNum = 78;BA.debugLine="Public Sub CreateLabel As B4XView";
|
||||
//BA.debugLineNum = 79;BA.debugLine="Dim lbl As Label";
|
||||
_lbl = new anywheresoftware.b4a.objects.LabelWrapper();
|
||||
RDebugUtils.currentLine=65142786;
|
||||
//BA.debugLineNum = 65142786;BA.debugLine="lbl.Initialize(\"\")";
|
||||
//BA.debugLineNum = 80;BA.debugLine="lbl.Initialize(\"\")";
|
||||
_lbl.Initialize(_ba,"");
|
||||
RDebugUtils.currentLine=65142787;
|
||||
//BA.debugLineNum = 65142787;BA.debugLine="Return lbl";
|
||||
//BA.debugLineNum = 81;BA.debugLine="Return lbl";
|
||||
if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject()));
|
||||
RDebugUtils.currentLine=65142788;
|
||||
//BA.debugLineNum = 65142788;BA.debugLine="End Sub";
|
||||
//BA.debugLineNum = 82;BA.debugLine="End Sub";
|
||||
return null;
|
||||
}
|
||||
public static String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{
|
||||
RDebugUtils.currentModule="xuiviewsutils";
|
||||
if (Debug.shouldDelegate(null, "initialize", true))
|
||||
{return ((String) Debug.delegate(null, "initialize", new Object[] {_ba}));}
|
||||
RDebugUtils.currentLine=64815104;
|
||||
//BA.debugLineNum = 64815104;BA.debugLine="Private Sub Initialize";
|
||||
RDebugUtils.currentLine=64815105;
|
||||
//BA.debugLineNum = 64815105;BA.debugLine="If UtilsInitialized Then Return";
|
||||
//BA.debugLineNum = 10;BA.debugLine="Private Sub Initialize";
|
||||
//BA.debugLineNum = 11;BA.debugLine="If UtilsInitialized Then Return";
|
||||
if (_utilsinitialized) {
|
||||
if (true) return "";};
|
||||
RDebugUtils.currentLine=64815106;
|
||||
//BA.debugLineNum = 64815106;BA.debugLine="UtilsInitialized = True";
|
||||
//BA.debugLineNum = 12;BA.debugLine="UtilsInitialized = True";
|
||||
_utilsinitialized = anywheresoftware.b4a.keywords.Common.True;
|
||||
RDebugUtils.currentLine=64815113;
|
||||
//BA.debugLineNum = 64815113;BA.debugLine="End Sub";
|
||||
//BA.debugLineNum = 19;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
}
|
||||
public static String _performhapticfeedback(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _view) throws Exception{
|
||||
anywheresoftware.b4j.object.JavaObject _jo = null;
|
||||
//BA.debugLineNum = 21;BA.debugLine="Public Sub PerformHapticFeedback (View As B4XView)";
|
||||
//BA.debugLineNum = 22;BA.debugLine="Initialize";
|
||||
_initialize(_ba);
|
||||
//BA.debugLineNum = 24;BA.debugLine="Dim jo As JavaObject = View";
|
||||
_jo = new anywheresoftware.b4j.object.JavaObject();
|
||||
_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_view.getObject()));
|
||||
//BA.debugLineNum = 25;BA.debugLine="jo.RunMethod(\"performHapticFeedback\", Array(1))";
|
||||
_jo.RunMethod("performHapticFeedback",new Object[]{(Object)(1)});
|
||||
//BA.debugLineNum = 31;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public static String _process_globals() throws Exception{
|
||||
//BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals";
|
||||
//BA.debugLineNum = 6;BA.debugLine="Private UtilsInitialized As Boolean";
|
||||
_utilsinitialized = false;
|
||||
//BA.debugLineNum = 7;BA.debugLine="Private xui As XUI";
|
||||
_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI();
|
||||
//BA.debugLineNum = 8;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public static String _setalpha(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _view,float _level) throws Exception{
|
||||
anywheresoftware.b4j.object.JavaObject _jo = null;
|
||||
float _alpha = 0f;
|
||||
//BA.debugLineNum = 95;BA.debugLine="Public Sub SetAlpha (View As B4XView, Level As Flo";
|
||||
//BA.debugLineNum = 97;BA.debugLine="Dim jo As JavaObject = View";
|
||||
_jo = new anywheresoftware.b4j.object.JavaObject();
|
||||
_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_view.getObject()));
|
||||
//BA.debugLineNum = 98;BA.debugLine="Dim alpha As Float = Level";
|
||||
_alpha = _level;
|
||||
//BA.debugLineNum = 99;BA.debugLine="jo.RunMethod(\"setAlpha\", Array(alpha))";
|
||||
_jo.RunMethod("setAlpha",new Object[]{(Object)(_alpha)});
|
||||
//BA.debugLineNum = 107;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public static String _setbitmapandfill(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _imageview,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{
|
||||
anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null;
|
||||
//BA.debugLineNum = 65;BA.debugLine="Public Sub SetBitmapAndFill (ImageView As B4XView,";
|
||||
//BA.debugLineNum = 66;BA.debugLine="ImageView.SetBitmap(Bmp)";
|
||||
_imageview.SetBitmap((android.graphics.Bitmap)(_bmp.getObject()));
|
||||
//BA.debugLineNum = 67;BA.debugLine="Dim iiv As ImageView = ImageView";
|
||||
_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper();
|
||||
_iiv = (anywheresoftware.b4a.objects.ImageViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ImageViewWrapper(), (android.widget.ImageView)(_imageview.getObject()));
|
||||
//BA.debugLineNum = 69;BA.debugLine="iiv.Gravity = Gravity.FILL";
|
||||
_iiv.setGravity(anywheresoftware.b4a.keywords.Common.Gravity.FILL);
|
||||
//BA.debugLineNum = 75;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
public static String _settextorcsbuildertolabel(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{
|
||||
//BA.debugLineNum = 50;BA.debugLine="Public Sub SetTextOrCSBuilderToLabel(xlbl As B4XVi";
|
||||
//BA.debugLineNum = 52;BA.debugLine="xlbl.Text = Text";
|
||||
_xlbl.setText(BA.ObjectToCharSequence(_text));
|
||||
//BA.debugLineNum = 62;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user