Jump to content

mierlp

uniGUI Subscriber
  • Posts

    572
  • Joined

  • Last visited

  • Days Won

    35

Posts posted by mierlp

  1. Hi,
     

    Why do you have to enlarge Fieldsets, groupbox so it will show all components on runtime.
    Left the design.png, see the height of the Fieldset to get the result as in runtime (right) .
    Normally in design i would like to size everything as showed on runtime

    When sizing the height from the Fieldset to a normal height (as in Runtime) then the last
    dblookupcombobox will not be visible.

    This is not only with Fieldset but also the groupbox. You have to enlarge width and heigth to 
    show all components.

    Regards Peter

    Design.png

    Runtime.png

  2. Hi,

    I have a uniTreeMenu with uniTreeMenu.SourceMenu a uniMenuItems connected.
    Based on user rights some menu items must be enabled/disabled.

    This is not working on runtime. When i disable some items they even still be
    showed and accessable.

    How to fix this ?

     

  3. Hi

    Sorry for the late response. In connection with a cerebral infarction that my mother has had in recent days,
    I did not have time for the forum. Thanks for your comments and help ... is appreciated. I'm looking at it this week.

    Regards Peter

  4. 3 hours ago, Hayri ASLAN said:

    Hi

    Just assign parent.

    Form.Parent := UniTabSheet;

    then the form will open at the left and top site of the tabsheet

    I can use margins but when resizing the main form wil not position
    the opened form on the correct possition

  5. Hi
    See attachment. How can a open the form in the pagecontrol as in the attachement
    The form is 760w x 560h and is just called by form.show and navigate the the position
    by hand for the image.

    I would like to show it in horizontal in the center op the pagecontrole and lets say 50px
    from the top of the pagecontrol.

    I have tried a lot of settings/combinations but can't get it working.
    - Which setting do i need for the showed form (like position, or layout or layoutattribs)
    - which setting do i need for the pagecontrole

    Regards Peter

     

    ApplicationFrameHost_2019-02-24_01-47-40.png

  6. On 2/5/2019 at 1:23 PM, d.bernaert said:

    I use the following library to send mails from our platforms.

    It features a mail service, so mails can be placed very fast in a waiting list so there is no delay waiting for the mails to be send, the service handles the rest automatically: https://www.emailarchitect.net/easendmail

    Dominique

    Great component, i also use it for years within Delphi/uniGui...sending bulk mail in combination

    with the Mail Queue services :)

  7. Hi

    In the attachment a simple example how to send a sms text message.
    In this example is use www.bulksms.com for sending my sms messages
    but you can have you're own one if you want.

    Every sms provider has his own url for sending messages, in this case
    you see the url from bulksms. So in you're own case you have to
    see the documentation of the sms provider.

    Most sms providers have also mail-to-sms, but for me this is a
    simple low-cost solution to create you're own 2FA. 

    Regards Peter

     

    SendSMS.zip

    • Like 5
  8. Hi

    Retieving the data form the database (mysql) and show it on the uniCalendarPanel works.

    I use a form for entering new appointment of change the existing appointment.

    When i save it i got exception ...see attachment

    I use this code to save. 

    Quote

     

        dmClient.Appointment.Append;
        dmClient.Appointment.fieldbyname('Subject').Value       := UniDBEdit_showNameBirthday.Text;
        dmClient.Appointment.fieldbyname('StartDateTime').Value := UniDateTimePicker_Start.DateTime;
        dmClient.Appointment.fieldbyname('EndDateTime').Value   := UniDateTimePicker_End.DateTime;

        dmClient.Appointment.Post;

        // Data uit database in calander laden
        FormModuleClientAppointment.LoadCalendarData;

     

    LoadCalendarData is a procedure to load the data from table and assing to uniCalendarPanel

    Quote

     

    procedure TFormModuleClientAppointment.LoadCalendarData;
     var
       E : TUniCalendarEvent;
     begin
       UniCalendarPanel.Events.Clear;

       with dmClient.Appointment do begin

            While not eof do begin

                E:=UniCalendarPanel.Events.Add;
                E.CalendarId    := 1;
                E.Title               := dmClient.Appointment.FieldByName('Subject').AsString;
                E.StartDate     := dmClient.Appointment.FieldByName('StartDateTime').AsDateTime;
                E.EndDate       := dmClient.Appointment.FieldByName('EndDateTime').AsDateTime;
                E.IsAllDay       := False;

                // Next record
                Next;
            end;
       end;
     end;

     


    - Is there a good example for loading and saving into database ?

    - what causes this execption ?

    Regards Peter

    bds_2019-01-20_23-00-12.png

  9. Hi

    Is there a event or other way to have a onDblClick on a uniDBmemo.

    Within my application there's a several uniDBmemo fields.

    When the user double clicks with the left mouse button then

    a form with the large uniDBmemo field will appear.

    In normal vcl this event is available, but not in uniGui

    Regards Peter

  10. Hi

    I use (part of) this : https://www.getdonedone.com/building-the-optimal-user-database-model-for-your-application/

    In one table i set some extra info like :

    - database name
    - database username
    - database password

    You create a login screen where the user can enter 3 things :

    - username

    - password

    - company ID

    Based on these 3 things he can login. The system search in the database for the companyID, knows
    which databaseNAME, databaseUSERNAME and databasePASSWORD is needed to login to the database.

    Regards Peter

  11. Hi

    I use a simple solution. My login screen has 3 fields :

    - username
    - password
    - security code

    From all my users i have a mobile Phone number. When the user logins in then :

    - i create a random number and save it in a database for this user
    - i send a tekst sms with this generated number to the users mobile Phone
    - the user enters this number in the field 'security code'
    - after entering the security code i check if security code = as stored number in database
    - if there is a match the login procedure is succesfull

     

    ps for sending sms i use bulksms.com, it's quite easy to send sms

    • Like 1
    • Upvote 1
  12. Hi

    I just updated to Delphi 10.3, new install of uniGui but same issue, see attachment. This is based on the OfficeTheme from GerhardV. But same problem occures
    with other themes. So...i wrong install is not in mind after a complete new install from Delphi and uniGui.
     

    Hope that a more stable version of uniGui comes soon. As enthusiastic as I was ... it is unfortunately becoming less and less. Farshad's few reactions to really pressing questions / issues on the forum. The lack of simple properties that you have to work with detours with css code etc. Everyone is helpful and we all look for solutions, but I really wonder how long we can go on ... or find an alternative.

    Sorry for the frustrations but I can not build serious web applications and after each update, wait to see what I see or should change. My application only
    has 120 forms :) and i'm not willing to modify them after update

    ApplicationFrameHost_2019-01-11_00-29-49.png

    ApplicationFrameHost_2019-01-11_00-30-02.png

  13. Hi

    Maybe it's me, but since my update yesterday from v.1.5 to 1.7 the font size for buttons has become
    considerably larger. Text on a button doesn't fit anymore and have to enlarge buttons.
    When you place a image on a button then the font size shrinks.

    It can not be the intention that we continue to make cosmetic adjustments to applications
    during updates uniGui. This cost a lot of time and drawback of projects.

    Lot's of theme's have this issue, also the themes from GerhardV.

    Or i'm missing out something but i have no additional css code in project.

    Regards Peter

     

  14. (Hi

    This is a example from a vcl application using ehlib dbplanner in combination with resources.

    Left below you see 2 resources (Peter / Willy) and also the calendar is showed for does 2 resources.
    When i uncheck the resource from one person then also the calendar is not visible.

    Resource are in a separate table called 'resource' and has only 2 fields ID, Fullname

    Can this be done with the uniGui calendar and is there a example how to build this.

    If it's not possible then i can't migrate the vcl application to uniGui

    Regards Peter
     

    mijnBSR_2019-01-03_22-24-10.thumb.png.ee94bcc2d14880309b1246e091b2ff1b.png

  15. hi Farshad,

    Can you please look at the performance of the forum it is so very very slow.

    It's not a bandwith issue at our site, we  have 200-500 MB up/down

    on different location. Other forums/site are fast even on the other

    site of the world. 

     

    ps. Saving this thread cost 10-15 seconds 

    Regards Peter

     

  16. Hi

     

    Maybe this is a option...i didn't try it but it's a thought:

    From within a isapi you can start a executable, see 

    So you can create a windows .exe file which contains the fastreport designer and frxdatasets.
    You can desing reports and write them to file or store them into a database.

    When store reports in databasea (which i already do) you don't have issues with user writes.
    The only thing is when users put images in reports the images are have a good file size regarding to the mb's,
    otherwise the database grows very fast in size.

    Regards Peter

  17. For some info see :

    http://forums.unigui.com/index.php?/topic/10877-how-to-print-a-local-printer-in-unigui/&tab=comments#comment-57388

    http://forums.unigui.com/index.php?/topic/10834-printing-directly/&tab=comments#comment-57149

    http://forums.unigui.com/index.php?/topic/10182-direct-printing-can-be-done-like-this/&tab=comments#comment-53063

    http://forums.unigui.com/index.php?/topic/10834-printing-directly/&tab=comments#comment-57146

    http://forums.unigui.com/index.php?/topic/7921-printer-to-zebra-printer/&tab=comments#comment-40518

×
×
  • Create New...