Jump to content

mierlp

uniGUI Subscriber
  • Posts

    572
  • Joined

  • Last visited

  • Days Won

    35

Posts posted by mierlp

  1. hi

     

    I was looking for a component for building Multi-langauge application. I wanted a component

    which support both,- Win32 + UniGui.

     

    I tried several components and some of them are not working with uniGui or very expansive.

     

    So i ended with LangMan PREMIUM (http://regulace.org/index.php?cPath=26) and

    it's working great AND it's supports Win32 + uniGui for a very nice price of € 52,00 or $ 75,00

     

     

     

    Just for sharing with all of you.

     

    Regards Peter

  2. Hi,.

     

    Am i the only one who have problems using copy/past with the site.

    When copying a url i can't past it into this tekst field. Even other plain

    tekst can'nt be past using the buttons above or Ctrl-C / Ctrl-V

     

    When i use the LINK button i can past the url but can't close the dialog.

     

    I'm using Win 7 (64bit) and IE 11.0.9006

  3. Hi,

     

    I design my form like FORM2.PNG and within my form i set :

     

    My formStyle = Normal

    My BorderStyle = None

     

    I use :

    ClientEvents -> UniEvents with this code to prefend resizing :

     

    Function window.beforeInit(sender, config)

    {

      sender.resizable = false;

    }

     

     

    I use :

    ClientEvents -> ExtEvents with this code :

     

    function Windows.afterrender(sender, eOpts)

    {

       ext.get(sender.id.el.setStyle("padding", 0);

       ext.get(sender.id.el.setStyle("border-width", 0);

       ext.get(sender.id.el.setStyle("border-right", 0);

       ext.get(sender.id.el.setStyle("border-bottom", 0);

    }

     

     

    FORM1.PNG shows you the form in runtime en see the gap between

    the right top panel and the form border.

     

    How to get rit of this gap that the top right corner just looks like the left top

    post-510-0-78547700-1429107966_thumb.png

    post-510-0-19089100-1429108457_thumb.png

  4. Hi

     

    On my form i disabled BorderIcons and the BorderStyle = bsSizeable

     

    I have to buttons on the form, one for maximize and the other one form minimize

     

     

    ButtonMax fires : FormWebBrowser.WindowState := wsMaximized and this WORKS

    ButtonMin fires  : FormWebBrowser.WindowState := wsNormal and this does NOT WORK

     

    Oke...there's a other solution like :

     

    ShowWindow(FormWebBrowser.Handle, sw_restore) and that's also not working

     

    When i enalbe the BorderIcons then the resize with those button's is working

     

    Do is miss something or how to minimize or restore the form after it's maximized

     

    Regards Peter

     

  5. Hi,

     

    I would like to create a simple browser where the user can surf to a company website

    from within my applications.

     

    I use the URLFrame example. But when you enter :

    www.unigui.com WITHOUT http:// then the urlframe thinks you want to open a local file

     

    if i use it with HTTP:// it works

     

    So...how can i :

    • check if there's Always HTTP:// in the string when a user enters a url
    • or how to force it there will Always be HTTP:// into the string.
    •  

     

    Regards Peter

     

  6. Hi Mohammad,

     

    Thanks for the respons. I followed the steps but it's not working.

    I just put the white image in the application directory and added

    this code to

     

    background:url('grid.jpg') repeat fixed

     

    or when i put the complete path it's also not working or even when

    i put it into the files directory

     

    Is it the location where i pointing to or because i run it as a stand-alone server

     

    Regards Peter

  7. What i normally do is after i spoke the client i write a document which descripes the

    the things we discussed and it also contains the requirements and the the scope of the project.

     

    This scope describes WHAT but also WHAT'S NOT is n the scope. Most clients think that you

    build all the things for the same price. Finally the customer has to confirm/sign the document

    and there for also signs for the scope.

     

    Our price is between € 40-85 euro

     

    Regards Peter

  8. Hi,

     

    Created a new application: http://jacbongers.muziekagenda.nl

    When connection with IE11 (version 11.0.9600.17280)

    i got the loading message and the turning wheel in the middle of

    the screen,- see attachment

     

    Using Google Chroome and connect to this application it works!

    Using Mozilla Firefox and connect to this application it works!

     

     

    When using the same IE browser and surfing to a application build with uniGui 0.94 version,

    see http://mypaaspop.muziekagenda.nl this works without a problem

     

    What can cause this problem, because lots op people are using IE11

    post-510-0-51447200-1411981092_thumb.gif

  9. Hi,

     

    For some reason i stuck with my new application on a loading issue.

     

    What did i do:

    - I have a database application (as .dll) build with a earlier version of uniGui and ExtJS, this WORKS on our server

    - make a copy of this application, customiced it and run it as a stand-alone applicaton running on MY DEVELOP PC...this works

    - installed the runtime version/copy ext.4.2.2.114 directory to the server next to the existing version

    - both applications are using a config.ini file into there application/dll dirctory. This config.ini contains a setting for the ext\ map. In old application
      this is empty so it point to the default installed ext\ map....everything works
    - for the new application i set this parameter in his own config.ini to ext4.2.2.1144\

    - when starting the new application it only displays the loading message

    - when i copy a old application(which uses the older verions of extjs) to this dierctory this application works!

     

    I can't figure out why this new version 'WORKS on my developer computer and is  'NOT WORKING' on our server
    and only displaying the 'Loading' message.

     

    I have several applications working but can't get the new one working and don't know where to search. I've tried it

    as a dll and standalone server on our server but both the same result. All other applications are .dll with ISS 7

     

    Teamviewer access is possible to my developer pc or server

     

    Regards

  10. Hi,

     

    I created a new application based on the latest uniGui version and ExtJSversion 4.2.2.1144

    On our server we have applications running with ExtJSversion 4.2.1.883  and build with

    a earlies version of uniGui

     

    When i want to run the new application i got only the 'Loading' screen. The loading mechanisme

    in 4.2.2. is different from previous version.

     

    Is it possible to put 2 different ExtJSVersions on the same server and point the old

    application to version 4.2.1.883 and the new application to 4.2.2.1144 ?

     

    Regards Peter

  11. Hi

     

    The database which is connected to the DB fields is also connected to

    the dbgrid and should not be problem (compared to a Win32 application)

     

    How looks you code Farshad...because the abort may not canceld

    the append...it just has to 'abort' the action...this is normal behavior ?

     

    I use the same principle as with win32 apps...and i know not all may

    compaire...but i don't give a : dmPortal.Gast.CANCEL command

    so...till then the append must be 'alive'

     

    The abort is also cancelling the append what you normally do with dmPortal.gast.CANCEL

    (like the above sample)

  12. After the user appends a record i do a OnBeforePost check to see if all fields are filled.

     

    I use this code (like in all my Delphi projects) :

     

    if length(dmPortal.Gast.FieldbyName('LastName').asString) =0 then begin

       sSenderComponent:='uniDBEdit_LastName';

       MessageDlg('You have to fill the LASTNAME, mtInformation, [mbOK], MessageComponentFocus';

       Abort;

    end;

     

     

    Then the MEssageComponentFocus:

     

    Procedure TdmPortal.MessageComponentFocus(Sender: TComponnt; Res: Integer);

    begin

       if sSenderComponent='uniDBEdit_LastName' then begin

          FormRegistrationGuest.uniDBEdit_LastName.SetFocus

     

       end;

    end;

     

     

    For some reason the append will be canceld...which my not be done by the

    ABORT. This code works in Delphi application and should also work
    in uniGui.

     

    Sugguestions/tips please...i use latest version/build (0.97.1077)

     

    Regards Peter

  13. Hi Ronny,

     

    I use this concept because when the applications is started...i use a .ini file which contains

    the database server ip, username/password and other entries for UniServerModule

     

    At this point i can use the uniServerModule.OnBeforeInt to set :

     

    uniServerModule.AjaxTimeOut

    uniServerModule.ServerMessages

     

    This is done on some advize from Farshad in the past.

     

    I will try to separete the properties i need for the uniServerModule

    and read the database section of this .ini files to initial the variables for the myConnection.

     

    Regards

  14. Hi

     

    I use DevArt components for mySQL connection.

    On the servermodule i put the MyConnection component which contains the ip, username/password

    On a datamodule i put the Query components.

     

    There are 2 Query Components :

    - Accounts

    - Guests

     

    Guest has a Master/Detail to Accounts...but every time i open the project

    the Master/Detail is empty and only the MasterFields property contains

    the fields.

     

    Is this a bug in 0.94.1024 or is there something else wrong and how to solve it?

     

    Regards Peter

×
×
  • Create New...