Jump to content

mhmda

uniGUI Subscriber
  • Posts

    1141
  • Joined

  • Last visited

  • Days Won

    157

Everything posted by mhmda

  1. We use event ID as event refrence and in database we save anything we want, did you want these properties to be displayed inside the calendar?
  2. Here is how I do it: Double click to edit row Try to move from row to row when editing Online demo: http://5.189.151.122:8035/ Project from here: http://3msoft.net/mhmd/grideditor.rar
  3. If I understand you correctly then this is what you want: Try to click the image it will make call (ajax) to the form and from there you can do whatever you want. Project from here: http://3msoft.net/mhmd/titleclick.rar Online demo: http://5.189.151.122:8034/
  4. Online Demo: http://5.189.151.122:8077/
  5. Hello everybody, It's very important to understand the layout and the best way to learn them is by practicing, and here is a project showing how to design a dashboard in uniGUI using layouts, I have searched the internet for a dashboard and found this one and this project for you. I hope this will help you understand layouts. Plus: responsive content ! + UniCharts (Pie & line) - try to resize your browser, and try to refresh page to see random results for the charts. Online demo here: http://5.189.151.122:xxxx Download project (with .exe) http://3msoft.net/mhmd/layout.rar
  6. See this https://www.sencha.com/forum/showthread.php?286374-Locking-orientation-of-a-single-view-in-Sencha-touch
  7. it's relative to the panel, If you want the absolute location you have to add the panel's offset (x,y)
  8. mhmda

    We are a family !

    Picture please....
  9. Hello everyone, I'm already a uniGUI member for few years and it's a time to know each other better. The most important thing that I would like to know Farshad Mohajeri:-) at least a picture... I'll start from myself:-) I want to say thank you Farshad for a great framework that help us to develop Web Applications FAST & PROFESSIONL :-)
  10. mhmda

    Mobile questions

    I will try to make an example next few days...
  11. I had written a windows service using Delphi that automatic download articles and images from specific sites, I did that by using Indy components, and when saving files to hard desk you can use windows API to change file attributes.
  12. This could be due using a wrong Extjs ver. OR wrong Unigui runtime ver.
  13. 1. Use "Eanbled" = false OR 2. Use events to avoid this. On "focus" move the focus to another control.
  14. the project: http://3msoft.net/mhmd/Jordan.rar Here is a working project (with .exe), but I don't know why you want to change default theme of the button, I recommended to let framework manage that :-) Sencha Extjs / Touch has a built in themes and it's cross-browser, they already did the hard work for us, so we can focus in back-end and leave the front-end to the framework to manage...
  15. mhmda

    Mobile questions

    You can use profiles: https://docs.sencha.com/touch/2.4/core_concepts/device_profiles.html The back-end code is the same for both: Desktop/Mobile, but the design is different, here an example of my own app:
  16. mhmda

    Mobile questions

    It's really simple let Sencha Touch handle everything for you :-) Please read Sencha Touch documentation to have basic kknowledge of its concept. Beside that Sencha Touch give you "Feel & Look" of native mobile app, no matter what is the size of your device, you can see screenshots here: http://forums.unigui.com/index.php?/topic/4869-mobile-phonebook-mobile-app/?hl=phonebook
  17. mhmda

    Mobile questions

    The Client-Side of Unigui is based on: Sencha Extjs Sencha Touch (for mobile) Please refer to Sencha Touch to see it's power https://cdn.sencha.com/touch/sencha-touch-2.4.1/examples/.
  18. A server side solution: procedure TMainForm.UniNumberEdit1Change(Sender: TObject); begin if SameText(UniNumberEdit1.Text,'0') then UniNumberEdit1.Text:=''; end; You can also implement this in ClientSide using client side events.
  19. mhmda

    Form Layout

    The 'Layout' is for Form's children (panel, button...) If you want to make your app responsive then do this: 1. In 'ServerModule' -> 'MainFormDisplayMode' = mfPage. 2. In 'MainForm': 'AlignmentControl' = uniAlignmentClient. 'Layout' = fit. Leave it without any controls (empty). 3. When you want to display a form then display it inside the 'MainForm': frmAdminDashboard.Parent:=MainForm; frmAdminDashboard.Show(); 4. In the displayed form: 'AlignmentControl' = uniAlignmentClient. 'Layout' = ? (as you design the form: vbox, hbox...) You may consider remove the border. Don't change any other property beside those I mentioned above. You must understand the Extjs layout before using it, and please at least make a mockup design for your app (forms) before start coding. There is many samples in unigui directory and you can use this link http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/layout-browser/layout-browser.html
  20. First use chrom->Inspect (CTRL+SHFT+I) it's very useful, and examine the width, height, top, left... When resizing the window it depends in how the user resize it: - Does he use the [min][max] buttons - Does he use the mouse to scale (drag) the size. Second consider using a more advanced solution for triggering resize such: https://github.com/louisremi/jquery-smartresize We already build a Jquery components using these methods you can download from here http://forums.unigui.com/index.php?/topic/5995-circle-progress-jquery-widget-fully-customized/ and see how we trigger the resize events.
  21. You must reload your app. The theme is based in several files (css...) and in order load all of them you must reload you app (it's web not desktop).
  22. I think your question is not clear enough... Can you explain.
  23. This might help you:-) http://forums.unigui.com/index.php?/topic/2553-calendar-events-color/
×
×
  • Create New...