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:
IsR0d
2024-11-04 12:36:27 -06:00
parent 65319638b4
commit f9f3ff7d6e
545 changed files with 22807 additions and 103664 deletions

View File

@@ -10,7 +10,7 @@ public class b4xcombobox extends B4AClass.ImplB4AClass implements BA.SubDelegato
private static java.util.HashMap<String, java.lang.reflect.Method> htSubs;
private void innerInitialize(BA _ba) throws Exception {
if (ba == null) {
ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "keymon.lat.medicomed.b4xcombobox");
ba = new BA(_ba, this, htSubs, "keymon.lat.medicomed.b4xcombobox");
if (htSubs == null) {
ba.loadHtSubs(this.getClass());
htSubs = ba.htSubs;
@@ -23,14 +23,7 @@ public class b4xcombobox extends B4AClass.ImplB4AClass implements BA.SubDelegato
ba.raiseEvent2(null, true, "class_globals", false);
}
public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{
innerInitialize(_ba);
}
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
return BA.SubDelegator.SubNotFound;
}
public anywheresoftware.b4a.keywords.Common __c = null;
public anywheresoftware.b4a.keywords.Common __c = null;
public String _meventname = "";
public Object _mcallback = null;
public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null;
@@ -53,94 +46,136 @@ public keymon.lat.medicomed.b4xpages _b4xpages = null;
public keymon.lat.medicomed.b4xcollections _b4xcollections = null;
public keymon.lat.medicomed.httputils2service _httputils2service = null;
public keymon.lat.medicomed.xuiviewsutils _xuiviewsutils = null;
public String _base_resize(keymon.lat.medicomed.b4xcombobox __ref,double _width,double _height) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xcombobox";
if (Debug.shouldDelegate(ba, "base_resize", true))
{return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));}
RDebugUtils.currentLine=47906816;
//BA.debugLineNum = 47906816;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A";
RDebugUtils.currentLine=47906817;
//BA.debugLineNum = 47906817;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width";
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height));
RDebugUtils.currentLine=47906818;
//BA.debugLineNum = 47906818;BA.debugLine="End Sub";
public String _base_resize(double _width,double _height) throws Exception{
//BA.debugLineNum = 55;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A";
//BA.debugLineNum = 56;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width";
_mbase.GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height));
//BA.debugLineNum = 57;BA.debugLine="End Sub";
return "";
}
public String _class_globals(keymon.lat.medicomed.b4xcombobox __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xcombobox";
RDebugUtils.currentLine=47710208;
//BA.debugLineNum = 47710208;BA.debugLine="Sub Class_Globals";
RDebugUtils.currentLine=47710209;
//BA.debugLineNum = 47710209;BA.debugLine="Private mEventName As String 'ignore";
public String _class_globals() throws Exception{
//BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals";
//BA.debugLineNum = 3;BA.debugLine="Private mEventName As String 'ignore";
_meventname = "";
RDebugUtils.currentLine=47710210;
//BA.debugLineNum = 47710210;BA.debugLine="Private mCallBack As Object 'ignore";
//BA.debugLineNum = 4;BA.debugLine="Private mCallBack As Object 'ignore";
_mcallback = new Object();
RDebugUtils.currentLine=47710211;
//BA.debugLineNum = 47710211;BA.debugLine="Public mBase As B4XView";
//BA.debugLineNum = 5;BA.debugLine="Public mBase As B4XView";
_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper();
RDebugUtils.currentLine=47710212;
//BA.debugLineNum = 47710212;BA.debugLine="Private xui As XUI 'ignore";
//BA.debugLineNum = 6;BA.debugLine="Private xui As XUI 'ignore";
_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI();
RDebugUtils.currentLine=47710213;
//BA.debugLineNum = 47710213;BA.debugLine="Private LastSelectedIndex As Int";
//BA.debugLineNum = 7;BA.debugLine="Private LastSelectedIndex As Int";
_lastselectedindex = 0;
RDebugUtils.currentLine=47710217;
//BA.debugLineNum = 47710217;BA.debugLine="Public cmbBox As Spinner";
//BA.debugLineNum = 11;BA.debugLine="Public cmbBox As Spinner";
_cmbbox = new anywheresoftware.b4a.objects.SpinnerWrapper();
RDebugUtils.currentLine=47710223;
//BA.debugLineNum = 47710223;BA.debugLine="Public DelayBeforeChangeEvent As Int";
//BA.debugLineNum = 17;BA.debugLine="Public DelayBeforeChangeEvent As Int";
_delaybeforechangeevent = 0;
RDebugUtils.currentLine=47710225;
//BA.debugLineNum = 47710225;BA.debugLine="Private DelayIndex As Int";
//BA.debugLineNum = 19;BA.debugLine="Private DelayIndex As Int";
_delayindex = 0;
RDebugUtils.currentLine=47710226;
//BA.debugLineNum = 47710226;BA.debugLine="Public Tag As Object";
//BA.debugLineNum = 20;BA.debugLine="Public Tag As Object";
_tag = new Object();
RDebugUtils.currentLine=47710227;
//BA.debugLineNum = 47710227;BA.debugLine="Public B4iCancelButton As String = \"Cancel\"";
//BA.debugLineNum = 21;BA.debugLine="Public B4iCancelButton As String = \"Cancel\"";
_b4icancelbutton = "Cancel";
RDebugUtils.currentLine=47710228;
//BA.debugLineNum = 47710228;BA.debugLine="End Sub";
//BA.debugLineNum = 22;BA.debugLine="End Sub";
return "";
}
public String _cmbbox_itemclick(keymon.lat.medicomed.b4xcombobox __ref,int _position,Object _value) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xcombobox";
if (Debug.shouldDelegate(ba, "cmbbox_itemclick", true))
{return ((String) Debug.delegate(ba, "cmbbox_itemclick", new Object[] {_position,_value}));}
RDebugUtils.currentLine=48496640;
//BA.debugLineNum = 48496640;BA.debugLine="Private Sub CmbBox_ItemClick (Position As Int, Val";
RDebugUtils.currentLine=48496641;
//BA.debugLineNum = 48496641;BA.debugLine="RaiseEvent";
__ref._raiseevent /*void*/ (null);
RDebugUtils.currentLine=48496642;
//BA.debugLineNum = 48496642;BA.debugLine="End Sub";
public String _cmbbox_itemclick(int _position,Object _value) throws Exception{
//BA.debugLineNum = 157;BA.debugLine="Private Sub CmbBox_ItemClick (Position As Int, Val";
//BA.debugLineNum = 158;BA.debugLine="RaiseEvent";
_raiseevent();
//BA.debugLineNum = 159;BA.debugLine="End Sub";
return "";
}
public void _raiseevent(keymon.lat.medicomed.b4xcombobox __ref) throws Exception{
RDebugUtils.currentModule="b4xcombobox";
if (Debug.shouldDelegate(ba, "raiseevent", true))
{Debug.delegate(ba, "raiseevent", null); return;}
ResumableSub_RaiseEvent rsub = new ResumableSub_RaiseEvent(this,__ref);
public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{
anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null;
//BA.debugLineNum = 32;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl";
//BA.debugLineNum = 33;BA.debugLine="mBase = Base";
_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base));
//BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me";
_tag = _mbase.getTag();
//BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me";
_mbase.setTag(this);
//BA.debugLineNum = 35;BA.debugLine="Dim xlbl As B4XView = Lbl";
_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper();
_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject()));
//BA.debugLineNum = 42;BA.debugLine="cmbBox.Initialize(\"cmbBox\")";
_cmbbox.Initialize(ba,"cmbBox");
//BA.debugLineNum = 43;BA.debugLine="cmbBox.TextSize = xlbl.TextSize";
_cmbbox.setTextSize(_xlbl.getTextSize());
//BA.debugLineNum = 44;BA.debugLine="mBase.AddView(cmbBox, 0, 0, mBase.Width, mBase.He";
_mbase.AddView((android.view.View)(_cmbbox.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight());
//BA.debugLineNum = 53;BA.debugLine="End Sub";
return "";
}
public String _getitem(int _index) throws Exception{
//BA.debugLineNum = 127;BA.debugLine="Public Sub GetItem(Index As Int) As String";
//BA.debugLineNum = 131;BA.debugLine="Return cmbBox.GetItem(Index)";
if (true) return _cmbbox.GetItem(_index);
//BA.debugLineNum = 135;BA.debugLine="End Sub";
return "";
}
public int _getselectedindex() throws Exception{
//BA.debugLineNum = 98;BA.debugLine="Public Sub getSelectedIndex As Int";
//BA.debugLineNum = 100;BA.debugLine="Return cmbBox.SelectedIndex";
if (true) return _cmbbox.getSelectedIndex();
//BA.debugLineNum = 104;BA.debugLine="End Sub";
return 0;
}
public String _getselecteditem() throws Exception{
int _i = 0;
//BA.debugLineNum = 121;BA.debugLine="Public Sub getSelectedItem As String";
//BA.debugLineNum = 122;BA.debugLine="Dim i As Int = getSelectedIndex";
_i = _getselectedindex();
//BA.debugLineNum = 123;BA.debugLine="If i = -1 Then Return \"\"";
if (_i==-1) {
if (true) return "";};
//BA.debugLineNum = 124;BA.debugLine="Return GetItem(i)";
if (true) return _getitem(_i);
//BA.debugLineNum = 125;BA.debugLine="End Sub";
return "";
}
public int _getsize() throws Exception{
//BA.debugLineNum = 76;BA.debugLine="Public Sub getSize As Int";
//BA.debugLineNum = 80;BA.debugLine="Return cmbBox.Size";
if (true) return _cmbbox.getSize();
//BA.debugLineNum = 84;BA.debugLine="End Sub";
return 0;
}
public int _indexof(String _item) throws Exception{
//BA.debugLineNum = 87;BA.debugLine="Public Sub IndexOf(Item As String) As Int";
//BA.debugLineNum = 91;BA.debugLine="Return cmbBox.IndexOf(Item)";
if (true) return _cmbbox.IndexOf(_item);
//BA.debugLineNum = 95;BA.debugLine="End Sub";
return 0;
}
public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{
innerInitialize(_ba);
//BA.debugLineNum = 24;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa";
//BA.debugLineNum = 25;BA.debugLine="mEventName = EventName";
_meventname = _eventname;
//BA.debugLineNum = 26;BA.debugLine="mCallBack = Callback";
_mcallback = _callback;
//BA.debugLineNum = 27;BA.debugLine="LastSelectedIndex = -1";
_lastselectedindex = (int) (-1);
//BA.debugLineNum = 28;BA.debugLine="If xui.IsB4J Then DelayBeforeChangeEvent = 500";
if (_xui.getIsB4J()) {
_delaybeforechangeevent = (int) (500);};
//BA.debugLineNum = 29;BA.debugLine="End Sub";
return "";
}
public void _raiseevent() throws Exception{
ResumableSub_RaiseEvent rsub = new ResumableSub_RaiseEvent(this);
rsub.resume(ba, null);
}
public static class ResumableSub_RaiseEvent extends BA.ResumableSub {
public ResumableSub_RaiseEvent(keymon.lat.medicomed.b4xcombobox parent,keymon.lat.medicomed.b4xcombobox __ref) {
public ResumableSub_RaiseEvent(keymon.lat.medicomed.b4xcombobox parent) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
keymon.lat.medicomed.b4xcombobox __ref;
keymon.lat.medicomed.b4xcombobox parent;
int _index = 0;
int _myindex = 0;
@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="b4xcombobox";
while (true) {
switch (state) {
@@ -150,17 +185,15 @@ return;
case 0:
//C
this.state = 1;
RDebugUtils.currentLine=48431105;
//BA.debugLineNum = 48431105;BA.debugLine="Dim index As Int = getSelectedIndex";
_index = __ref._getselectedindex /*int*/ (null);
RDebugUtils.currentLine=48431106;
//BA.debugLineNum = 48431106;BA.debugLine="If LastSelectedIndex = index Then Return";
//BA.debugLineNum = 138;BA.debugLine="Dim index As Int = getSelectedIndex";
_index = parent._getselectedindex();
//BA.debugLineNum = 139;BA.debugLine="If LastSelectedIndex = index Then Return";
if (true) break;
case 1:
//if
this.state = 6;
if (__ref._lastselectedindex /*int*/ ==_index) {
if (parent._lastselectedindex==_index) {
this.state = 3;
;}if (true) break;
@@ -174,43 +207,38 @@ case 6:
//C
this.state = 7;
;
RDebugUtils.currentLine=48431107;
//BA.debugLineNum = 48431107;BA.debugLine="If DelayBeforeChangeEvent > 0 Then";
//BA.debugLineNum = 140;BA.debugLine="If DelayBeforeChangeEvent > 0 Then";
if (true) break;
case 7:
//if
this.state = 16;
if (__ref._delaybeforechangeevent /*int*/ >0) {
if (parent._delaybeforechangeevent>0) {
this.state = 9;
}if (true) break;
case 9:
//C
this.state = 10;
RDebugUtils.currentLine=48431108;
//BA.debugLineNum = 48431108;BA.debugLine="DelayIndex = DelayIndex + 1";
__ref._delayindex /*int*/ = (int) (__ref._delayindex /*int*/ +1);
RDebugUtils.currentLine=48431109;
//BA.debugLineNum = 48431109;BA.debugLine="Dim MyIndex As Int = DelayIndex";
_myindex = __ref._delayindex /*int*/ ;
RDebugUtils.currentLine=48431110;
//BA.debugLineNum = 48431110;BA.debugLine="Sleep(DelayBeforeChangeEvent)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xcombobox", "raiseevent"),__ref._delaybeforechangeevent /*int*/ );
//BA.debugLineNum = 141;BA.debugLine="DelayIndex = DelayIndex + 1";
parent._delayindex = (int) (parent._delayindex+1);
//BA.debugLineNum = 142;BA.debugLine="Dim MyIndex As Int = DelayIndex";
_myindex = parent._delayindex;
//BA.debugLineNum = 143;BA.debugLine="Sleep(DelayBeforeChangeEvent)";
parent.__c.Sleep(ba,this,parent._delaybeforechangeevent);
this.state = 21;
return;
case 21:
//C
this.state = 10;
;
RDebugUtils.currentLine=48431111;
//BA.debugLineNum = 48431111;BA.debugLine="If MyIndex <> DelayIndex Then Return";
//BA.debugLineNum = 144;BA.debugLine="If MyIndex <> DelayIndex Then Return";
if (true) break;
case 10:
//if
this.state = 15;
if (_myindex!=__ref._delayindex /*int*/ ) {
if (_myindex!=parent._delayindex) {
this.state = 12;
;}if (true) break;
@@ -230,213 +258,59 @@ case 16:
//C
this.state = 17;
;
RDebugUtils.currentLine=48431113;
//BA.debugLineNum = 48431113;BA.debugLine="LastSelectedIndex = index";
__ref._lastselectedindex /*int*/ = _index;
RDebugUtils.currentLine=48431114;
//BA.debugLineNum = 48431114;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Select";
//BA.debugLineNum = 146;BA.debugLine="LastSelectedIndex = index";
parent._lastselectedindex = _index;
//BA.debugLineNum = 147;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Select";
if (true) break;
case 17:
//if
this.state = 20;
if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_SelectedIndexChanged",(int) (1))) {
if (parent._xui.SubExists(ba,parent._mcallback,parent._meventname+"_SelectedIndexChanged",(int) (1))) {
this.state = 19;
}if (true) break;
case 19:
//C
this.state = 20;
RDebugUtils.currentLine=48431115;
//BA.debugLineNum = 48431115;BA.debugLine="CallSub2(mCallBack, mEventName & \"_SelectedIndex";
parent.__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_SelectedIndexChanged",(Object)(_index));
//BA.debugLineNum = 148;BA.debugLine="CallSub2(mCallBack, mEventName & \"_SelectedIndex";
parent.__c.CallSubNew2(ba,parent._mcallback,parent._meventname+"_SelectedIndexChanged",(Object)(_index));
if (true) break;
case 20:
//C
this.state = -1;
;
RDebugUtils.currentLine=48431117;
//BA.debugLineNum = 48431117;BA.debugLine="End Sub";
//BA.debugLineNum = 150;BA.debugLine="End Sub";
if (true) break;
}
}
}
}
public String _designercreateview(keymon.lat.medicomed.b4xcombobox __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xcombobox";
if (Debug.shouldDelegate(ba, "designercreateview", true))
{return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));}
anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null;
RDebugUtils.currentLine=47841280;
//BA.debugLineNum = 47841280;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl";
RDebugUtils.currentLine=47841281;
//BA.debugLineNum = 47841281;BA.debugLine="mBase = Base";
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base));
RDebugUtils.currentLine=47841282;
//BA.debugLineNum = 47841282;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me";
__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag();
RDebugUtils.currentLine=47841282;
//BA.debugLineNum = 47841282;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me";
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this);
RDebugUtils.currentLine=47841283;
//BA.debugLineNum = 47841283;BA.debugLine="Dim xlbl As B4XView = Lbl";
_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper();
_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject()));
RDebugUtils.currentLine=47841290;
//BA.debugLineNum = 47841290;BA.debugLine="cmbBox.Initialize(\"cmbBox\")";
__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .Initialize(ba,"cmbBox");
RDebugUtils.currentLine=47841291;
//BA.debugLineNum = 47841291;BA.debugLine="cmbBox.TextSize = xlbl.TextSize";
__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .setTextSize(_xlbl.getTextSize());
RDebugUtils.currentLine=47841292;
//BA.debugLineNum = 47841292;BA.debugLine="mBase.AddView(cmbBox, 0, 0, mBase.Width, mBase.He";
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .getObject()),(int) (0),(int) (0),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=47841301;
//BA.debugLineNum = 47841301;BA.debugLine="End Sub";
return "";
}
public String _getitem(keymon.lat.medicomed.b4xcombobox __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xcombobox";
if (Debug.shouldDelegate(ba, "getitem", true))
{return ((String) Debug.delegate(ba, "getitem", new Object[] {_index}));}
RDebugUtils.currentLine=48365568;
//BA.debugLineNum = 48365568;BA.debugLine="Public Sub GetItem(Index As Int) As String";
RDebugUtils.currentLine=48365572;
//BA.debugLineNum = 48365572;BA.debugLine="Return cmbBox.GetItem(Index)";
if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .GetItem(_index);
RDebugUtils.currentLine=48365576;
//BA.debugLineNum = 48365576;BA.debugLine="End Sub";
return "";
}
public int _getselectedindex(keymon.lat.medicomed.b4xcombobox __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xcombobox";
if (Debug.shouldDelegate(ba, "getselectedindex", true))
{return ((Integer) Debug.delegate(ba, "getselectedindex", null));}
RDebugUtils.currentLine=48168960;
//BA.debugLineNum = 48168960;BA.debugLine="Public Sub getSelectedIndex As Int";
RDebugUtils.currentLine=48168962;
//BA.debugLineNum = 48168962;BA.debugLine="Return cmbBox.SelectedIndex";
if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .getSelectedIndex();
RDebugUtils.currentLine=48168966;
//BA.debugLineNum = 48168966;BA.debugLine="End Sub";
return 0;
}
public String _getselecteditem(keymon.lat.medicomed.b4xcombobox __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xcombobox";
if (Debug.shouldDelegate(ba, "getselecteditem", true))
{return ((String) Debug.delegate(ba, "getselecteditem", null));}
int _i = 0;
RDebugUtils.currentLine=48300032;
//BA.debugLineNum = 48300032;BA.debugLine="Public Sub getSelectedItem As String";
RDebugUtils.currentLine=48300033;
//BA.debugLineNum = 48300033;BA.debugLine="Dim i As Int = getSelectedIndex";
_i = __ref._getselectedindex /*int*/ (null);
RDebugUtils.currentLine=48300034;
//BA.debugLineNum = 48300034;BA.debugLine="If i = -1 Then Return \"\"";
if (_i==-1) {
if (true) return "";};
RDebugUtils.currentLine=48300035;
//BA.debugLineNum = 48300035;BA.debugLine="Return GetItem(i)";
if (true) return __ref._getitem /*String*/ (null,_i);
RDebugUtils.currentLine=48300036;
//BA.debugLineNum = 48300036;BA.debugLine="End Sub";
return "";
}
public int _getsize(keymon.lat.medicomed.b4xcombobox __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xcombobox";
if (Debug.shouldDelegate(ba, "getsize", true))
{return ((Integer) Debug.delegate(ba, "getsize", null));}
RDebugUtils.currentLine=48037888;
//BA.debugLineNum = 48037888;BA.debugLine="Public Sub getSize As Int";
RDebugUtils.currentLine=48037892;
//BA.debugLineNum = 48037892;BA.debugLine="Return cmbBox.Size";
if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .getSize();
RDebugUtils.currentLine=48037896;
//BA.debugLineNum = 48037896;BA.debugLine="End Sub";
return 0;
}
public int _indexof(keymon.lat.medicomed.b4xcombobox __ref,String _item) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xcombobox";
if (Debug.shouldDelegate(ba, "indexof", true))
{return ((Integer) Debug.delegate(ba, "indexof", new Object[] {_item}));}
RDebugUtils.currentLine=48103424;
//BA.debugLineNum = 48103424;BA.debugLine="Public Sub IndexOf(Item As String) As Int";
RDebugUtils.currentLine=48103428;
//BA.debugLineNum = 48103428;BA.debugLine="Return cmbBox.IndexOf(Item)";
if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .IndexOf(_item);
RDebugUtils.currentLine=48103432;
//BA.debugLineNum = 48103432;BA.debugLine="End Sub";
return 0;
}
public String _initialize(keymon.lat.medicomed.b4xcombobox __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{
__ref = this;
innerInitialize(_ba);
RDebugUtils.currentModule="b4xcombobox";
if (Debug.shouldDelegate(ba, "initialize", true))
{return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));}
RDebugUtils.currentLine=47775744;
//BA.debugLineNum = 47775744;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa";
RDebugUtils.currentLine=47775745;
//BA.debugLineNum = 47775745;BA.debugLine="mEventName = EventName";
__ref._meventname /*String*/ = _eventname;
RDebugUtils.currentLine=47775746;
//BA.debugLineNum = 47775746;BA.debugLine="mCallBack = Callback";
__ref._mcallback /*Object*/ = _callback;
RDebugUtils.currentLine=47775747;
//BA.debugLineNum = 47775747;BA.debugLine="LastSelectedIndex = -1";
__ref._lastselectedindex /*int*/ = (int) (-1);
RDebugUtils.currentLine=47775748;
//BA.debugLineNum = 47775748;BA.debugLine="If xui.IsB4J Then DelayBeforeChangeEvent = 500";
if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) {
__ref._delaybeforechangeevent /*int*/ = (int) (500);};
RDebugUtils.currentLine=47775749;
//BA.debugLineNum = 47775749;BA.debugLine="End Sub";
return "";
}
public String _setitems(keymon.lat.medicomed.b4xcombobox __ref,anywheresoftware.b4a.objects.collections.List _items) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xcombobox";
if (Debug.shouldDelegate(ba, "setitems", true))
{return ((String) Debug.delegate(ba, "setitems", new Object[] {_items}));}
RDebugUtils.currentLine=47972352;
//BA.debugLineNum = 47972352;BA.debugLine="Public Sub SetItems(Items As List)";
RDebugUtils.currentLine=47972357;
//BA.debugLineNum = 47972357;BA.debugLine="cmbBox.Clear";
__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .Clear();
RDebugUtils.currentLine=47972358;
//BA.debugLineNum = 47972358;BA.debugLine="cmbBox.AddAll(Items)";
__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .AddAll(_items);
RDebugUtils.currentLine=47972365;
//BA.debugLineNum = 47972365;BA.debugLine="If Items.Size > 0 Then setSelectedIndex(0)";
public String _setitems(anywheresoftware.b4a.objects.collections.List _items) throws Exception{
//BA.debugLineNum = 59;BA.debugLine="Public Sub SetItems(Items As List)";
//BA.debugLineNum = 64;BA.debugLine="cmbBox.Clear";
_cmbbox.Clear();
//BA.debugLineNum = 65;BA.debugLine="cmbBox.AddAll(Items)";
_cmbbox.AddAll(_items);
//BA.debugLineNum = 72;BA.debugLine="If Items.Size > 0 Then setSelectedIndex(0)";
if (_items.getSize()>0) {
__ref._setselectedindex /*String*/ (null,(int) (0));};
RDebugUtils.currentLine=47972366;
//BA.debugLineNum = 47972366;BA.debugLine="End Sub";
_setselectedindex((int) (0));};
//BA.debugLineNum = 73;BA.debugLine="End Sub";
return "";
}
public String _setselectedindex(keymon.lat.medicomed.b4xcombobox __ref,int _i) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xcombobox";
if (Debug.shouldDelegate(ba, "setselectedindex", true))
{return ((String) Debug.delegate(ba, "setselectedindex", new Object[] {_i}));}
RDebugUtils.currentLine=48234496;
//BA.debugLineNum = 48234496;BA.debugLine="Public Sub setSelectedIndex(i As Int)";
RDebugUtils.currentLine=48234497;
//BA.debugLineNum = 48234497;BA.debugLine="LastSelectedIndex = i";
__ref._lastselectedindex /*int*/ = _i;
RDebugUtils.currentLine=48234499;
//BA.debugLineNum = 48234499;BA.debugLine="cmbBox.SelectedIndex = i";
__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .setSelectedIndex(_i);
RDebugUtils.currentLine=48234508;
//BA.debugLineNum = 48234508;BA.debugLine="End Sub";
public String _setselectedindex(int _i) throws Exception{
//BA.debugLineNum = 106;BA.debugLine="Public Sub setSelectedIndex(i As Int)";
//BA.debugLineNum = 107;BA.debugLine="LastSelectedIndex = i";
_lastselectedindex = _i;
//BA.debugLineNum = 109;BA.debugLine="cmbBox.SelectedIndex = i";
_cmbbox.setSelectedIndex(_i);
//BA.debugLineNum = 118;BA.debugLine="End Sub";
return "";
}
}
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
BA.senderHolder.set(sender);
return BA.SubDelegator.SubNotFound;
}
}