Jump to content

andyhill

uniGUI Subscriber
  • Posts

    1268
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by andyhill

  1. Gaban, I too have used the bulk of DevExpress in all my applications and have done so for decades.

     

    I have been experimenting with uniGUI, be prepared to loose most of DevExpress functionality :(.

     

    I have even resorted to non visual units (clone data) just to get XLS and PDF export, my request for such functionality to be added to uniGUI was turned down :wacko:.

    • Upvote 1
  2. I have a Desktop login screen that I am trying to reproduce in Mobile.

     

    Look at my images attached.

     

    I have used a PanelContainer (vbox) and four Panels (hbox):- Panel1 ... Panel3 have Flex = 1, Panel4 has Flex = 3;

     

    When rendered the Panels are not painted in their design order nor are the buttons - plus I want Button0 to be the same height as Button1 ... Button9.

     

    Please advise

     

    Thanks in advance. 

     

    Mobile-Layout.zip

  3. I am trying to implement uniGUI into some of my projects but get frustrated when I cannot export grids or lists (I assume I can export images as jpg - I have not got that far yet).

     

    Yes I know I can add a fudge DevExpress invisible grid and clone the data in order to export as a work around but to be frank, this is not good coding.

     

    Can we please have Export capabilities such as Excel, PDF, JPG with many of the uniGUI components.

  4. Thanks for the Hamburger Button tips.

     

    I tried to add a Menu to the MainmForm and have it called by the Hamburger TitleButton but ran into problems.

     

    1) The Menu showed when the MainmForm is shown even though the Menu Visibility was set to False ?

     

    2) I want Sencha themed buttons in the Menu (and as an alternative text instead of buttons) with their respective Tap events ?

     

    Please advise - Thanks

  5. Hi, I am trying to add a CheckBox to a Grid PagingBar (all good so far) and now need an Ajax Notification Change Listener - please advise - Thanks in advance.

     

        function pagingBar.afterCreate(sender)
        {
          sender.add([
          {
            xtype: 'tbseparator'
          },
          {
            xtype: "checkboxfield",
            fieldLabel: '',
            labelWidth: "0px",
            inputValue: '0',
            id: "checkboxID",
            width: 20,
            listeners:
            {
              change: function(el, v)
              {
                ajaxRequest(sender, "_checkboxChange", ["val=])
              }
            }
          }
          ]);
        }
     
    ...
     
    procedure TMainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings);
    begin
      if SameText(EventName, '_checkboxChange') = True then begin
        ShowMessage('Hi'); //SHOW CHECKBOX STATE (Checked/UnChecked) HERE
      end;
    end;
     
     
  6. I create and assign 2 Pie Series to a Chart at runtime with both of them using the same DataSource, problem it is not working correctly even though there is valid data - please advise - thanks.  

     

    Also I do not want to see the 0 (screen shot attached).

     

    ...

     

    SrvdAbdnChart: TUniChart;

     

    ...

     

      public
        { Public declarations }
        SrvdSeries, AbdnSeries: TUniPieSeries;
     

    ...

     

          //////////////////////////////////////////////////////////////////////////
          // Pie Graph Init
          //////////////////////////////////////////////////////////////////////////
          SrvdAbdnChart.SeriesList.Clear;
          SrvdAbdnChart.TitleAlign:= taCenter;
          SrvdAbdnChart.Title.Text.Add('Serviced / Abandoned (avg)');
          SrvdAbdnChart.Legend.Visible:= False;
          SrvdAbdnChart.Animate:= True;
          SrvdAbdnChart.Shadow:= True;
          SrvdAbdnChart.ShadowOffset:= 1;
          SrvdAbdnChart.AutoSize:= True;
     
          //////////////////////////////////////////////////////////////////////////
          // Series Init
          //////////////////////////////////////////////////////////////////////////
          FetchSrvdAbdnRowSet(Self); // FETCH DATA
          SrvdSeries:= TUniPieSeries.Create(MainForm);
          SrvdSeries.Name:= 'nSrvdSeries';
          SrvdSeries.DataSource:= UniMainModule.SrvdAbdnDataSource;
          SrvdSeries.YValues.ValueSource:= 'ServicedCalls';
          SrvdAbdnChart.SeriesList.Add(SrvdSeries);
     
          //////////////////////////////////////////////////////////////////////////
          // Series Init
          //////////////////////////////////////////////////////////////////////////
          UniMainModule.SrvdAbdnQuery.First; // GOTO FIRST RECORD (in case above left datasource at eof)
          AbdnSeries:= TUniPieSeries.Create(MainForm);
          AbdnSeries.Name:= 'nAbdnSeries';
          AbdnSeries.DataSource:= UniMainModule.SrvdAbdnDataSource;
          AbdnSeries.YValues.ValueSource:= 'AbandonedCalls';
          SrvdAbdnChart.SeriesList.Add(AbdnSeries);
     
          //////////////////////////////////////////////////////////////////////////
          SrvdAbdnChart.RefreshData;
     

    post-5752-0-44429900-1509258793_thumb.jpg

  7. Visually I perceive a small timing difference when my DataQuery Object is placed on the MainForm verses my DataQuery Object being placed on the MainModule and called from my MainForm --> MainModule.DataQuery (it is as if there is a double buffering/caching taking place).

     

    The grid display appears to refresh quicker if the DataQuery Object is placed on the MainModule and called from my MainForm --> MainModule.DataQuery.

     

    Now while this is not a major issue I would like to know if their is some sort of design requirement that I should be aware of - thanks in advance.

     

     

     

     

×
×
  • Create New...