Jump to content

mhmda

uniGUI Subscriber
  • Posts

    1141
  • Joined

  • Last visited

  • Days Won

    157

Everything posted by mhmda

  1. 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.
  2. 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&param2=.... And in form show check the parms: clnt:=UniApplication.Parameters.Values['param1']; pnlCustomer.visible:=clnt='customer'; ...
  3. You can use custom text (html) with "alt" property in GetText event of a field
  4. Put your project here to check it, if you can.
  5. You can use this technique to insert button in grid.
  6. 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.
  7. You can use this: http://forums.unigui.com/index.php?/topic/2553-calendar-events-color/
  8. mhmda

    Navigation Menu

    Here is a sample project: http://forums.unigui.com/index.php?/topic/7848-layout-advanced-tutorial/
  9. 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.
  10. Online demo: http://5.189.151.122:8037/m Project: http://3msoft.net/mhmd/unimlistview.rar
  11. Here: https://javascript.info/tutorial/bubbling-and-capturing event.stopPropagation();
  12. Online demo: http://5.189.151.122:8036/m (try it from your mobile device) Project: http://3msoft.net/mhmd/uniMobile.rar
  13. mhmda

    Multiple forms

    Unigui=webapp=single page
  14. mhmda

    Mobile questions

    .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
  15. 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.
  16. 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.
  17. UniSession.Terminate('<script>window.location.href = "http://google.com";</script>'); It will terminate the session and redirect the user to specific URL.
  18. You can save uploaded files where you want, it is in your back end code.
  19. 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.
  20. 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.
  21. Here is the explanation: I hope it's clear, if not please let me know :-)
  22. 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.
  23. If you could make a screenshot to show us what you want
×
×
  • Create New...