Posts by Ava Rashidi

Show threads by Ava Rashidi
44 posts found, page 1 of 3

Ava Rashidi (In thread: Disable in AB enable in JS)

Yes, my problem has been resolved

Thank you very much; your support is greatly appreciated ≧°◡°≦

Ava Rashidi (In thread: Disable in AB enable in JS)

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.


Ava Rashidi (In thread: Disable in AB enable in JS)

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

EndLoop

thanks,


Ava Rashidi (In thread: disable progress bar)

Hello David,

Thanks for your description, I solved this problem with set/get opacity.

Thank you again,


Ava Rashidi (In thread: disable progress bar)

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,


Ava Rashidi (In thread: change Progress bar Percentage)
yes, its true. Thank you I really appreciate your help.

Ava Rashidi (In thread: change Progress bar Percentage)

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.

Ava Rashidi (In thread: Change label text with variable)
Thank you so much.

Ava Rashidi (In thread: Change label text with variable)

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?


Ava Rashidi (In thread: media player don't play audio)

I sent the image to you

I appreciate it.


Ava Rashidi (In thread: media player don't play audio)

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


Ava Rashidi (In thread: media player don't play audio)

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


Ava Rashidi (In thread: Execute after certain CSS animation)

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,


Ava Rashidi (In thread: Execute after certain CSS animation)

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


Ava Rashidi (In thread: Execute after certain CSS animation)

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.

I agree. Hide this note. Give me more information.