Yes, my problem has been resolved
Thank you very much; your support is greatly appreciated ≧°◡°≦Yes, my problem has been resolved
Thank you very much; your support is greatly appreciated ≧°◡°≦Hello David
sorry for my thread with different question
please test this code:
Loop "1" "2" "[A]"
StartJS
window.App.RootScope['Radio' + window.App.RootScope.A].Disabled = 'true';
EndJS
EndLoop
StartJS
$('#Radio1').on('touchstart click', function (event) {
if (event.type == "touchstart") $(this).off('click');
if (Radio1.disabled) {
alert("disable");
}
else {
alert("enable");
}
});
EndJS
we see this alert: enable, In the event that the radio button is disable.
Thank you for all your assistance.
Hi David,
I have 2 questions:
1
I have the problem with show/hide and disable/enable with AB and JS,
when a control disabled with AB I can not enable that with JS, Actually if I disable a control with AB I should enable it with AB(didn't work with JS) or vice versa.
This is also true for show/hide.
How can I use both of them together?
2
how can disable radio button with this cod?
Loop "1" "5" "[A]"
StartJS
var bb= ['Radio' + window.App.RootScope.A];
$(bb).prop( "disabled", true );
EndJS
EndLoopthanks,
Hello David,
Thanks for your description, I solved this problem with set/get opacity.
Thank you again,
Hello David,
I have a progress bar, when I click in progress bar I show a message box, How can disable the progress bar?(when user click in progress bar didn't show message box)
I use this cod:
Disable "Progressbar1"
But it didn't work!
Thank you,
Hello David,
I have a progress bar, I want change Percentage without any range control, e.g.,
SetVar "Progressbar1.Percentage" "10" "String"
But it doesn't work!
How can use it?
Thanks a lot.Hello David,
I want change the control(Label4) text with variable, F.e:
SetVar "[a]" "4" "String"
SetVar "lbl" "Label[a]" "String"
SetVar "[lbl.Text]" "yes" "String"
But it doesn't change,
How can do it?
I sent the image to you
I appreciate it.
Hi David,
yes, we have a warning, the app can continue working but my sound didn't play.
also I solved my problem, I should stopped all media player after that played 1 media player
we can not play some media player with each other!
I have a photo from this warning, how can I send you?
Thank you
Hi David,
I have a media player that takes different source in different parts of my program,
I want use it but Sometime, when run my program with chrome browser, i have this error:"uncaught (in promise) domexception"
what's problem?
my cod:
MediaStop "MediaPlayer"
MediaSetVolume "MediaPlayer" "100"
MediaSetSource "MediaPlayer" "" "app/files/GetStar.mp3" "" ""
MediaPlay "MediaPlayer"
Thank you
Hello David,
Thanks for your explanation and help, I wrote a function that controls all the events and functions inside the program, my problem has been resolved.
Thanks a bunch,
Hi David,
I apologize for the delay in replying to you, I explain more, Sometimes I need the whole program do not work (locked) but only an animation(this animation made with some css classes and controlled by a function in AB) is run(like message box).
-Do we have an AB function that does it?
Thanks
Hi David,
I have a function, in this function I call some CSS Class
Now, I want use BlockApp with this function
Actually, I want stop my app and run my function after that continue my app.
How can I do this?
I am very thankful,
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.
This website uses some useful cookies to store your preferences.