Jump to content

Jean-Marc Kiener

uniGUI Subscriber
  • Posts

    222
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by Jean-Marc Kiener

  1. Exact same here, turning 50 soon and still use Delphi as my main dev tool. After made some web projects with morfik (which is in my opinion still a great tool but not more maintained) i was evaluating a new tool for doing web application jobs. After trying a lot of tools out there i found uniGUI and i was blown away how easy i could use my old skills to get impressive results for web applications.

     

    Thanks to Farshad and his team!

    • Upvote 4
  2. Hmm..

    i have a TUniStringGrid with two Columns. The first columns shows a text, the second column shows a decimal value. I fill the values for the grid in the OnCreate event of the form.

    I tryed the solution above but it aligns my second column always 'left' instead of 'right'.

     

    Any ideas what i am doing wrong here?

  3. Hi all out there,

     

    i am stucking with that thing. My customer wants that the app has "Open Sans" font everywhere.

    so i added following to the "CustomMeta" property:

     

    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i"rel="stylesheet">
     

    That sheems to work as far i can see.

    I was able to do the most of the GUI with setting the font and parentfont properties of the unigui components, However, there are some components where that sheems not implemented (  TUniTabsheet, TUniMainMenu, TUniPopupMenu per example ).

    So, is there some CSS magic or so where i can set the font type of all components to "Open Sans"?

     

    Regards

     

     

  4. Hi folks,

     

    I tryed following:

        ts := TUniTabSheet.Create(Self);
        ts.Name := 'tab';
        ts.OnClose := TabSheetClose;
        with ts do
        begin
          Closable := True;
          PageControl := pgeMain;
          Caption := 'Test';
          ParentFont := false;
          Font.Name := 'Open Sans';
          Font.Height := -12;
        end;
    
    

    It sheems that the Font properties has no influence of the look of the tab caption. Maybe a propertie "TabFont" would be nice...?

  5. Hi,

     

    I fill combobx items with strings. However, some of the strings are longer than other. If the combobx width is not wide enough this entries are shown with a line break in the popup. But i want per item just one line in the popup. How can i set the combobx to cut off longer textes? Of course, if i choose an entry in the popup the whole text should be copied in the combobox text property.

     

     

  6. Because RAVE is not thread save as far as i know we did the following:

     

    1. Make a own Reportserver program  who can called from your MainModule (we did a simple vcl programm with tcp connection made with delphi standard components + Rave + Gnostice for PDF Export )

    2. Call the Reportserver from Mainmodule via tcp connection (Any other Remote connection will do the job as well)

    3. Wait until PDF is created and saved to disk from Reportserver ( Maybe ask Job status by polling Reportserver)

    3. Grab the created PDF from the disk and present it to your customer.

  7. Hi experts,

     

    I try to build a form who let the user edit data from a database. I figured it out ( thanks to this forum :-) ) how to configure F1..F8 Keys so i can handle it exclusively in my app (the browser ignores them). The form property monitoredkeys stuff does the job. Great!

    Now i want do this with Ctrl+S, Ctrl+D, Ctrl+E etc. 

     

    Is this possible?

  8. In my case here there TDatasource.OnStateChange is heavely used to enable/disable visual components. That's the reason why it is located on the TuniFrame instead of the TUniMainmodule or TDataModule.

     

    Or is there a proper way to set Properties of  visual unigui controls on a form from TUniMainmodule?

  9. I moved all TDatasource components to the TDatamodule unit. Now i can do it like this:

      for I := 0 to self.ComponentCount -1 do begin
        if self.Components[I] is TDatasource then begin
          TDatasource( self.Components[I] ).AutoEdit := UniServerModule.AUTOEDIT;
        end;
      end;
    
    

    That seems to work.

    What is the right approach to locate a TDatasource on a Unigui project? Till now i placed the TDatasource on a TUniFrom or TUniFrame and the database components (Connection, Querys) on TUniMainModule or a TDatamodule.

     

    Cheers

     

    Jean-Marc

  10. Hi folks,

     

    I try to set AutoEdit property of one or more TDatasource located on a TUniFrame. I tryed following code below but ControlCount is always 0.

    procedure TMyFrame.UniFrameCreate(Sender: TObject);
    var
      i: integer;
    begin
    
      for I := 0 to self.ControlCount -1 do begin
        if TComponent( self.Controls[I] ) is TDatasource then begin
          TDatasource( self.Controls[I] ).AutoEdit := UniServerModule.AUTOEDIT;
        end;
      end;
    
    end;
    
    
    

    Any ideas?

  11. The TRUE useful DBlookupComboBox must have some features for enterprise applications, other than free "assisted" input;

    Now there is no control on user input; instead we need (as an option, but active by default) that content field must by coherent with lookup dataset or must be empty (when not mandatory)

    At char pressing, editor must suggest the complete new text or delete the char if text is no found....

    Another feature (big) is the capability to render a multicolumn grid  or a multifield content  in the lookup popup, but too much to ask :-)

    This descibes exactly what i mean..

×
×
  • Create New...