Jump to content

mierlp

uniGUI Subscriber
  • Posts

    572
  • Joined

  • Last visited

  • Days Won

    35

Posts posted by mierlp

  1. Hi,

     

    That's what i need. That's why i'm thinking of a combination from a uniGui web application

    and a Windows .exe file which has to be executed from whitin the Unigui application.

     

    Creating the FastReport Desginer as a standalone .exe file isn't the problem (is finished)

    Executing a .exe file from within uniGui works BUT i could only test it on my local machine

    and where the uniGui apps is started as a .exe file. Couldn't try it as isap.dll

     

    FastReport has also a rptdll.dll which can be used, but i don't know if it's the designer,

    can't find i on my machine

     

    If other have solution for this...let's share because more of us are looking for a

    report designer solution

     

    Regards Peter

  2. Hi,

     

    I can't find anything on the forum about a installation error. I use UniGui 0.89 because

    of the design/ JS EXT issue about uniDBEdit components and maybe it's releated to 0.89

     

    Building the package is no problem, installing the package gives me this error:

     

    Cannot load package 'uniTools14'. It contains unit 'uniDateUtils', which is also containted in package uniTools11.

     

     

    Regards Peter

  3. Hi Ronak

     

    Thanks for the example...this works and is a good idea/solution for some

    of the tables. There are also 'lookup' tables which contains about 6000 records (cities)

    where i can't use it.

     

    I looked a little bit further on the database server and i saw that a couple of the

    MySQL tables where MYISAM instead of INNODB...and after changing them there was a

    performance improvement which can be enough and acceptable.

     

    Regards Peter

  4. Hi

     

    I'm rebuilding a large Win32 application in UniGui...large because there are about 120 tables

    and 140 forms. I use lot's of datamodules to keep queries/tables together from some kind of 'function'.

     

    Example:

    There's a datamodule dmMAIN the MyConnection component (DevArt MyDAC)

    There's a datamodule dmTYPES with 5 tables called TyDocument, TypeRder, TypePayment, TypeRoom, TypeEvent

    There's a datamodule dmGEO with 2 tables/queries GeoCity, GeoCountry

    There;s a datamodule dmCONTACT with 3 tables ContactCrew, ContactGuest, ContactArtist

     

    The database connection will be set in the dmMMAIN.OnCreate event....which works normally

     

    Normally i open the queries in a form when i need them. So there a form called CREW

    and i have to open dmCONTACT.Crew, dmTYPES.TypeDocument, dmTYPES.TypePayment, dmGEO.City, dmGEO.Country.

    Some queries are only used for lookup information

     

    When i start the apps in VLC mode and open the form the tables are directly openend and the

    DBnavigator buttons are enabled

     

    When i run the apps in WEB mode (local) there's a delay from 8-12 seconds before the DBnavigator

    buttons are enabled and i can enter/create a new record

     

    When i have a form where i open only 1 query then the DBnavigator buttons a directly enabled.

     

    What causes this problem or do i have to choose a other approach ?

     

    Because of design i need to use the latest 0.89 version. Reason is the design issue with

    the UniDBEdit HEIGHT. The height from this component is not the same as from the other

    components and it can't be modified. I know it;s a Ext JS issue.

     

    Regards Peter

  5. hi,

     

    Well...it's not so difficult to start your first apps:

     

    - Start Delphi and then do the following:

    - File / New / Other / UniGui for Delphi

    - Application Wizard and do what you normally do in Delphi, gave the project

    a name and a project directory.

    - Choose al VCL Applicaton / Standalone server or Isapi if you would like

    - Click the OK button and your project is ready to start

    - If you need a DataModule or Form do the same as about File / New / UniGui for Delphi and choose

    a datamodule or form

    - Use the ServerModule to create the standalone server or if you would like to change the

    MainFormDisplay into mfPaAge or mfForm and run the apps and see what happens

    - Run the apps using F9 like the Delphi way

    - Start you browser and use: http://localhost:8077 to see you apps

     

    Regards Peter

  6. Hi,

     

    I was wondering how you give the users the possibility to create his own report.

    I'm not looking for a technical solution,- there are good FastReport examples

    (by Ronak) which works great, but i'm looking more how you deal with it.

     

    I'm developing several commercial tools where the user may create report for

    printing labels, badges etx (i use FastReport). The finishing touch is the

    reporting.

     

    I was also thinking about developing a Windows .exe including the FastReport Designer

    and a connection to the database/website so the user uses this .exe file for creating reports.

     

    So how are you facilitate reporting within you're commercial applicatoins:

    - Are you developing the reports for the user...and if so...has the customer to pay for a report?

    - Do you store reports into a database or as a file?

    - Are you using Microsoft Word/Excel for reporting?

    - Do you have other suggestions?

     

    Lot's of questions and i hope other developers have ideas which they would like to share.

     

    Regards Peter

  7. Hi,

     

    Within the Win32 environment there are vcl components (TMS Securiy System) for building

    user authorisation or Roled Based Access including access to modules.

     

    Are any of you using this kind of components within UniGui and which tools

    are you suggestion...or building from scratch ?

     

    Regards Peter

  8. Hi,

     

    Within my application i registrate employees, every employee has a unique

    nummer (something like 05432467). The employee needs to upload a copy (scan/image)

    from his ID card.

     

    The FileUpload is not the problem but i would like to upload only images so the

    employ may only see/filter image files.

     

    Because a scan can have any name i also would like to change the name when

    i upload it. So the images gets the name of the employee nummber, something

    like 05432467.jpg. To do this i need to extract thee extension because a

    image can be a .jpg, gif, tif etc.

     

    - How to create a filter when the user selects a file for thee upload

    - How to retrieve the extension from the uploaded file

     

    Regards Peter

  9. Hi,

     

    Within my apps i use MyDac components voor database access and so

    also the query components.

     

    The query components contains the fields and is use 2 time fields

    On a field it's possible to set the DisplayMask (HH:mm) for time

    and EditMask (99:99)

     

    Then i use the OnSetText event for this field with the following code:

     

    procedure TdmArtist.ArtistStageTimeStartSetText(Sender: TField;
     const Text: string);
    begin
     if trim(Text)=':' then
       Sender.Clear
     else
     try
       Sender.AsDateTime:=StrTotime(Text);
     except
       // custom message when the time is invalid
       raise exception.Create('"'+text+'" is not a valid time or time format!');
     end;
    end;
    

     

    Normally on standard Delphi applications it works. With uniGui i dont get

    the display/edit mask on a uniDBEdit component.

     

    How can i create a edit mask for time and check if it's a

    valid entered time.

     

    Regards Peter

  10. Hi

     

    I was wondering if the installation is the same as version 0.89 because now i got

    errors when building the packages :

     

    SysEdit_R2007:

    [DCC Error] sysEdit_R2007.dpk(30): E2202 Required package VCL not foun

     

    SysEdit_D2007:

    [DCC Error] sysEdit_D2007.dpk(31): E2202 Required package DESIGNIDE not found

     

    uniTools_D2007:

    [DCC Error] uniTools11.dpk(31): E2202 Required package RTL not found

     

    u|Indy11:

    [DCC Error] uniIndy11.dpk(31): E2202 Required package RTL not found

     

    this is for all packages

     

     

    regards Peter

  11. Hi

     

    My DataModule contains query components and at the BeforePost i check

    if the user enters some data...if not a message needs to be showed.

    This doesn't do the trick:

     

    ShowMessage('<br/><br/>You need to choose a PRIORITY!' + '<br/><br/>');

     

    How can i solve this so i can display messages which will be fired form

    within datamodule.

     

    Regards Peter

  12. Hi

     

    WebBuilder is only for building client applications which will be used

    into a browser. At this moment no support for other databases like MySQL,

    only DBISAM and ElevateDB.

     

    At this moment I struggle if 'm going to use UniGui or start over

    with Visual Studio 2010 for building web application. Our main application

    is build with Delphi 2007, Raize components, FastReport, MySQL and some

    additional .dll.

     

    I think the most can be build with UniGui but i missing lot's of features

    in the components like allignment, borderstyle, correct positioning on

    forms, dbgrid functionality you find them in Raize or http://www.scalabium.com/.

    Just the things to make a application 'complete or the finishing touch'.

    Don't misunderstand me, i like UniGui a lot and it has lot's of potention for

    a Delphi Developer to build web applications.

     

    For Delphi and Visual Studio are lots of components/Active X available and

    i'm not sure if the are all supported by UniGui.

     

    I also know that UniGui is at the beginning and Farshad is working very hard

    to fix the bugs and extend the functionality to create a good framework.

    The UniGui demo examples and yours on the site gave me a good feeling to start

    building with UniGui. Maybe i must accept that not all features are compleet

    at this moment.

     

    Developing with UniGui makes the learning-curve a lot easier as start over

    with Visual Studio

     

     

    Regards Peter

     

     

    look at this

    1- Kitto: Data-driven Web Toolkit for Delphi developers

    http://www.ethea.it/kitto.asp

    2- Elevate Web Builder - Rapid Application Development

    http://www.elevatesoft.com/products?category=ewb

  13. Hi Farshad

     

    You may delete the post i forgot the i posted it earlier with the answer about

    the invisible borders and the solution is to make the panel/groupbox bigger.

    Pesonaly i don't find it a nice solution because you would like the WYSIWYG

    methode and because my forms are complex and have lots of obejcts i got

    a design issue and have 'overlaps' with obejcts.

     

    Greetz Peter

     

     

    Hi

     

    Why is there a difference when positioning a object and run the apps in Win and web mode.

    When i place a object on a panel or groupbox there a difference of the position when

    running the apps (Win and Web mode). Also when placing a button nearly to the left or right

    size of a panel/groupbox the last part of the button will not be shown

     

    Within uniGui you can change themes and so colors, would be great if it's possible

    to change colors of borders from object.

     

    Regards Peter

  14. Hi

     

    Why is there a difference when positioning a object and run the apps in Win and web mode.

    When i place a object on a panel or groupbox there a difference of the position when

    running the apps (Win and Web mode). Also when placing a button nearly to the left or right

    size of a panel/groupbox the last part of the button will not be shown

     

    Within uniGui you can change themes and so colors, would be great if it's possible

    to change colors of borders from object.

     

    Regards Peter

    post-510-0-76437500-1340282016_thumb.gif

    post-510-0-08511900-1340282025_thumb.gif

  15. hi,

     

    I use a edit box for searching. After the user enters some text and hits the ENTER

    or RETURN key the search must be started. I use the code below but the search isn't

    started. Is the use of virtual key possible or do i need to look for a other solution.

     

    if (key=vk_return) then begin

    // my code here

    end;

     

    Regards

    Peter

×
×
  • Create New...