zilav
-
Posts
573 -
Joined
-
Last visited
-
Days Won
44
Content Type
Profiles
Forums
Events
Posts posted by zilav
-
-
I ended up showing my custom checkbox html element in a grid cell with onclick AjaxRequest method that manages IDs of selected records in TList.
-
"Finally" section will be always executed, so don't worry.
However you might consider changing to use DB stored procedures in such cases, it is a better practice.
-
No other solutions due to security issues. If you can control how user opens a browser like providing him a link to click or pressing a button in custom application, you can add parameters to URL and read them in unigui app.
-
Since I use UniGUI exclusively with MSSQL, I guess this is a good news for me kind of, though never tried any of their products
-
Create a new calculated field that adds a day name before date and use it to group by?
-
There is no built-in way to do that, you'll need to implement this yourself or use some 3rd party js libraries
http://stackoverflow.com/questions/15516218/how-to-handle-undo-redo-event-in-javascript
-
You can always store params in cookies, they will be preserved when application is restarted.
-
No it is not. That's why you will never have a button "Download all" for several email attachments, they will be packed into a single file at least.
-
This is impossible, otherwise you would be getting 20 new tabs with ADs every time you click any link in internet.
You need to show several buttons/links for each report for user to click. Or create a single report with links inside to the others.
-
-
Drop images in files folder, add to the item's text
<img src="files/image1.png" />Item 1
-
ShowModal doesn't block execution in UniGUI, use callbacks to execute your code after the form is closed.
Check demo projects provided with UniGUI.
-
The only way to handle it is if unigui will provide SASS/LESS templates that can be configured by users and compiled to css.
You can always do it yourself though, but keeping it up to date with newer unigui versions could become nightmare.
-
-
Create a new calculated field
If 'yes' return '<img src="files/images/activ.png" />'
If 'no' return '<img src="files/images/inactiv.png" />'
-
In Files folder, png format. Browser will cache them after the initial load.
- 2
-
TWebBrowser is actually OLE browser window, it can't be used on server. UniGUI is server side library.
And you did it wrong even with TWebBrowser. It works, but it's horrible. Instead you check GET/POST url address of a form and parameters names, then use Indy library to perform this operation, get back html page in a string and parse it for needed data. And that method can be done on the server inside unigui app too.
- 1
-
The only difference is that js method sets the last parameter to True which means "animate". Normally UniGUI exposes majority of properties in designer but "Animated" is not there yet. If you don't need animation, then just setting Position is easier. Traffic is the same.
You can aways check Sencha ExtJS docs for javascript methods and properties on client side. For this particular function
http://docs.sencha.com/extjs/4.2.3/#!/api/Ext.ProgressBar-method-updateProgress
-
Oops, forgot about that. Oh well, the more the better
-
Oops, forgot that UniTimer doesn't update GUI. Anyway, it is easy just using javascript timer. Made a quick simple demo for you.
-
Simple demo by request.
Starts a simple background thread job (increases counter from 0 to 100), updates it's progress using TUniProgressBar, and allows user to abort it at any moment.
This is for demo purposes, use thread safe code in real applications.
- 3
-
Using UniTimer on client side, it will call your event peridocally and update UI.
-
The question is how you want to store several selected values in a single Field?
Lets say you show LookupComboBox for an int field with values in 1..10 range, and user selects 1,2 and 5. How are you going to store them?
- 1
-
Use Uni's DataModule, UniGui will automatically create and destroy them for each session.
- 1
One Program, many dll ?
in General
Posted
I have a static html index page that links to several unigui ISAPI modules doing different taks on the same DB. Every app has Index/Edit link too that returns to the index page for users convinience.