-
Posts
19706 -
Joined
-
Last visited
-
Days Won
637
Content Type
Profiles
Forums
Events
Posts posted by Sherzod
-
-
5 minutes ago, eduardosuruagy said:
if (timeString == ''0'') {
You need to check for the seconds variable.
6 minutes ago, eduardosuruagy said:ajaxRequest(''stopTime'');
Well, this is wrong of course, follow the sequence of parameters.
- 1
-
4 minutes ago, eduardosuruagy said:
Yes and when it reaches zero I would like to execute an event or show a message to the user
Well, inside the run function:
if (condition that seconds is equal to or less than zero...) { Ext.TaskManager.stop(' + Self.Name + '.timer); //I think you should also stop the timer ajaxRequest(...); //There may be other codes as well }
-
1 hour ago, eduardosuruagy said:
I wanted to execute a command when the timer reaches zero, how can I catch this event and execute the command?
1 hour ago, eduardosuruagy said:JSCODE := Self.Name + '.seconds = 60; ' +
Are you using a minute countdown?
-
-
32 minutes ago, eduardosuruagy said:
but how do you know when the timer reaches zero?
You can test this for zero:
17 minutes ago, eduardosuruagy said:.seconds
-
Well,
12 minutes ago, eduardosuruagy said:I managed to do the countdown
In what manner?
-
22 minutes ago, andyhill said:
I am after the same parameters as above:-
Yes.
'boxready', 'function(sender, width, height, eOpts) {...'
'hide', 'function(sender, eOpts) {...'
-
58 minutes ago, bbm said:
Is it possible to restrict the file types that can be uploaded?
Hello,
This post may help you:
-
22 minutes ago, eduardosuruagy said:
Is there a way to set a countdown timer starting at 5 minutes?
7 minutes ago, picyka said:TrayClock (on the client side) - Components and Code Samples - uniGUI Discussion Forums
You can modify the code for the countdown.
-
2 minutes ago, andyhill said:
Can you please give me examples on how to add listeners with their appropriate parameters:-
"hide"
"boxready"
Like this for example:
-
Hello,
We will check.
-
14 hours ago, Serg said:
Leaflet карта
Должны быть плагины для этого.
Прикрепите тестовый случай, если Вас это не затруднит. Я попробую проанализировать.
-
I still don't understand, sorry.
The height of the grid rows may not be the same. Or in your case are they the same?
14 hours ago, Alexandre Storti said:fit on the screen
Do you mean grid View?
When, say, there is scrolling and all the records do not fit and you want to find out the visible rows? -
Hello @andyhill
We will check.
But, try also adding an event via grdSuppliers.JSInterface.JSAddListener() and check if it works.
-
Добрый день!
А что там?
-
8 minutes ago, eduardosuruagy said:
is there any way I can remove the All *.* option?
No, it's not possible.
- 1
-
21 hours ago, eduardosuruagy said:
Can I change the filter property? Can I put 2 different filters?
Example:
*.pdf
*.txtTry this approach for now:
procedure TMainForm.UniButton1Click(Sender: TObject); begin with UniFileUploadButton1 do begin Filter := '.pdf,.txt'; JSInterface.JSCall('fileInputEl.dom.setAttribute', ['accept', Filter]); end; end;
-
46 minutes ago, eduardosuruagy said:
if I pass another filter at run time it doesn't work
I will try to check.
- 1
-
7 hours ago, eduardosuruagy said:
Can I change the filter property? Can I put 2 different filters?
Filter := '.pdf,.txt';
-
ItemList:
procedure TMainmForm.UnimFormCreate(Sender: TObject); begin with UnimComboBox1 do JSInterface.JSConfig('itemTpl', ['<span class="x-list-label" style="color:green; font-size:14px; font-style: italic;">{val:htmlEncode}</span>']); end;
- 1
-
-
1 hour ago, Jean-Marc Kiener said:
UniApplication.parameters will not recognize it
You can use this:
strVal := UniSession.ARequest.Params.Values['YourParameter'];
-
32 minutes ago, mazluta said:
UniImage
UnimImage?
-
Hello,
You need to encode the string, or just try replacing & with %26
Get the height of the grid area and the height of each line.
in General
Posted
This post may help you to analyze and use the code (you may also need to modify the code for your need):