Hello,
under B4J, I have this message in the window's compiler :
'---------------------------------------------------------------
B4J line: 208
If Code = xui.DialogResponse_Cancel Then xbtn.Req
shell\src\b4j\depenses\b4xdialog_subs_0.java:409: error: method solveBoolean in class RemoteObject cannot be applied to given types;
if (RemoteObject.solveBoolean("=",b4xdialog._code,BA.numberCast(double.class, __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Cancel")))) {
^
required: String,RemoteObject[]
found: String,code,RemoteObject
reason: varargs mismatch; code cannot be converted to RemoteObject
1 error
'--------------------------------------------------------------
The app works in Release mode, not in Debug mode.
I see this line which seems to be the point of the error
'--------------------------------------------------------------
If Code = xui.DialogResponse_Cancel Then xbtn.Req
'--------------------------------------------------------------
but the only one xui.DialogResponse I have is
which works finely.
What can I do ?
under B4J, I have this message in the window's compiler :
'---------------------------------------------------------------
B4J line: 208
If Code = xui.DialogResponse_Cancel Then xbtn.Req
shell\src\b4j\depenses\b4xdialog_subs_0.java:409: error: method solveBoolean in class RemoteObject cannot be applied to given types;
if (RemoteObject.solveBoolean("=",b4xdialog._code,BA.numberCast(double.class, __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Cancel")))) {
^
required: String,RemoteObject[]
found: String,code,RemoteObject
reason: varargs mismatch; code cannot be converted to RemoteObject
1 error
'--------------------------------------------------------------
The app works in Release mode, not in Debug mode.
I see this line which seems to be the point of the error
'--------------------------------------------------------------
If Code = xui.DialogResponse_Cancel Then xbtn.Req
'--------------------------------------------------------------
but the only one xui.DialogResponse I have is
xui.Msgbox2Async:
Dim sf As Object = xui.Msgbox2Async(msg,"UTILISER LA SAISIE EN COURS","Oui","","Non",Null)
Wait For (sf) Msgbox_Result (Result As Int)
If Result = xui.DialogResponse_Positive Then
lblid00.Text=""
End If
which works finely.
What can I do ?