package gunav2.keymon.com.mx;

import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.pc.*;

public class c_cuestionario_subs_0 {


public static RemoteObject  _agregacolumna(RemoteObject __ref,RemoteObject _tabla,RemoteObject _columna,RemoteObject _tipo) throws Exception{
try {
		Debug.PushSubsStack("agregaColumna (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,373);
if (RapidSub.canDelegate("agregacolumna")) { return __ref.runUserSub(false, "c_cuestionario","agregacolumna", __ref, _tabla, _columna, _tipo);}
RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
Debug.locals.put("tabla", _tabla);
Debug.locals.put("columna", _columna);
Debug.locals.put("tipo", _tipo);
 BA.debugLineNum = 373;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri";
Debug.ShouldStop(1048576);
 BA.debugLineNum = 374;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev";
Debug.ShouldStop(2097152);
try { BA.debugLineNum = 375;BA.debugLine="Private c As Cursor = db.ExecQuery($\"SELECT COUN";
Debug.ShouldStop(4194304);
_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_db" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT COUNT(*) AS fCol FROM pragma_table_info('"),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("') WHERE name='"),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c);
 BA.debugLineNum = 376;BA.debugLine="c.Position = 0";
Debug.ShouldStop(8388608);
_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 377;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fCol"))),BA.NumberToString(0))) { 
 BA.debugLineNum = 378;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU";
Debug.ShouldStop(33554432);
__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("")))));
 BA.debugLineNum = 379;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
Debug.ShouldStop(67108864);
c_cuestionario.__c.runVoidMethod ("LogImpl","074579974",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\"."))),0);
 };
 Debug.CheckDeviceExceptions();
} 
       catch (Exception e9) {
			BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); BA.debugLineNum = 382;BA.debugLine="Try";
Debug.ShouldStop(536870912);
try { BA.debugLineNum = 383;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("")))));
 BA.debugLineNum = 384;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
Debug.ShouldStop(-2147483648);
c_cuestionario.__c.runVoidMethod ("LogImpl","074579979",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\".."))),0);
 Debug.CheckDeviceExceptions();
} 
       catch (Exception e13) {
			BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e13.toString()); BA.debugLineNum = 386;BA.debugLine="Log(LastException)";
Debug.ShouldStop(2);
c_cuestionario.__c.runVoidMethod ("LogImpl","074579981",BA.ObjectToString(c_cuestionario.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))),0);
 };
 };
 BA.debugLineNum = 389;BA.debugLine="End Sub";
Debug.ShouldStop(16);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _agregapreguntaabierta(RemoteObject __ref,RemoteObject _id,RemoteObject _pregunta,RemoteObject _ids,RemoteObject _respuestas) throws Exception{
try {
		Debug.PushSubsStack("agregaPreguntaAbierta (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,161);
if (RapidSub.canDelegate("agregapreguntaabierta")) { return __ref.runUserSub(false, "c_cuestionario","agregapreguntaabierta", __ref, _id, _pregunta, _ids, _respuestas);}
RemoteObject _sv_cuest = RemoteObject.declareNull("anywheresoftware.b4a.objects.ScrollViewWrapper");
RemoteObject _su = RemoteObject.declareNull("anywheresoftware.b4a.objects.StringUtils");
RemoteObject _cd = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.ColorDrawable");
RemoteObject _panelx = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper");
RemoteObject _panel2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper");
RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
RemoteObject _et = null;
RemoteObject _labelx = null;
int _p = 0;
RemoteObject _lx = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
RemoteObject _newtop = RemoteObject.createImmutable(0);
Debug.locals.put("id", _id);
Debug.locals.put("pregunta", _pregunta);
Debug.locals.put("ids", _ids);
Debug.locals.put("respuestas", _respuestas);
 BA.debugLineNum = 161;BA.debugLine="Sub agregaPreguntaAbierta(id As String, pregunta A";
Debug.ShouldStop(1);
 BA.debugLineNum = 162;BA.debugLine="Log(\"Iniciamos PreguntaAbierta\")";
Debug.ShouldStop(2);
c_cuestionario.__c.runVoidMethod ("LogImpl","073990145",RemoteObject.createImmutable("Iniciamos PreguntaAbierta"),0);
 BA.debugLineNum = 163;BA.debugLine="Log(ids)";
Debug.ShouldStop(4);
c_cuestionario.__c.runVoidMethod ("LogImpl","073990146",BA.ObjectToString(_ids),0);
 BA.debugLineNum = 164;BA.debugLine="Log(respuestas)";
Debug.ShouldStop(8);
c_cuestionario.__c.runVoidMethod ("LogImpl","073990147",BA.ObjectToString(_respuestas),0);
 BA.debugLineNum = 165;BA.debugLine="Private sv_cuest As ScrollView";
Debug.ShouldStop(16);
_sv_cuest = RemoteObject.createNew ("anywheresoftware.b4a.objects.ScrollViewWrapper");Debug.locals.put("sv_cuest", _sv_cuest);
 BA.debugLineNum = 166;BA.debugLine="sv_cuest.Initialize(500dip)";
Debug.ShouldStop(32);
_sv_cuest.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 500)))));
 BA.debugLineNum = 167;BA.debugLine="encuestaIniciada = True";
Debug.ShouldStop(64);
__ref.setField ("_encuestainiciada" /*RemoteObject*/ ,c_cuestionario.__c.getField(true,"True"));
 BA.debugLineNum = 168;BA.debugLine="vPreguntaActual = id";
Debug.ShouldStop(128);
__ref.setField ("_vpreguntaactual" /*RemoteObject*/ ,_id);
 BA.debugLineNum = 169;BA.debugLine="bAceptarPregunta.Initialize(\"bAceptarPregunta\")";
Debug.ShouldStop(256);
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("bAceptarPregunta")));
 BA.debugLineNum = 170;BA.debugLine="Private su As StringUtils";
Debug.ShouldStop(512);
_su = RemoteObject.createNew ("anywheresoftware.b4a.objects.StringUtils");Debug.locals.put("su", _su);
 BA.debugLineNum = 171;BA.debugLine="panelSombra.Initialize(\"pSombra\")";
Debug.ShouldStop(1024);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pSombra")));
 BA.debugLineNum = 172;BA.debugLine="Private cd As ColorDrawable";
Debug.ShouldStop(2048);
_cd = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.ColorDrawable");Debug.locals.put("cd", _cd);
 BA.debugLineNum = 173;BA.debugLine="cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0)";
Debug.ShouldStop(4096);
_cd.runVoidMethod ("Initialize",(Object)(c_cuestionario.__c.getField(false,"Colors").runMethod(true,"ARGB",(Object)(BA.numberCast(int.class, 125)),(Object)(BA.numberCast(int.class, 98)),(Object)(BA.numberCast(int.class, 98)),(Object)(BA.numberCast(int.class, 98)))),(Object)(BA.numberCast(int.class, 0)));
 BA.debugLineNum = 174;BA.debugLine="panelSombra.Background = cd";
Debug.ShouldStop(8192);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(false,"setBackground",(_cd.getObject()));
 BA.debugLineNum = 175;BA.debugLine="Private panelX As Panel 'Panel de la pregunta.";
Debug.ShouldStop(16384);
_panelx = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");Debug.locals.put("panelX", _panelx);
 BA.debugLineNum = 176;BA.debugLine="panelX.Initialize(\"pQuest\")";
Debug.ShouldStop(32768);
_panelx.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pQuest")));
 BA.debugLineNum = 177;BA.debugLine="Private sv_cuest As ScrollView";
Debug.ShouldStop(65536);
_sv_cuest = RemoteObject.createNew ("anywheresoftware.b4a.objects.ScrollViewWrapper");Debug.locals.put("sv_cuest", _sv_cuest);
 BA.debugLineNum = 178;BA.debugLine="sv_cuest.Initialize(100dip)";
Debug.ShouldStop(131072);
_sv_cuest.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100)))));
 BA.debugLineNum = 179;BA.debugLine="Private panel2 As Panel 'Panel de la pregunta.";
Debug.ShouldStop(262144);
_panel2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");Debug.locals.put("panel2", _panel2);
 BA.debugLineNum = 180;BA.debugLine="panel2.Initialize(\"panel2\")";
Debug.ShouldStop(524288);
_panel2.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("panel2")));
 BA.debugLineNum = 181;BA.debugLine="panel2.Color = Colors.Yellow";
Debug.ShouldStop(1048576);
_panel2.runVoidMethod ("setColor",c_cuestionario.__c.getField(false,"Colors").getField(true,"Yellow"));
 BA.debugLineNum = 182;BA.debugLine="panelActual = panelX";
Debug.ShouldStop(2097152);
__ref.setField ("_panelactual" /*RemoteObject*/ ,_panelx);
 BA.debugLineNum = 183;BA.debugLine="Private lbl As Label 'Etiqueta de la pregunta.";
Debug.ShouldStop(4194304);
_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lbl", _lbl);
 BA.debugLineNum = 184;BA.debugLine="lbl.Initialize(\"\")";
Debug.ShouldStop(8388608);
_lbl.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));
 BA.debugLineNum = 185;BA.debugLine="lbl.Text = pregunta";
Debug.ShouldStop(16777216);
_lbl.runMethod(true,"setText",BA.ObjectToCharSequence(_pregunta));
 BA.debugLineNum = 186;BA.debugLine="lbl.TextSize = 16";
Debug.ShouldStop(33554432);
_lbl.runMethod(true,"setTextSize",BA.numberCast(float.class, 16));
 BA.debugLineNum = 187;BA.debugLine="lbl.TextColor = Colors.Black";
Debug.ShouldStop(67108864);
_lbl.runMethod(true,"setTextColor",c_cuestionario.__c.getField(false,"Colors").getField(true,"Black"));
 BA.debugLineNum = 188;BA.debugLine="cd.Initialize2(Colors.white, 20, 1, Colors.Gray)";
Debug.ShouldStop(134217728);
_cd.runVoidMethod ("Initialize2",(Object)(c_cuestionario.__c.getField(false,"Colors").getField(true,"White")),(Object)(BA.numberCast(int.class, 20)),(Object)(BA.numberCast(int.class, 1)),(Object)(c_cuestionario.__c.getField(false,"Colors").getField(true,"Gray")));
 BA.debugLineNum = 189;BA.debugLine="panelX.Background = cd";
Debug.ShouldStop(268435456);
_panelx.runMethod(false,"setBackground",(_cd.getObject()));
 BA.debugLineNum = 190;BA.debugLine="panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 20";
Debug.ShouldStop(536870912);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_panelx.getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 80)),__ref.getField(false, "ba"))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 200)))));
 BA.debugLineNum = 191;BA.debugLine="Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'a";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_root2" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_cuestionario.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))),(Object)(c_cuestionario.__c.runMethod(true,"PerYToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))));
 BA.debugLineNum = 192;BA.debugLine="panelX.AddView(lbl, 20dip, 20dip, (panelX.Width *";
Debug.ShouldStop(-2147483648);
_panelx.runVoidMethod ("AddView",(Object)((_lbl.getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.9)}, "*",0, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 40)))));
 BA.debugLineNum = 193;BA.debugLine="lbl.Height = su.MeasureMultilineTextHeight(lbl, l";
Debug.ShouldStop(1);
_lbl.runMethod(true,"setHeight",_su.runMethod(true,"MeasureMultilineTextHeight",(Object)((_lbl.getObject())),(Object)(BA.ObjectToCharSequence(_lbl.runMethod(true,"getText")))));
 BA.debugLineNum = 194;BA.debugLine="Private et(respuestas.Size) As EditText";
Debug.ShouldStop(2);
_et = RemoteObject.createNewArray ("anywheresoftware.b4a.objects.EditTextWrapper", new int[] {_respuestas.runMethod(true,"getSize").<Integer>get().intValue()}, new Object[]{});Debug.locals.put("et", _et);
 BA.debugLineNum = 195;BA.debugLine="Private labelX(respuestas.Size) As Label";
Debug.ShouldStop(4);
_labelx = RemoteObject.createNewArray ("anywheresoftware.b4a.objects.LabelWrapper", new int[] {_respuestas.runMethod(true,"getSize").<Integer>get().intValue()}, new Object[]{});Debug.locals.put("labelX", _labelx);
 BA.debugLineNum = 196;BA.debugLine="For p = 0 To respuestas.Size - 1";
Debug.ShouldStop(8);
{
final int step35 = 1;
final int limit35 = RemoteObject.solve(new RemoteObject[] {_respuestas.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_p = 0 ;
for (;(step35 > 0 && _p <= limit35) || (step35 < 0 && _p >= limit35) ;_p = ((int)(0 + _p + step35))  ) {
Debug.locals.put("p", _p);
 BA.debugLineNum = 197;BA.debugLine="et(p).Initialize(\"et\")";
Debug.ShouldStop(16);
_et.getArrayElement(false,BA.numberCast(int.class, _p)).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("et")));
 BA.debugLineNum = 198;BA.debugLine="labelX(p).Initialize(\"labelX\")";
Debug.ShouldStop(32);
_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("labelX")));
 BA.debugLineNum = 199;BA.debugLine="labelX(p).Height = 60dip";
Debug.ShouldStop(64);
_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setHeight",c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60))));
 BA.debugLineNum = 202;BA.debugLine="et(p).As(B4XView).SetTextAlignment(\"CENTER\", \"CE";
Debug.ShouldStop(512);
(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _et.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())).runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER")));
 BA.debugLineNum = 203;BA.debugLine="labelX(p).As(B4XView).SetTextAlignment(\"CENTER\",";
Debug.ShouldStop(1024);
(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _labelx.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())).runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER")));
 BA.debugLineNum = 204;BA.debugLine="et(p).SetTextSizeAnimated(0, 10)";
Debug.ShouldStop(2048);
_et.getArrayElement(false,BA.numberCast(int.class, _p)).runVoidMethod ("SetTextSizeAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(float.class, 10)));
 BA.debugLineNum = 205;BA.debugLine="et(p).Tag = CreateMap(\"id\":id, \"pregunta\":pregun";
Debug.ShouldStop(4096);
_et.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(false,"setTag",(c_cuestionario.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),(_id),RemoteObject.createImmutable(("pregunta")),(_pregunta),RemoteObject.createImmutable(("panel")),(__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).getObject()),RemoteObject.createImmutable(("idRespuesta")),_ids.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p)))})).getObject()));
 BA.debugLineNum = 206;BA.debugLine="labelX(p).Text = respuestas.Get(p)";
Debug.ShouldStop(8192);
_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setText",BA.ObjectToCharSequence(_respuestas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p)))));
 BA.debugLineNum = 207;BA.debugLine="Private lx As Label = labelX(p)";
Debug.ShouldStop(16384);
_lx = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");
_lx = _labelx.getArrayElement(false,BA.numberCast(int.class, _p));Debug.locals.put("lx", _lx);Debug.locals.put("lx", _lx);
 BA.debugLineNum = 208;BA.debugLine="et(p).Text = \"\"";
Debug.ShouldStop(32768);
_et.getArrayElement(false,BA.numberCast(int.class, _p)).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 209;BA.debugLine="Log($\"Agregamos ET ${labelX(p).text} - ${(70*p)}";
Debug.ShouldStop(65536);
c_cuestionario.__c.runVoidMethod ("LogImpl","073990192",(RemoteObject.concat(RemoteObject.createImmutable("Agregamos ET "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"getText")))),RemoteObject.createImmutable(" - "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(70),RemoteObject.createImmutable(_p)}, "*",0, 1))))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 211;BA.debugLine="Log(labelX(p).Height)";
Debug.ShouldStop(262144);
c_cuestionario.__c.runVoidMethod ("LogImpl","073990194",BA.NumberToString(_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"getHeight")),0);
 BA.debugLineNum = 212;BA.debugLine="sv_cuest.panel.AddView(labelX(p), 0, (70 * p), (";
Debug.ShouldStop(524288);
_sv_cuest.runMethod(false,"getPanel").runVoidMethod ("AddView",(Object)((_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(70),RemoteObject.createImmutable(_p)}, "*",0, 1))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.72)}, "*",0, 0)))),(Object)(BA.numberCast(int.class, 60)));
 BA.debugLineNum = 213;BA.debugLine="sv_cuest.panel.AddView(et(p), (labelX(p).Width +";
Debug.ShouldStop(1048576);
_sv_cuest.runMethod(false,"getPanel").runVoidMethod ("AddView",(Object)((_et.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())),(Object)((RemoteObject.solve(new RemoteObject[] {_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"getWidth"),RemoteObject.createImmutable(5)}, "+",1, 1))),(Object)((RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(70),RemoteObject.createImmutable(_p)}, "*",0, 1))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.2)}, "*",0, 0)))),(Object)(BA.numberCast(int.class, 115)));
 BA.debugLineNum = 214;BA.debugLine="Private newTop As Int = 0 'lbl.top + lbl.Height";
Debug.ShouldStop(2097152);
_newtop = BA.numberCast(int.class, 0);Debug.locals.put("newTop", _newtop);Debug.locals.put("newTop", _newtop);
 BA.debugLineNum = 215;BA.debugLine="If p <> 0 Then newTop = et(p - 1).Top + et(p - 1";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("!",RemoteObject.createImmutable(_p),BA.numberCast(double.class, 0))) { 
_newtop = RemoteObject.solve(new RemoteObject[] {_et.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getTop"),_et.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getHeight"),RemoteObject.createImmutable(5)}, "++",2, 1);Debug.locals.put("newTop", _newtop);};
 BA.debugLineNum = 216;BA.debugLine="et(p).Top = newTop";
Debug.ShouldStop(8388608);
_et.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setTop",_newtop);
 BA.debugLineNum = 217;BA.debugLine="labelX(p).Top = newTop";
Debug.ShouldStop(16777216);
_labelx.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setTop",_newtop);
 }
}Debug.locals.put("p", _p);
;
 BA.debugLineNum = 219;BA.debugLine="bAceptarPregunta.Text = \"Continuar\"";
Debug.ShouldStop(67108864);
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Continuar"));
 BA.debugLineNum = 220;BA.debugLine="panelX.AddView(sv_cuest, 10, lbl.top + lbl.Height";
Debug.ShouldStop(134217728);
_panelx.runVoidMethod ("AddView",(Object)((_sv_cuest.getObject())),(Object)(BA.numberCast(int.class, 10)),(Object)(RemoteObject.solve(new RemoteObject[] {_lbl.runMethod(true,"getTop"),_lbl.runMethod(true,"getHeight"),RemoteObject.createImmutable(20)}, "++",2, 1)),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.95)}, "*",0, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 300)))));
 BA.debugLineNum = 221;BA.debugLine="sv_cuest.panel.Height = newTop + 40dip";
Debug.ShouldStop(268435456);
_sv_cuest.runMethod(false,"getPanel").runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {_newtop,c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 40)))}, "+",1, 1));
 BA.debugLineNum = 222;BA.debugLine="panelX.Height = newTop + 80dip + 35dip 'Calculamo";
Debug.ShouldStop(536870912);
_panelx.runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {_newtop,c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 80))),c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 35)))}, "++",2, 1));
 BA.debugLineNum = 223;BA.debugLine="panelX.Height = 150dip + (respuestas.Size * 80) '";
Debug.ShouldStop(1073741824);
_panelx.runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 150))),(RemoteObject.solve(new RemoteObject[] {_respuestas.runMethod(true,"getSize"),RemoteObject.createImmutable(80)}, "*",0, 1))}, "+",1, 1));
 BA.debugLineNum = 225;BA.debugLine="If panelX.Height > (Root2.Height * 0.7) Then ' Si";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean(">",_panelx.runMethod(true,"getHeight"),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.7)}, "*",0, 0)))) { 
 BA.debugLineNum = 226;BA.debugLine="panelX.Height = Root2.Height * 0.7";
Debug.ShouldStop(2);
_panelx.runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.7)}, "*",0, 0)));
 };
 BA.debugLineNum = 228;BA.debugLine="panelX.AddView(bAceptarPregunta, 10, (panelX.Heig";
Debug.ShouldStop(8);
_panelx.runVoidMethod ("AddView",(Object)((__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 10)),(Object)((RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getHeight"),c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 55)))}, "-",1, 1))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 150)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)))));
 BA.debugLineNum = 229;BA.debugLine="bAceptarPregunta.Left = (panelX.Width / 2) - (bAc";
Debug.ShouldStop(16);
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 230;BA.debugLine="bAceptarPregunta.Enabled = False";
Debug.ShouldStop(32);
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"False"));
 BA.debugLineNum = 231;BA.debugLine="sv_cuest.Height = panelX.Height - (lbl.Top + lbl.";
Debug.ShouldStop(64);
_sv_cuest.runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getHeight"),(RemoteObject.solve(new RemoteObject[] {_lbl.runMethod(true,"getTop"),_lbl.runMethod(true,"getHeight")}, "+",1, 1)),c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 55)))}, "--",2, 1));
 BA.debugLineNum = 232;BA.debugLine="panelX.left = (Root2.Width / 2) - (panelX.Width /";
Debug.ShouldStop(128);
_panelx.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 233;BA.debugLine="panelX.top = (Root2.Height / 2) - (panelX.Height";
Debug.ShouldStop(256);
_panelx.runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 234;BA.debugLine="If respuestas.Size < 10 Then panelX.top = (Root2.";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean("<",_respuestas.runMethod(true,"getSize"),BA.numberCast(double.class, 10))) { 
_panelx.runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(3)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));};
 BA.debugLineNum = 235;BA.debugLine="panelSombra.Width = Root2.Width";
Debug.ShouldStop(1024);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 236;BA.debugLine="panelSombra.Height = Root2.Height";
Debug.ShouldStop(2048);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 237;BA.debugLine="panelSombra.Elevation = 100dip";
Debug.ShouldStop(4096);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setElevation",BA.numberCast(float.class, c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100)))));
 BA.debugLineNum = 238;BA.debugLine="panelSombra.BringToFront";
Debug.ShouldStop(8192);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("BringToFront");
 BA.debugLineNum = 239;BA.debugLine="bringToFrontCont = 0";
Debug.ShouldStop(16384);
__ref.setField ("_bringtofrontcont" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 240;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _agregapreguntacheckbox(RemoteObject __ref,RemoteObject _id,RemoteObject _pregunta,RemoteObject _respuestas) throws Exception{
try {
		Debug.PushSubsStack("agregaPreguntaCheckbox (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,63);
if (RapidSub.canDelegate("agregapreguntacheckbox")) { return __ref.runUserSub(false, "c_cuestionario","agregapreguntacheckbox", __ref, _id, _pregunta, _respuestas);}
RemoteObject _su = RemoteObject.declareNull("anywheresoftware.b4a.objects.StringUtils");
RemoteObject _cd = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.ColorDrawable");
RemoteObject _panelx = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper");
RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
RemoteObject _cb = null;
int _p = 0;
RemoteObject _newtop = RemoteObject.createImmutable(0);
Debug.locals.put("id", _id);
Debug.locals.put("pregunta", _pregunta);
Debug.locals.put("respuestas", _respuestas);
 BA.debugLineNum = 63;BA.debugLine="Sub agregaPreguntaCheckbox(id As String, pregunta";
Debug.ShouldStop(1073741824);
 BA.debugLineNum = 64;BA.debugLine="encuestaIniciada = True";
Debug.ShouldStop(-2147483648);
__ref.setField ("_encuestainiciada" /*RemoteObject*/ ,c_cuestionario.__c.getField(true,"True"));
 BA.debugLineNum = 65;BA.debugLine="vPreguntaActual = id";
Debug.ShouldStop(1);
__ref.setField ("_vpreguntaactual" /*RemoteObject*/ ,_id);
 BA.debugLineNum = 66;BA.debugLine="bAceptarPregunta.Initialize(\"bAceptarPregunta\")";
Debug.ShouldStop(2);
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("bAceptarPregunta")));
 BA.debugLineNum = 67;BA.debugLine="bAceptarPregunta.Enabled = False";
Debug.ShouldStop(4);
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"False"));
 BA.debugLineNum = 68;BA.debugLine="Private su As StringUtils";
Debug.ShouldStop(8);
_su = RemoteObject.createNew ("anywheresoftware.b4a.objects.StringUtils");Debug.locals.put("su", _su);
 BA.debugLineNum = 69;BA.debugLine="panelSombra.Initialize(\"pSombra\")";
Debug.ShouldStop(16);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pSombra")));
 BA.debugLineNum = 70;BA.debugLine="Private cd As ColorDrawable";
Debug.ShouldStop(32);
_cd = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.ColorDrawable");Debug.locals.put("cd", _cd);
 BA.debugLineNum = 71;BA.debugLine="cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0)";
Debug.ShouldStop(64);
_cd.runVoidMethod ("Initialize",(Object)(c_cuestionario.__c.getField(false,"Colors").runMethod(true,"ARGB",(Object)(BA.numberCast(int.class, 125)),(Object)(BA.numberCast(int.class, 98)),(Object)(BA.numberCast(int.class, 98)),(Object)(BA.numberCast(int.class, 98)))),(Object)(BA.numberCast(int.class, 0)));
 BA.debugLineNum = 72;BA.debugLine="panelSombra.Background = cd";
Debug.ShouldStop(128);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(false,"setBackground",(_cd.getObject()));
 BA.debugLineNum = 73;BA.debugLine="Private panelX As Panel 'Panel de la pregunta.";
Debug.ShouldStop(256);
_panelx = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");Debug.locals.put("panelX", _panelx);
 BA.debugLineNum = 74;BA.debugLine="panelX.Initialize(\"pQuest\")";
Debug.ShouldStop(512);
_panelx.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pQuest")));
 BA.debugLineNum = 75;BA.debugLine="panelActual = panelX";
Debug.ShouldStop(1024);
__ref.setField ("_panelactual" /*RemoteObject*/ ,_panelx);
 BA.debugLineNum = 76;BA.debugLine="Private lbl As Label 'Etiqueta de la pregunta.";
Debug.ShouldStop(2048);
_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lbl", _lbl);
 BA.debugLineNum = 77;BA.debugLine="lbl.Initialize(\"\")";
Debug.ShouldStop(4096);
_lbl.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));
 BA.debugLineNum = 78;BA.debugLine="lbl.Text = pregunta";
Debug.ShouldStop(8192);
_lbl.runMethod(true,"setText",BA.ObjectToCharSequence(_pregunta));
 BA.debugLineNum = 79;BA.debugLine="lbl.TextSize = 16";
Debug.ShouldStop(16384);
_lbl.runMethod(true,"setTextSize",BA.numberCast(float.class, 16));
 BA.debugLineNum = 80;BA.debugLine="lbl.TextColor = Colors.Black";
Debug.ShouldStop(32768);
_lbl.runMethod(true,"setTextColor",c_cuestionario.__c.getField(false,"Colors").getField(true,"Black"));
 BA.debugLineNum = 81;BA.debugLine="cd.Initialize2(Colors.white, 20, 1, Colors.Gray)";
Debug.ShouldStop(65536);
_cd.runVoidMethod ("Initialize2",(Object)(c_cuestionario.__c.getField(false,"Colors").getField(true,"White")),(Object)(BA.numberCast(int.class, 20)),(Object)(BA.numberCast(int.class, 1)),(Object)(c_cuestionario.__c.getField(false,"Colors").getField(true,"Gray")));
 BA.debugLineNum = 82;BA.debugLine="panelX.Background = cd";
Debug.ShouldStop(131072);
_panelx.runMethod(false,"setBackground",(_cd.getObject()));
 BA.debugLineNum = 83;BA.debugLine="panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 20";
Debug.ShouldStop(262144);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_panelx.getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 80)),__ref.getField(false, "ba"))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 200)))));
 BA.debugLineNum = 84;BA.debugLine="Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'a";
Debug.ShouldStop(524288);
__ref.getField(false,"_root2" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_cuestionario.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))),(Object)(c_cuestionario.__c.runMethod(true,"PerYToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))));
 BA.debugLineNum = 85;BA.debugLine="panelX.AddView(lbl, 20dip, 20dip, (panelX.Width *";
Debug.ShouldStop(1048576);
_panelx.runVoidMethod ("AddView",(Object)((_lbl.getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.9)}, "*",0, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 40)))));
 BA.debugLineNum = 86;BA.debugLine="lbl.Height = su.MeasureMultilineTextHeight(lbl, l";
Debug.ShouldStop(2097152);
_lbl.runMethod(true,"setHeight",_su.runMethod(true,"MeasureMultilineTextHeight",(Object)((_lbl.getObject())),(Object)(BA.ObjectToCharSequence(_lbl.runMethod(true,"getText")))));
 BA.debugLineNum = 87;BA.debugLine="Private cb(respuestas.Size) As CheckBox";
Debug.ShouldStop(4194304);
_cb = RemoteObject.createNewArray ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper", new int[] {_respuestas.runMethod(true,"getSize").<Integer>get().intValue()}, new Object[]{});Debug.locals.put("cb", _cb);
 BA.debugLineNum = 88;BA.debugLine="For p = 0 To respuestas.Size - 1";
Debug.ShouldStop(8388608);
{
final int step25 = 1;
final int limit25 = RemoteObject.solve(new RemoteObject[] {_respuestas.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_p = 0 ;
for (;(step25 > 0 && _p <= limit25) || (step25 < 0 && _p >= limit25) ;_p = ((int)(0 + _p + step25))  ) {
Debug.locals.put("p", _p);
 BA.debugLineNum = 89;BA.debugLine="cb(p).Initialize(\"cb\")";
Debug.ShouldStop(16777216);
_cb.getArrayElement(false,BA.numberCast(int.class, _p)).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("cb")));
 BA.debugLineNum = 90;BA.debugLine="cb(p).Text = respuestas.Get(p)";
Debug.ShouldStop(33554432);
_cb.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setText",BA.ObjectToCharSequence(_respuestas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p)))));
 BA.debugLineNum = 91;BA.debugLine="cb(p).Tag = CreateMap(\"id\":id, \"pregunta\":pregun";
Debug.ShouldStop(67108864);
_cb.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(false,"setTag",(c_cuestionario.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),(_id),RemoteObject.createImmutable(("pregunta")),(_pregunta),RemoteObject.createImmutable(("panel")),(__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).getObject()),RemoteObject.createImmutable(("idRespuesta")),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "+",1, 1))})).getObject()));
 BA.debugLineNum = 92;BA.debugLine="panelX.AddView(cb(p), 10dip, (70 * (p + 1)), (pa";
Debug.ShouldStop(134217728);
_panelx.runVoidMethod ("AddView",(Object)((_cb.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))),(Object)((RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(70),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "+",1, 1))}, "*",0, 1))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.9)}, "*",0, 0)))),(Object)(BA.numberCast(int.class, 10)));
 BA.debugLineNum = 93;BA.debugLine="cb(p).Height = su.MeasureMultilineTextHeight(cb(";
Debug.ShouldStop(268435456);
_cb.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {_su.runMethod(true,"MeasureMultilineTextHeight",(Object)((_cb.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())),(Object)(BA.ObjectToCharSequence(_cb.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"getText")))),RemoteObject.createImmutable(1)}, "+",1, 1));
 BA.debugLineNum = 94;BA.debugLine="Private newTop As Int = lbl.top + lbl.Height + 1";
Debug.ShouldStop(536870912);
_newtop = RemoteObject.solve(new RemoteObject[] {_lbl.runMethod(true,"getTop"),_lbl.runMethod(true,"getHeight"),RemoteObject.createImmutable(10)}, "++",2, 1);Debug.locals.put("newTop", _newtop);Debug.locals.put("newTop", _newtop);
 BA.debugLineNum = 95;BA.debugLine="If p <> 0 Then newTop =cb(p - 1).Top + cb(p - 1)";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("!",RemoteObject.createImmutable(_p),BA.numberCast(double.class, 0))) { 
_newtop = RemoteObject.solve(new RemoteObject[] {_cb.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getTop"),_cb.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getHeight"),RemoteObject.createImmutable(10)}, "++",2, 1);Debug.locals.put("newTop", _newtop);};
 BA.debugLineNum = 96;BA.debugLine="cb(p).Top = newTop";
Debug.ShouldStop(-2147483648);
_cb.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setTop",_newtop);
 }
}Debug.locals.put("p", _p);
;
 BA.debugLineNum = 98;BA.debugLine="bAceptarPregunta.Text = \"Continuar\"";
Debug.ShouldStop(2);
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Continuar"));
 BA.debugLineNum = 100;BA.debugLine="panelX.AddView(bAceptarPregunta, 10, newTop + cb(";
Debug.ShouldStop(8);
_panelx.runVoidMethod ("AddView",(Object)((__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 10)),(Object)(RemoteObject.solve(new RemoteObject[] {_newtop,_cb.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {_respuestas.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getHeight"),RemoteObject.createImmutable(20)}, "++",2, 1)),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 150)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)))));
 BA.debugLineNum = 101;BA.debugLine="bAceptarPregunta.Left = (panelX.Width / 2) - (bAc";
Debug.ShouldStop(16);
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 102;BA.debugLine="panelX.Height = bAceptarPregunta.Top + bAceptarPr";
Debug.ShouldStop(32);
_panelx.runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getTop"),__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getHeight"),c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 15)))}, "++",2, 1));
 BA.debugLineNum = 103;BA.debugLine="panelX.left = (Root2.Width / 2) - (panelX.Width /";
Debug.ShouldStop(64);
_panelx.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 104;BA.debugLine="panelX.top = (Root2.Height / 3) - (panelX.Height";
Debug.ShouldStop(128);
_panelx.runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(3)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getHeight"),RemoteObject.createImmutable(3)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 105;BA.debugLine="panelSombra.Width = Root2.Width";
Debug.ShouldStop(256);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 106;BA.debugLine="panelSombra.Height = Root2.Height";
Debug.ShouldStop(512);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 107;BA.debugLine="panelSombra.Elevation = 100";
Debug.ShouldStop(1024);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setElevation",BA.numberCast(float.class, 100));
 BA.debugLineNum = 108;BA.debugLine="panelSombra.BringToFront";
Debug.ShouldStop(2048);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("BringToFront");
 BA.debugLineNum = 110;BA.debugLine="End Sub";
Debug.ShouldStop(8192);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _agregapreguntaradio(RemoteObject __ref,RemoteObject _id,RemoteObject _pregunta,RemoteObject _respuestas) throws Exception{
try {
		Debug.PushSubsStack("agregaPreguntaRadio (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,112);
if (RapidSub.canDelegate("agregapreguntaradio")) { return __ref.runUserSub(false, "c_cuestionario","agregapreguntaradio", __ref, _id, _pregunta, _respuestas);}
RemoteObject _su = RemoteObject.declareNull("anywheresoftware.b4a.objects.StringUtils");
RemoteObject _cd = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.ColorDrawable");
RemoteObject _panelx = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper");
RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper");
RemoteObject _r = null;
int _p = 0;
RemoteObject _newtop = RemoteObject.createImmutable(0);
Debug.locals.put("id", _id);
Debug.locals.put("pregunta", _pregunta);
Debug.locals.put("respuestas", _respuestas);
 BA.debugLineNum = 112;BA.debugLine="Sub agregaPreguntaRadio(id As String, pregunta As";
Debug.ShouldStop(32768);
 BA.debugLineNum = 113;BA.debugLine="encuestaIniciada = True";
Debug.ShouldStop(65536);
__ref.setField ("_encuestainiciada" /*RemoteObject*/ ,c_cuestionario.__c.getField(true,"True"));
 BA.debugLineNum = 114;BA.debugLine="vPreguntaActual = id";
Debug.ShouldStop(131072);
__ref.setField ("_vpreguntaactual" /*RemoteObject*/ ,_id);
 BA.debugLineNum = 115;BA.debugLine="bAceptarPregunta.Initialize(\"bAceptarPregunta\")";
Debug.ShouldStop(262144);
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("bAceptarPregunta")));
 BA.debugLineNum = 116;BA.debugLine="Private su As StringUtils";
Debug.ShouldStop(524288);
_su = RemoteObject.createNew ("anywheresoftware.b4a.objects.StringUtils");Debug.locals.put("su", _su);
 BA.debugLineNum = 117;BA.debugLine="panelSombra.Initialize(\"pSombra\")";
Debug.ShouldStop(1048576);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pSombra")));
 BA.debugLineNum = 118;BA.debugLine="Private cd As ColorDrawable";
Debug.ShouldStop(2097152);
_cd = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.ColorDrawable");Debug.locals.put("cd", _cd);
 BA.debugLineNum = 119;BA.debugLine="cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0)";
Debug.ShouldStop(4194304);
_cd.runVoidMethod ("Initialize",(Object)(c_cuestionario.__c.getField(false,"Colors").runMethod(true,"ARGB",(Object)(BA.numberCast(int.class, 125)),(Object)(BA.numberCast(int.class, 98)),(Object)(BA.numberCast(int.class, 98)),(Object)(BA.numberCast(int.class, 98)))),(Object)(BA.numberCast(int.class, 0)));
 BA.debugLineNum = 120;BA.debugLine="panelSombra.Background = cd";
Debug.ShouldStop(8388608);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(false,"setBackground",(_cd.getObject()));
 BA.debugLineNum = 121;BA.debugLine="Private panelX As Panel 'Panel de la pregunta.";
Debug.ShouldStop(16777216);
_panelx = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");Debug.locals.put("panelX", _panelx);
 BA.debugLineNum = 122;BA.debugLine="panelX.Initialize(\"pQuest\")";
Debug.ShouldStop(33554432);
_panelx.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pQuest")));
 BA.debugLineNum = 123;BA.debugLine="panelActual = panelX";
Debug.ShouldStop(67108864);
__ref.setField ("_panelactual" /*RemoteObject*/ ,_panelx);
 BA.debugLineNum = 124;BA.debugLine="Private lbl As Label 'Etiqueta de la pregunta.";
Debug.ShouldStop(134217728);
_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lbl", _lbl);
 BA.debugLineNum = 125;BA.debugLine="lbl.Initialize(\"\")";
Debug.ShouldStop(268435456);
_lbl.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));
 BA.debugLineNum = 126;BA.debugLine="lbl.Text = pregunta";
Debug.ShouldStop(536870912);
_lbl.runMethod(true,"setText",BA.ObjectToCharSequence(_pregunta));
 BA.debugLineNum = 127;BA.debugLine="lbl.TextSize = 16";
Debug.ShouldStop(1073741824);
_lbl.runMethod(true,"setTextSize",BA.numberCast(float.class, 16));
 BA.debugLineNum = 128;BA.debugLine="lbl.TextColor = Colors.Black";
Debug.ShouldStop(-2147483648);
_lbl.runMethod(true,"setTextColor",c_cuestionario.__c.getField(false,"Colors").getField(true,"Black"));
 BA.debugLineNum = 129;BA.debugLine="cd.Initialize2(Colors.white, 20, 1, Colors.Gray)";
Debug.ShouldStop(1);
_cd.runVoidMethod ("Initialize2",(Object)(c_cuestionario.__c.getField(false,"Colors").getField(true,"White")),(Object)(BA.numberCast(int.class, 20)),(Object)(BA.numberCast(int.class, 1)),(Object)(c_cuestionario.__c.getField(false,"Colors").getField(true,"Gray")));
 BA.debugLineNum = 130;BA.debugLine="panelX.Background = cd";
Debug.ShouldStop(2);
_panelx.runMethod(false,"setBackground",(_cd.getObject()));
 BA.debugLineNum = 131;BA.debugLine="panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 20";
Debug.ShouldStop(4);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_panelx.getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 80)),__ref.getField(false, "ba"))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 200)))));
 BA.debugLineNum = 132;BA.debugLine="Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'a";
Debug.ShouldStop(8);
__ref.getField(false,"_root2" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_cuestionario.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))),(Object)(c_cuestionario.__c.runMethod(true,"PerYToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))));
 BA.debugLineNum = 133;BA.debugLine="panelX.AddView(lbl, 20dip, 20dip, (panelX.Width *";
Debug.ShouldStop(16);
_panelx.runVoidMethod ("AddView",(Object)((_lbl.getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.9)}, "*",0, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 40)))));
 BA.debugLineNum = 134;BA.debugLine="lbl.Height = su.MeasureMultilineTextHeight(lbl, l";
Debug.ShouldStop(32);
_lbl.runMethod(true,"setHeight",_su.runMethod(true,"MeasureMultilineTextHeight",(Object)((_lbl.getObject())),(Object)(BA.ObjectToCharSequence(_lbl.runMethod(true,"getText")))));
 BA.debugLineNum = 135;BA.debugLine="Private r(respuestas.Size) As RadioButton";
Debug.ShouldStop(64);
_r = RemoteObject.createNewArray ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper", new int[] {_respuestas.runMethod(true,"getSize").<Integer>get().intValue()}, new Object[]{});Debug.locals.put("r", _r);
 BA.debugLineNum = 136;BA.debugLine="For p = 0 To respuestas.Size - 1";
Debug.ShouldStop(128);
{
final int step24 = 1;
final int limit24 = RemoteObject.solve(new RemoteObject[] {_respuestas.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_p = 0 ;
for (;(step24 > 0 && _p <= limit24) || (step24 < 0 && _p >= limit24) ;_p = ((int)(0 + _p + step24))  ) {
Debug.locals.put("p", _p);
 BA.debugLineNum = 137;BA.debugLine="r(p).Initialize(\"r\")";
Debug.ShouldStop(256);
_r.getArrayElement(false,BA.numberCast(int.class, _p)).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("r")));
 BA.debugLineNum = 138;BA.debugLine="r(p).Text = respuestas.Get(p)";
Debug.ShouldStop(512);
_r.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setText",BA.ObjectToCharSequence(_respuestas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p)))));
 BA.debugLineNum = 139;BA.debugLine="r(p).Tag = CreateMap(\"id\":id, \"pregunta\":pregunt";
Debug.ShouldStop(1024);
_r.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(false,"setTag",(c_cuestionario.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),(_id),RemoteObject.createImmutable(("pregunta")),(_pregunta),RemoteObject.createImmutable(("panel")),(__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).getObject()),RemoteObject.createImmutable(("idRespuesta")),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "+",1, 1))})).getObject()));
 BA.debugLineNum = 140;BA.debugLine="panelX.AddView(r(p), 10dip, (70 * (p + 1)), (pan";
Debug.ShouldStop(2048);
_panelx.runVoidMethod ("AddView",(Object)((_r.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))),(Object)((RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(70),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "+",1, 1))}, "*",0, 1))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.9)}, "*",0, 0)))),(Object)(BA.numberCast(int.class, 10)));
 BA.debugLineNum = 141;BA.debugLine="r(p).Height = su.MeasureMultilineTextHeight(r(p)";
Debug.ShouldStop(4096);
_r.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {_su.runMethod(true,"MeasureMultilineTextHeight",(Object)((_r.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())),(Object)(BA.ObjectToCharSequence(_r.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"getText")))),RemoteObject.createImmutable(25)}, "+",1, 1));
 BA.debugLineNum = 142;BA.debugLine="Private newTop As Int = lbl.top + lbl.Height + 1";
Debug.ShouldStop(8192);
_newtop = RemoteObject.solve(new RemoteObject[] {_lbl.runMethod(true,"getTop"),_lbl.runMethod(true,"getHeight"),RemoteObject.createImmutable(10)}, "++",2, 1);Debug.locals.put("newTop", _newtop);Debug.locals.put("newTop", _newtop);
 BA.debugLineNum = 143;BA.debugLine="If p <> 0 Then newTop = r(p - 1).Top + r(p - 1).";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("!",RemoteObject.createImmutable(_p),BA.numberCast(double.class, 0))) { 
_newtop = RemoteObject.solve(new RemoteObject[] {_r.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getTop"),_r.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getHeight"),RemoteObject.createImmutable(5)}, "++",2, 1);Debug.locals.put("newTop", _newtop);};
 BA.debugLineNum = 144;BA.debugLine="r(p).Top = newTop";
Debug.ShouldStop(32768);
_r.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setTop",_newtop);
 }
}Debug.locals.put("p", _p);
;
 BA.debugLineNum = 146;BA.debugLine="r(0).Checked = True";
Debug.ShouldStop(131072);
_r.getArrayElement(false,BA.numberCast(int.class, 0)).runMethodAndSync(true,"setChecked",c_cuestionario.__c.getField(true,"True"));
 BA.debugLineNum = 147;BA.debugLine="bAceptarPregunta.Text = \"Continuar\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Continuar"));
 BA.debugLineNum = 149;BA.debugLine="panelX.AddView(bAceptarPregunta, 10, newTop + r(r";
Debug.ShouldStop(1048576);
_panelx.runVoidMethod ("AddView",(Object)((__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 10)),(Object)(RemoteObject.solve(new RemoteObject[] {_newtop,_r.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {_respuestas.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getHeight"),RemoteObject.createImmutable(20)}, "++",2, 1)),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 150)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)))));
 BA.debugLineNum = 150;BA.debugLine="bAceptarPregunta.Left = (panelX.Width / 2) - (bAc";
Debug.ShouldStop(2097152);
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 151;BA.debugLine="panelX.Height = bAceptarPregunta.Top + bAceptarPr";
Debug.ShouldStop(4194304);
_panelx.runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getTop"),__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getHeight"),c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 15)))}, "++",2, 1));
 BA.debugLineNum = 152;BA.debugLine="panelX.left = (Root2.Width / 2) - (panelX.Width /";
Debug.ShouldStop(8388608);
_panelx.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 153;BA.debugLine="panelX.top = (Root2.Height / 3) - (panelX.Height";
Debug.ShouldStop(16777216);
_panelx.runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(3)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0)));
 BA.debugLineNum = 154;BA.debugLine="panelSombra.Width = Root2.Width";
Debug.ShouldStop(33554432);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 155;BA.debugLine="panelSombra.Height = Root2.Height";
Debug.ShouldStop(67108864);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 156;BA.debugLine="panelSombra.Elevation = 100";
Debug.ShouldStop(134217728);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setElevation",BA.numberCast(float.class, 100));
 BA.debugLineNum = 157;BA.debugLine="panelSombra.BringToFront";
Debug.ShouldStop(268435456);
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("BringToFront");
 BA.debugLineNum = 158;BA.debugLine="End Sub";
Debug.ShouldStop(536870912);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_Created (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,32);
if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_cuestionario","b4xpage_created", __ref, _root1);}
Debug.locals.put("Root1", _root1);
 BA.debugLineNum = 32;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)";
Debug.ShouldStop(-2147483648);
 BA.debugLineNum = 33;BA.debugLine="Root = Root1";
Debug.ShouldStop(1);
__ref.setField ("_root" /*RemoteObject*/ ,_root1);
 BA.debugLineNum = 35;BA.debugLine="End Sub";
Debug.ShouldStop(4);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _baceptarpregunta_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("bAceptarPregunta_Click (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,338);
if (RapidSub.canDelegate("baceptarpregunta_click")) { return __ref.runUserSub(false, "c_cuestionario","baceptarpregunta_click", __ref);}
RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map");
 BA.debugLineNum = 338;BA.debugLine="Private Sub bAceptarPregunta_Click";
Debug.ShouldStop(131072);
 BA.debugLineNum = 339;BA.debugLine="encuestaIniciada = True";
Debug.ShouldStop(262144);
__ref.setField ("_encuestainiciada" /*RemoteObject*/ ,c_cuestionario.__c.getField(true,"True"));
 BA.debugLineNum = 340;BA.debugLine="Private m As Map = Sender.As(Button).tag.As(Map)";
Debug.ShouldStop(524288);
_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");
_m = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag")));Debug.locals.put("m", _m);Debug.locals.put("m", _m);
 BA.debugLineNum = 341;BA.debugLine="preguntaContestada(m)";
Debug.ShouldStop(1048576);
__ref.runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_preguntacontestada" /*RemoteObject*/ ,(Object)(_m));
 BA.debugLineNum = 354;BA.debugLine="End Sub";
Debug.ShouldStop(2);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _cb_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{
try {
		Debug.PushSubsStack("cb_CheckedChange (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,255);
if (RapidSub.canDelegate("cb_checkedchange")) { return __ref.runUserSub(false, "c_cuestionario","cb_checkedchange", __ref, _checked);}
RemoteObject _elcb = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");
RemoteObject _elcbmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map");
RemoteObject _cuantoschks = RemoteObject.createImmutable(0);
RemoteObject _v = RemoteObject.declareNull("anywheresoftware.b4a.objects.ConcreteViewWrapper");
RemoteObject _cb_idrespuestas = RemoteObject.createImmutable("");
Debug.locals.put("Checked", _checked);
 BA.debugLineNum = 255;BA.debugLine="private Sub cb_CheckedChange(Checked As Boolean)";
Debug.ShouldStop(1073741824);
 BA.debugLineNum = 256;BA.debugLine="Private elCB As CheckBox = Sender.As(CheckBox)";
Debug.ShouldStop(-2147483648);
_elcb = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");
_elcb = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("elCB", _elcb);Debug.locals.put("elCB", _elcb);
 BA.debugLineNum = 257;BA.debugLine="Private elCBMap As Map = elCB.tag.As(Map)";
Debug.ShouldStop(1);
_elcbmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");
_elcbmap = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _elcb.runMethod(false,"getTag")));Debug.locals.put("elCBMap", _elcbmap);Debug.locals.put("elCBMap", _elcbmap);
 BA.debugLineNum = 258;BA.debugLine="Private cuantosChks As Int = 0";
Debug.ShouldStop(2);
_cuantoschks = BA.numberCast(int.class, 0);Debug.locals.put("cuantosChks", _cuantoschks);Debug.locals.put("cuantosChks", _cuantoschks);
 BA.debugLineNum = 260;BA.debugLine="If elCB.Text = \"Ninguno de los anteriores\" And el";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",_elcb.runMethod(true,"getText"),BA.ObjectToString("Ninguno de los anteriores")) && RemoteObject.solveBoolean("=",_elcb.runMethod(true,"getChecked"),c_cuestionario.__c.getField(true,"True"))) { 
 BA.debugLineNum = 261;BA.debugLine="For Each v As View In panelActual.GetAllViewsRec";
Debug.ShouldStop(16);
_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.ConcreteViewWrapper");
{
final RemoteObject group5 = __ref.getField(false,"_panelactual" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive");
final int groupLen5 = group5.runMethod(true,"getSize").<Integer>get()
;int index5 = 0;
;
for (; index5 < groupLen5;index5++){
_v = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ConcreteViewWrapper"), group5.runMethod(false,"Get",index5));Debug.locals.put("v", _v);
Debug.locals.put("v", _v);
 BA.debugLineNum = 262;BA.debugLine="If getViewType(v) = \"CheckBox\" Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean("=",__ref.runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_getviewtype" /*RemoteObject*/ ,(Object)(_v)),BA.ObjectToString("CheckBox"))) { 
 BA.debugLineNum = 263;BA.debugLine="cuantosChks = cuantosChks + 1";
Debug.ShouldStop(64);
_cuantoschks = RemoteObject.solve(new RemoteObject[] {_cuantoschks,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cuantosChks", _cuantoschks);
 BA.debugLineNum = 264;BA.debugLine="v.As(CheckBox).Checked = False";
Debug.ShouldStop(128);
(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethodAndSync(true,"setChecked",c_cuestionario.__c.getField(true,"False"));
 BA.debugLineNum = 265;BA.debugLine="v.As(CheckBox).Enabled = False";
Debug.ShouldStop(256);
(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"False"));
 BA.debugLineNum = 268;BA.debugLine="If v.As(CheckBox).Text = \"Ninguno de los anter";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"getText"),BA.ObjectToString("Ninguno de los anteriores"))) { 
 BA.debugLineNum = 269;BA.debugLine="v.As(CheckBox).Enabled = True";
Debug.ShouldStop(4096);
(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"True"));
 BA.debugLineNum = 270;BA.debugLine="v.As(CheckBox).Checked = True";
Debug.ShouldStop(8192);
(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethodAndSync(true,"setChecked",c_cuestionario.__c.getField(true,"True"));
 };
 BA.debugLineNum = 272;BA.debugLine="If v.As(CheckBox).Checked Then cb_respuestas =";
Debug.ShouldStop(32768);
if ((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"getChecked").<Boolean>get().booleanValue()) { 
__ref.setField ("_cb_respuestas" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_cb_respuestas" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"getText")));};
 };
 }
}Debug.locals.put("v", _v);
;
 }else 
{ BA.debugLineNum = 275;BA.debugLine="else if elCB.Text = \"Ninguno de los anteriores\" A";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",_elcb.runMethod(true,"getText"),BA.ObjectToString("Ninguno de los anteriores")) && RemoteObject.solveBoolean("=",_elcb.runMethod(true,"getChecked"),c_cuestionario.__c.getField(true,"False"))) { 
 BA.debugLineNum = 276;BA.debugLine="For Each v As View In panelActual.GetAllViewsRec";
Debug.ShouldStop(524288);
_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.ConcreteViewWrapper");
{
final RemoteObject group18 = __ref.getField(false,"_panelactual" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive");
final int groupLen18 = group18.runMethod(true,"getSize").<Integer>get()
;int index18 = 0;
;
for (; index18 < groupLen18;index18++){
_v = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ConcreteViewWrapper"), group18.runMethod(false,"Get",index18));Debug.locals.put("v", _v);
Debug.locals.put("v", _v);
 BA.debugLineNum = 277;BA.debugLine="If getViewType(v) = \"CheckBox\" Then";
Debug.ShouldStop(1048576);
if (RemoteObject.solveBoolean("=",__ref.runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_getviewtype" /*RemoteObject*/ ,(Object)(_v)),BA.ObjectToString("CheckBox"))) { 
 BA.debugLineNum = 278;BA.debugLine="v.As(CheckBox).Enabled = True";
Debug.ShouldStop(2097152);
(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"True"));
 };
 }
}Debug.locals.put("v", _v);
;
 }}
;
 BA.debugLineNum = 282;BA.debugLine="If cuantosChks = 0 Then bAceptarPregunta.Enabled";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",_cuantoschks,BA.numberCast(double.class, 0))) { 
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"False"));};
 BA.debugLineNum = 283;BA.debugLine="cb_respuestas = \"\"";
Debug.ShouldStop(67108864);
__ref.setField ("_cb_respuestas" /*RemoteObject*/ ,BA.ObjectToString(""));
 BA.debugLineNum = 284;BA.debugLine="Private cb_idRespuestas As String= \"\"";
Debug.ShouldStop(134217728);
_cb_idrespuestas = BA.ObjectToString("");Debug.locals.put("cb_idRespuestas", _cb_idrespuestas);Debug.locals.put("cb_idRespuestas", _cb_idrespuestas);
 BA.debugLineNum = 285;BA.debugLine="For Each v As View In panelActual.GetAllViewsRecu";
Debug.ShouldStop(268435456);
_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.ConcreteViewWrapper");
{
final RemoteObject group27 = __ref.getField(false,"_panelactual" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive");
final int groupLen27 = group27.runMethod(true,"getSize").<Integer>get()
;int index27 = 0;
;
for (; index27 < groupLen27;index27++){
_v = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ConcreteViewWrapper"), group27.runMethod(false,"Get",index27));Debug.locals.put("v", _v);
Debug.locals.put("v", _v);
 BA.debugLineNum = 287;BA.debugLine="If getViewType(v) = \"CheckBox\" Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",__ref.runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_getviewtype" /*RemoteObject*/ ,(Object)(_v)),BA.ObjectToString("CheckBox"))) { 
 BA.debugLineNum = 290;BA.debugLine="If v.As(CheckBox).Checked Then";
Debug.ShouldStop(2);
if ((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"getChecked").<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 292;BA.debugLine="If cb_respuestas = \"\" Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cb_respuestas" /*RemoteObject*/ ),BA.ObjectToString(""))) { 
 BA.debugLineNum = 293;BA.debugLine="cb_respuestas = v.As(CheckBox).Text";
Debug.ShouldStop(16);
__ref.setField ("_cb_respuestas" /*RemoteObject*/ ,(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"getText"));
 BA.debugLineNum = 294;BA.debugLine="cb_idRespuestas = v.As(CheckBox).Tag.As(Map).";
Debug.ShouldStop(32);
_cb_idrespuestas = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idRespuesta")))));Debug.locals.put("cb_idRespuestas", _cb_idrespuestas);
 }else {
 BA.debugLineNum = 296;BA.debugLine="cb_respuestas = cb_respuestas &\"|\" & v.As(Che";
Debug.ShouldStop(128);
__ref.setField ("_cb_respuestas" /*RemoteObject*/ ,RemoteObject.concat(__ref.getField(true,"_cb_respuestas" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(true,"getText")));
 BA.debugLineNum = 297;BA.debugLine="cb_idRespuestas = cb_idRespuestas &\"|\" & v.As";
Debug.ShouldStop(256);
_cb_idrespuestas = RemoteObject.concat(_cb_idrespuestas,RemoteObject.createImmutable("|"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"), _v.getObject())).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idRespuesta")))));Debug.locals.put("cb_idRespuestas", _cb_idrespuestas);
 };
 BA.debugLineNum = 299;BA.debugLine="bAceptarPregunta.Enabled = True ' Si hay opcio";
Debug.ShouldStop(1024);
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"True"));
 };
 };
 }
}Debug.locals.put("v", _v);
;
 BA.debugLineNum = 306;BA.debugLine="bAceptarPregunta.tag = CreateMap(\"idPregunta\":elC";
Debug.ShouldStop(131072);
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(false,"setTag",(c_cuestionario.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("idPregunta")),((BA.ObjectToString(_elcbmap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id"))))))),RemoteObject.createImmutable(("pregunta")),_elcbmap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("pregunta")))),RemoteObject.createImmutable(("idRespuesta")),(_cb_idrespuestas),RemoteObject.createImmutable(("respuesta")),(__ref.getField(true,"_cb_respuestas" /*RemoteObject*/ )),RemoteObject.createImmutable(("panel")),_elcbmap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("panel"))))})).getObject()));
 BA.debugLineNum = 307;BA.debugLine="End Sub";
Debug.ShouldStop(262144);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _class_globals(RemoteObject __ref) throws Exception{
 //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals";
 //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore";
c_cuestionario._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_cuestionario._root);
 //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore";
c_cuestionario._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_cuestionario._xui);
 //BA.debugLineNum = 4;BA.debugLine="Private bAceptarPregunta As Button";
c_cuestionario._baceptarpregunta = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_baceptarpregunta",c_cuestionario._baceptarpregunta);
 //BA.debugLineNum = 5;BA.debugLine="Dim encuestaIniciada As Boolean = False";
c_cuestionario._encuestainiciada = c_cuestionario.__c.getField(true,"False");__ref.setField("_encuestainiciada",c_cuestionario._encuestainiciada);
 //BA.debugLineNum = 6;BA.debugLine="Private Root2 As B4XView";
c_cuestionario._root2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root2",c_cuestionario._root2);
 //BA.debugLineNum = 7;BA.debugLine="Private EventName As String 'ignore";
c_cuestionario._eventname = RemoteObject.createImmutable("");__ref.setField("_eventname",c_cuestionario._eventname);
 //BA.debugLineNum = 8;BA.debugLine="Private CallBack As Object 'ignore";
c_cuestionario._callback = RemoteObject.createNew ("Object");__ref.setField("_callback",c_cuestionario._callback);
 //BA.debugLineNum = 9;BA.debugLine="Private vPreguntaActual As String";
c_cuestionario._vpreguntaactual = RemoteObject.createImmutable("");__ref.setField("_vpreguntaactual",c_cuestionario._vpreguntaactual);
 //BA.debugLineNum = 10;BA.debugLine="Private db As SQL";
c_cuestionario._db = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_db",c_cuestionario._db);
 //BA.debugLineNum = 12;BA.debugLine="Dim panelSombra As Panel 'Panel de sombra.";
c_cuestionario._panelsombra = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panelsombra",c_cuestionario._panelsombra);
 //BA.debugLineNum = 13;BA.debugLine="Dim cb_respuestas As String = \"\"";
c_cuestionario._cb_respuestas = BA.ObjectToString("");__ref.setField("_cb_respuestas",c_cuestionario._cb_respuestas);
 //BA.debugLineNum = 14;BA.debugLine="Dim panelActual As Panel";
c_cuestionario._panelactual = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panelactual",c_cuestionario._panelactual);
 //BA.debugLineNum = 15;BA.debugLine="Dim bringToFrontCont As Int = 0";
c_cuestionario._bringtofrontcont = BA.numberCast(int.class, 0);__ref.setField("_bringtofrontcont",c_cuestionario._bringtofrontcont);
 //BA.debugLineNum = 16;BA.debugLine="End Sub";
return RemoteObject.createImmutable("");
}
public static RemoteObject  _clienteconcuestionario(RemoteObject __ref,RemoteObject _idcliente) throws Exception{
try {
		Debug.PushSubsStack("clienteConCuestionario (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,357);
if (RapidSub.canDelegate("clienteconcuestionario")) { return __ref.runUserSub(false, "c_cuestionario","clienteconcuestionario", __ref, _idcliente);}
RemoteObject _r = RemoteObject.createImmutable(false);
RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
Debug.locals.put("idCliente", _idcliente);
 BA.debugLineNum = 357;BA.debugLine="Sub clienteConCuestionario(idCliente As String) As";
Debug.ShouldStop(16);
 BA.debugLineNum = 358;BA.debugLine="Private r As Boolean = False";
Debug.ShouldStop(32);
_r = c_cuestionario.__c.getField(true,"False");Debug.locals.put("r", _r);Debug.locals.put("r", _r);
 BA.debugLineNum = 359;BA.debugLine="Private c As Cursor = db.ExecQuery($\"select count";
Debug.ShouldStop(64);
_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_db" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select count(*) as q from CUESTIONARIO where Q_IDCLIENTE = '"),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c);
 BA.debugLineNum = 360;BA.debugLine="c.Position = 0";
Debug.ShouldStop(128);
_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 361;BA.debugLine="If c.GetInt(\"q\") > 0 Then r = True";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean(">",_c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("q"))),BA.numberCast(double.class, 0))) { 
_r = c_cuestionario.__c.getField(true,"True");Debug.locals.put("r", _r);};
 BA.debugLineNum = 362;BA.debugLine="Return r";
Debug.ShouldStop(512);
if (true) return _r;
 BA.debugLineNum = 363;BA.debugLine="End Sub";
Debug.ShouldStop(1024);
return RemoteObject.createImmutable(false);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _et_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{
try {
		Debug.PushSubsStack("et_TextChanged (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,309);
if (RapidSub.canDelegate("et_textchanged")) { return __ref.runUserSub(false, "c_cuestionario","et_textchanged", __ref, _old, _new);}
RemoteObject _ettotales = RemoteObject.createImmutable(0);
RemoteObject _etcont = RemoteObject.createImmutable(0);
RemoteObject _etresps = RemoteObject.createImmutable("");
RemoteObject _etidresps = RemoteObject.createImmutable("");
RemoteObject _v = RemoteObject.declareNull("anywheresoftware.b4a.objects.ConcreteViewWrapper");
Debug.locals.put("Old", _old);
Debug.locals.put("New", _new);
 BA.debugLineNum = 309;BA.debugLine="Private Sub et_TextChanged(Old As String, New As S";
Debug.ShouldStop(1048576);
 BA.debugLineNum = 310;BA.debugLine="Log($\"${Old}, ${New}\"$)";
Debug.ShouldStop(2097152);
c_cuestionario.__c.runVoidMethod ("LogImpl","074317825",(RemoteObject.concat(RemoteObject.createImmutable(""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_old))),RemoteObject.createImmutable(", "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_new))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 311;BA.debugLine="Private etTotales As Int = 0";
Debug.ShouldStop(4194304);
_ettotales = BA.numberCast(int.class, 0);Debug.locals.put("etTotales", _ettotales);Debug.locals.put("etTotales", _ettotales);
 BA.debugLineNum = 312;BA.debugLine="Private etCont As Int = 0";
Debug.ShouldStop(8388608);
_etcont = BA.numberCast(int.class, 0);Debug.locals.put("etCont", _etcont);Debug.locals.put("etCont", _etcont);
 BA.debugLineNum = 313;BA.debugLine="Private etResps As String = \"\"";
Debug.ShouldStop(16777216);
_etresps = BA.ObjectToString("");Debug.locals.put("etResps", _etresps);Debug.locals.put("etResps", _etresps);
 BA.debugLineNum = 314;BA.debugLine="Private etIdResps As String = \"\"";
Debug.ShouldStop(33554432);
_etidresps = BA.ObjectToString("");Debug.locals.put("etIdResps", _etidresps);Debug.locals.put("etIdResps", _etidresps);
 BA.debugLineNum = 315;BA.debugLine="For Each v As View In panelActual.GetAllViewsRecu";
Debug.ShouldStop(67108864);
_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.ConcreteViewWrapper");
{
final RemoteObject group6 = __ref.getField(false,"_panelactual" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive");
final int groupLen6 = group6.runMethod(true,"getSize").<Integer>get()
;int index6 = 0;
;
for (; index6 < groupLen6;index6++){
_v = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ConcreteViewWrapper"), group6.runMethod(false,"Get",index6));Debug.locals.put("v", _v);
Debug.locals.put("v", _v);
 BA.debugLineNum = 317;BA.debugLine="If getViewType(v) = \"EditText\" Then";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",__ref.runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_getviewtype" /*RemoteObject*/ ,(Object)(_v)),BA.ObjectToString("EditText"))) { 
 BA.debugLineNum = 318;BA.debugLine="etTotales = etTotales + 1";
Debug.ShouldStop(536870912);
_ettotales = RemoteObject.solve(new RemoteObject[] {_ettotales,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("etTotales", _ettotales);
 BA.debugLineNum = 320;BA.debugLine="If v.As(EditText).text <> \"\" Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("!",(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _v.getObject())).runMethod(true,"getText"),BA.ObjectToString(""))) { 
 BA.debugLineNum = 321;BA.debugLine="etCont = etCont + 1";
Debug.ShouldStop(1);
_etcont = RemoteObject.solve(new RemoteObject[] {_etcont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("etCont", _etcont);
 BA.debugLineNum = 322;BA.debugLine="If etResps = \"\" Then";
Debug.ShouldStop(2);
if (RemoteObject.solveBoolean("=",_etresps,BA.ObjectToString(""))) { 
 BA.debugLineNum = 323;BA.debugLine="etResps = v.As(EditText).Text";
Debug.ShouldStop(4);
_etresps = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _v.getObject())).runMethod(true,"getText");Debug.locals.put("etResps", _etresps);
 BA.debugLineNum = 324;BA.debugLine="etIdResps = v.As(EditText).Tag.As(Map).Get(\"i";
Debug.ShouldStop(8);
_etidresps = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _v.getObject())).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idRespuesta")))));Debug.locals.put("etIdResps", _etidresps);
 }else {
 BA.debugLineNum = 326;BA.debugLine="etResps = etResps &\"|\" & v.As(EditText).Text";
Debug.ShouldStop(32);
_etresps = RemoteObject.concat(_etresps,RemoteObject.createImmutable("|"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _v.getObject())).runMethod(true,"getText"));Debug.locals.put("etResps", _etresps);
 BA.debugLineNum = 327;BA.debugLine="etIdResps = etIdResps &\"|\" & v.As(EditText).T";
Debug.ShouldStop(64);
_etidresps = RemoteObject.concat(_etidresps,RemoteObject.createImmutable("|"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _v.getObject())).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idRespuesta")))));Debug.locals.put("etIdResps", _etidresps);
 };
 };
 };
 }
}Debug.locals.put("v", _v);
;
 BA.debugLineNum = 333;BA.debugLine="Log($\"${etCont}, ${etTotales}\"$)";
Debug.ShouldStop(4096);
c_cuestionario.__c.runVoidMethod ("LogImpl","074317848",(RemoteObject.concat(RemoteObject.createImmutable(""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_etcont))),RemoteObject.createImmutable(", "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_ettotales))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 334;BA.debugLine="bAceptarPregunta.Tag = CreateMap(\"idPregunta\":Sen";
Debug.ShouldStop(8192);
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(false,"setTag",(c_cuestionario.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("idPregunta")),((BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id"))))))),RemoteObject.createImmutable(("pregunta")),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("pregunta")))),RemoteObject.createImmutable(("idRespuesta")),(_etidresps),RemoteObject.createImmutable(("respuesta")),(_etresps),RemoteObject.createImmutable(("panel")),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("panel"))))})).getObject()));
 BA.debugLineNum = 335;BA.debugLine="If etCont = etTotales Then bAceptarPregunta.Enabl";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",_etcont,BA.numberCast(double.class, _ettotales))) { 
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"True"));}
else {
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cuestionario.__c.getField(true,"False"));};
 BA.debugLineNum = 336;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _getviewtype(RemoteObject __ref,RemoteObject _v) throws Exception{
try {
		Debug.PushSubsStack("getViewType (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,391);
if (RapidSub.canDelegate("getviewtype")) { return __ref.runUserSub(false, "c_cuestionario","getviewtype", __ref, _v);}
RemoteObject _t = RemoteObject.createImmutable("");
RemoteObject _t2 = null;
Debug.locals.put("v", _v);
 BA.debugLineNum = 391;BA.debugLine="Sub getViewType (v As View) As String 'ignore";
Debug.ShouldStop(64);
 BA.debugLineNum = 392;BA.debugLine="Private t As String = GetType(v)";
Debug.ShouldStop(128);
_t = c_cuestionario.__c.runMethod(true,"GetType",(Object)((_v.getObject())));Debug.locals.put("t", _t);Debug.locals.put("t", _t);
 BA.debugLineNum = 394;BA.debugLine="Private t2() As String = Regex.Split(\"\\.\", t)";
Debug.ShouldStop(512);
_t2 = c_cuestionario.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\.")),(Object)(_t));Debug.locals.put("t2", _t2);Debug.locals.put("t2", _t2);
 BA.debugLineNum = 396;BA.debugLine="If t2.Length = 3 Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",_t2.getField(true,"length"),BA.numberCast(double.class, 3))) { 
 BA.debugLineNum = 397;BA.debugLine="t = t2(2)";
Debug.ShouldStop(4096);
_t = _t2.getArrayElement(true,BA.numberCast(int.class, 2));Debug.locals.put("t", _t);
 };
 BA.debugLineNum = 399;BA.debugLine="Return t";
Debug.ShouldStop(16384);
if (true) return _t;
 BA.debugLineNum = 400;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _vcallback,RemoteObject _veventname,RemoteObject _vroot,RemoteObject _skmt) throws Exception{
try {
		Debug.PushSubsStack("Initialize (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,19);
if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_cuestionario","initialize", __ref, _ba, _vcallback, _veventname, _vroot, _skmt);}
__ref.runVoidMethodAndSync("innerInitializeHelper", _ba);
Debug.locals.put("ba", _ba);
Debug.locals.put("vCallback", _vcallback);
Debug.locals.put("vEventName", _veventname);
Debug.locals.put("vRoot", _vroot);
Debug.locals.put("skmt", _skmt);
 BA.debugLineNum = 19;BA.debugLine="Public Sub Initialize (vCallback As Object, vEvent";
Debug.ShouldStop(262144);
 BA.debugLineNum = 20;BA.debugLine="Root2 = vRoot";
Debug.ShouldStop(524288);
__ref.setField ("_root2" /*RemoteObject*/ ,_vroot);
 BA.debugLineNum = 21;BA.debugLine="EventName = vEventName";
Debug.ShouldStop(1048576);
__ref.setField ("_eventname" /*RemoteObject*/ ,_veventname);
 BA.debugLineNum = 22;BA.debugLine="CallBack = vCallback";
Debug.ShouldStop(2097152);
__ref.setField ("_callback" /*RemoteObject*/ ,_vcallback);
 BA.debugLineNum = 23;BA.debugLine="db = skmt";
Debug.ShouldStop(4194304);
__ref.setField ("_db" /*RemoteObject*/ ,_skmt);
 BA.debugLineNum = 24;BA.debugLine="vPreguntaActual = 0";
Debug.ShouldStop(8388608);
__ref.setField ("_vpreguntaactual" /*RemoteObject*/ ,BA.NumberToString(0));
 BA.debugLineNum = 25;BA.debugLine="db.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CUEST";
Debug.ShouldStop(16777216);
__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CUESTIONARIO (Q_RUTA TEXT, Q_ALMACEN TEXT, Q_IDCLIENTE TEXT, Q_IDPREGUNTA TEXT, Q_PREGUNTA TEXT, Q_IDRESPUESTA TEXT, Q_RESPUESTA TEXT, Q_FECHA TEXT, Q_ENVIO_OK INTEGER DEFAULT 0)")));
 BA.debugLineNum = 26;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_RUTA\", \"TEXT\")";
Debug.ShouldStop(33554432);
__ref.runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_agregacolumna" /*RemoteObject*/ ,(Object)(BA.ObjectToString("CUESTIONARIO")),(Object)(BA.ObjectToString("Q_RUTA")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 27;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_ALMACEN\", \"TEXT\"";
Debug.ShouldStop(67108864);
__ref.runClassMethod (gunav2.keymon.com.mx.c_cuestionario.class, "_agregacolumna" /*RemoteObject*/ ,(Object)(BA.ObjectToString("CUESTIONARIO")),(Object)(BA.ObjectToString("Q_ALMACEN")),(Object)(RemoteObject.createImmutable("TEXT")));
 BA.debugLineNum = 28;BA.debugLine="Return Me";
Debug.ShouldStop(134217728);
if (true) return __ref;
 BA.debugLineNum = 29;BA.debugLine="End Sub";
Debug.ShouldStop(268435456);
return RemoteObject.createImmutable(null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _ocultpanelpregunta(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("ocultPanelPregunta (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,366);
if (RapidSub.canDelegate("ocultpanelpregunta")) { return __ref.runUserSub(false, "c_cuestionario","ocultpanelpregunta", __ref);}
 BA.debugLineNum = 366;BA.debugLine="Sub ocultPanelPregunta";
Debug.ShouldStop(8192);
 BA.debugLineNum = 367;BA.debugLine="If panelSombra.IsInitialized Then panelSombra.Rem";
Debug.ShouldStop(16384);
if (__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"IsInitialized").<Boolean>get().booleanValue()) { 
__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("RemoveView");};
 BA.debugLineNum = 368;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _preguntaactual(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("preguntaActual (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,43);
if (RapidSub.canDelegate("preguntaactual")) { return __ref.runUserSub(false, "c_cuestionario","preguntaactual", __ref);}
 BA.debugLineNum = 43;BA.debugLine="Sub preguntaActual As String 'ignore";
Debug.ShouldStop(1024);
 BA.debugLineNum = 44;BA.debugLine="Return vPreguntaActual";
Debug.ShouldStop(2048);
if (true) return __ref.getField(true,"_vpreguntaactual" /*RemoteObject*/ );
 BA.debugLineNum = 45;BA.debugLine="End Sub";
Debug.ShouldStop(4096);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _preguntacontestada(RemoteObject __ref,RemoteObject _success) throws Exception{
try {
		Debug.PushSubsStack("preguntaContestada (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,242);
if (RapidSub.canDelegate("preguntacontestada")) { return __ref.runUserSub(false, "c_cuestionario","preguntacontestada", __ref, _success);}
Debug.locals.put("Success", _success);
 BA.debugLineNum = 242;BA.debugLine="private Sub preguntaContestada(Success As Map) 'ig";
Debug.ShouldStop(131072);
 BA.debugLineNum = 243;BA.debugLine="If SubExists(CallBack, EventName & \"_preguntaCont";
Debug.ShouldStop(262144);
if (c_cuestionario.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_preguntaContestada")))).<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 244;BA.debugLine="CallSubDelayed2(CallBack, EventName & \"_pregunta";
Debug.ShouldStop(524288);
c_cuestionario.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_preguntaContestada"))),(Object)((_success)));
 };
 BA.debugLineNum = 246;BA.debugLine="End Sub";
Debug.ShouldStop(2097152);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _psombra_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("pSombra_Click (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,248);
if (RapidSub.canDelegate("psombra_click")) { return __ref.runUserSub(false, "c_cuestionario","psombra_click", __ref);}
 BA.debugLineNum = 248;BA.debugLine="private Sub pSombra_Click";
Debug.ShouldStop(8388608);
 BA.debugLineNum = 249;BA.debugLine="End Sub";
Debug.ShouldStop(16777216);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _r_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{
try {
		Debug.PushSubsStack("r_CheckedChange (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,251);
if (RapidSub.canDelegate("r_checkedchange")) { return __ref.runUserSub(false, "c_cuestionario","r_checkedchange", __ref, _checked);}
Debug.locals.put("Checked", _checked);
 BA.debugLineNum = 251;BA.debugLine="private Sub r_CheckedChange(Checked As Boolean)";
Debug.ShouldStop(67108864);
 BA.debugLineNum = 252;BA.debugLine="bAceptarPregunta.tag = CreateMap(\"idPregunta\":Sen";
Debug.ShouldStop(134217728);
__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(false,"setTag",(c_cuestionario.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("idPregunta")),((BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id"))))))),RemoteObject.createImmutable(("pregunta")),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("pregunta")))),RemoteObject.createImmutable(("idRespuesta")),((BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idRespuesta"))))))),RemoteObject.createImmutable(("respuesta")),((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")),RemoteObject.createImmutable(("panel")),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("panel"))))})).getObject()));
 BA.debugLineNum = 253;BA.debugLine="End Sub";
Debug.ShouldStop(268435456);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _strtolist(RemoteObject __ref,RemoteObject _str) throws Exception{
try {
		Debug.PushSubsStack("strToList (c_cuestionario) ","c_cuestionario",16,__ref.getField(false, "ba"),__ref,403);
if (RapidSub.canDelegate("strtolist")) { return __ref.runUserSub(false, "c_cuestionario","strtolist", __ref, _str);}
RemoteObject _resps = null;
RemoteObject _l = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List");
int _r = 0;
Debug.locals.put("str", _str);
 BA.debugLineNum = 403;BA.debugLine="Sub strToList(str As String) As List 'ignore";
Debug.ShouldStop(262144);
 BA.debugLineNum = 404;BA.debugLine="Private resps() As String = Regex.Split(\"\\|\", str";
Debug.ShouldStop(524288);
_resps = c_cuestionario.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(_str));Debug.locals.put("resps", _resps);Debug.locals.put("resps", _resps);
 BA.debugLineNum = 405;BA.debugLine="Private l As List";
Debug.ShouldStop(1048576);
_l = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("l", _l);
 BA.debugLineNum = 406;BA.debugLine="l.Initialize";
Debug.ShouldStop(2097152);
_l.runVoidMethod ("Initialize");
 BA.debugLineNum = 407;BA.debugLine="For r = 0 To resps.Length - 1";
Debug.ShouldStop(4194304);
{
final int step4 = 1;
final int limit4 = RemoteObject.solve(new RemoteObject[] {_resps.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_r = 0 ;
for (;(step4 > 0 && _r <= limit4) || (step4 < 0 && _r >= limit4) ;_r = ((int)(0 + _r + step4))  ) {
Debug.locals.put("r", _r);
 BA.debugLineNum = 408;BA.debugLine="l.Add(resps(r))";
Debug.ShouldStop(8388608);
_l.runVoidMethod ("Add",(Object)((_resps.getArrayElement(true,BA.numberCast(int.class, _r)))));
 }
}Debug.locals.put("r", _r);
;
 BA.debugLineNum = 410;BA.debugLine="Return l";
Debug.ShouldStop(33554432);
if (true) return _l;
 BA.debugLineNum = 411;BA.debugLine="End Sub";
Debug.ShouldStop(67108864);
return RemoteObject.createImmutable(null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}