-
Posts
1141 -
Joined
-
Last visited
-
Days Won
157
Content Type
Profiles
Forums
Events
Posts posted by mhmda
-
-
Use one login form, and use panels as you want and on every panel put the controls you want to show the user and examine the parameters you send to the app and based on that display the panel you want, let's say:
pnl_Customers
pnl_suppliers
pnl_admin
and send parameters:
http://localhost:8077/?param1=customer¶m2=....
And in form show check the parms:
clnt:=UniApplication.Parameters.Values['param1']; pnlCustomer.visible:=clnt='customer'; ...
-
Use field "DisplayFormat"
-
You can use custom text (html) with "alt" property in GetText event of a field
-
Put your project here to check it, if you can.
-
You can use this technique to insert button in grid.
-
You can use css "#", every cell has an ID, for example for cell: 05/02/2017:
#O13_id-month-day-20170205 { background-color:#f00 !important; }
013 = UniCalendarPanel1.JSName
so you can use #id and assign css class as the color you want.
-
-
Here is a sample project: http://forums.unigui.com/index.php?/topic/7848-layout-advanced-tutorial/
-
What you show us above is NOT what unigui server sends to the client, uniGUI send Extjs js code and the browser render it using js engine (DOM elements). so that content is generated by Extjs framework.
-
- 1
- 9
-
Here: https://javascript.info/tutorial/bubbling-and-capturing
event.stopPropagation();
-
Online demo: http://5.189.151.122:8036/m (try it from your mobile device)
Project: http://3msoft.net/mhmd/uniMobile.rar
- 8
-
Unigui=webapp=single page
-
Mohammad,
Desktop version from above. What theme is it ? I don't see switches like this anywhere in UniGui. The same buttons - is this speed button with changed color ? Could You clarify please ?
.bntLogin { background:#fcf5e4 !important; -webkit-transition: background 0.2s ease-in-out; transition: background 0.2s ease-in-out; } .bntLogin:hover { background:#fac337 !important; -webkit-transition: background 0.2s ease-in-out; transition: background 0.2s ease-in-out; } .login_edit { background-color:#fcf5e4 !important; background-image: none !important; }
Sencha Field->Text:
http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.form.field.Text-cfg-fieldCls
-
There are Layout, Layout Attribs and Layout Config properties (available depends of used component). When I fill this values - layout positioning is at the client side.
When I use Alignment properties (like a delphi plain app) - layout calculation is at the server side - which I think is slower and increase server load.
Correct. When you want to use client-side layout management don't forget this (for forms and panels):
At the end when client-side managing layout it means the Sencha Extjs is managing that and Sencha Extjs is cross browser and you can count on it.
I think the power of unigui is that it uses Sencha Extjs/Touch for client side and Object pascal for back-end and these two tools are very trustful.
For us to make it easy and to understand unigui we should understand the web concept (client/server) and Extjs/Touch for that I always refer to Sencha Extjs API they have an excellent documentation.
-
Here the Client-side is responsible for the alignment and layout, the other way is using server side to to do the calculation and layout, for best results always use client-side and layout properties.
If you want a detailed explanation let me know.
-
UniSession.Terminate('<script>window.location.href = "http://google.com";</script>');
It will terminate the session and redirect the user to specific URL.
- 1
-
You can save uploaded files where you want, it is in your back end code.
-
A long time ago we purchased Intraweb and we stated to use it in our web apps UNTIL we met uniGUI and from the first date we ported all our web apps and future projects to uniGUI, we have developed a large scale apps and it is working good.
-
You can use js code to redirect the user to other site. Closing the app! is not good idea it is a web app. Why you want to close it, unless you mean 'session' then after redirect there is a timeout interval and then the session will close auto.
-
Here is the explanation:
I hope it's clear, if not please let me know :-)
- 1
- 2
-
Today I will post a tutorial .....
-
You can't load all data into client side, it will take your app a lot of time and bandwith, use grid with 'paged' property.
-
If you could make a screenshot to show us what you want
TMS Cryptography components
in General
Posted
In desktop apps We use /nsoftware, it is great tools, In WebApp the client side use browser to access your app so you must use https.