Jump to content

bahry

uniGUI Subscriber
  • Posts

    153
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by bahry

  1. @Osama Ghazal

    http://forums.unigui.com/index.php?/topic/14592-autoedit-in-unidbgrid/

    or you can use

    ///////////////////////////////////////////////////

    UniDBGRID>ExtEvents>reconfigure

    function reconfigure(sender, store, columns, oldStore, the, eOpts)
    {
      for (var i = 0; i < columns.length; i++) {
      if (columns.getEditor()) {
      columns.getEditor().on('specialkey', function (field, e) {   
       if (e.getKey() == 13) {
         e.keyCode = e.TAB;          
         return e.keyCode;
        }
       })
      }    
     }
    }

    ///////////////////////////////////////////////////

    But this will not work if in the main form you enabled keyPreview = True and Navigatekeys

     

  2. Hello UniGUI Community

    I Would like to explore the possibility of developing or integrating an inbuilt report builder to enhance the functionality of any UniGui Application.
    I am reaching out to this knowledgeable community for suggestions, guidance, and best practices to achieve this goal.

    The primary aim of incorporating a report builder is to enable end-users to create, customize, and generate reports directly from the application 
    even if it's  relying on third-party software like FastReport. The report builder should support features such as:

    Drag-and-drop functionality for easy report designing.
    Dynamic data-binding to the application's data sources.
    Filter, sort, and group data as needed.
    I understand that implementing an inbuilt report builder is a complex task, and I would greatly appreciate any insights on the following:

    Are there any existing UniGUI-compatible libraries or components that can facilitate the development of an inbuilt report builder?
    What are the potential challenges and pitfalls that I should consider while embarking on this endeavor?
    Are there any recommended design patterns or architectural approaches to ensure a seamless integration with the existing UniGUI application?
    Thank you in advance for your assistance and for fostering a collaborative learning environment in this forum.

    Regards to All

  3. I extend my heartfelt sympathies to brothers affected by the earthquake in Turkey and Syria and other impacted regions. My prayers with them during this difficult time

    • Like 1
  4. Hello Ashraf,

    I prefer to design your Screens in LTR, and as long as you are using TsiLang, change the RTL to True in the runtime on the Create of the MainModule.

    I think this is the best way to use RTL.

     

     

  5. Hello Jean

    I didn't use the Component in UniGui, but if you read the Document in page 11 it will explain for you in details how to make it.

    1) Drop the component on the form.
    2) Setup the client ID, client secret via the .App.Key and .App.Secret property.
    3) Call the .DoAuth method.
    Code:
    AdvGDrive1.App.Key := 'xxxxxxxxx.apps.googleusercontent.com';
    AdvGDrive1.App.Secret := 'yyyyyyyyyyyyyyyy';
    AdvGDrive1.DoAuth;

    // The above procedure will show a VCL Form with Google Auth.

    it is also possible to use any other TWebBrowser instance as login screen. To do this, just assign this TWebBrowser instance to TAdvXXXDrive.AuthBrowser: TWebBrowser.
    When the user has provided the correct credentials, the event OnReceivedAccessToken will be triggered and from that moment, the component has access to the online cloud APIs.

     

    Regards

×
×
  • Create New...