Jump to content

imagina

uniGUI Subscriber
  • Posts

    65
  • Joined

  • Last visited

Posts posted by imagina

  1. 1. Add a propertiy to get and set extended/double value:

    Example:

      ...

      c : TUniNumberEdit;

      ...

      c.Value := 32/7;

      ...

     

    Setting and getting values trough .Text property require always conversion (and regional problems).

     

    2. Accept the dot (.) key as decimal separator. The dot key is near a numeric keypad, the comma is far.

    Note: I tried capture keydown or keypress event to change the dot to comma and no luck.

     

    Thanks

    • Upvote 1
  2. I think is already requested, may be past year, in old forum system.

     

    In TUniDBGrid, add a property to automatic append record (after the last record; if UniDBGrid is paged then must go to last page) when last record is reached and KeyDown is pressed.

     

    Thx

  3. Hello there

     

    It's a very old issue, but in version 0.93 still not resolved.

    In a UniDBGrid, when TDataset.Append method is invoked, the record is inserted, not appended.

    n Spain is habitual (in other countries seems may be not) enter the order or invoice detail in natural order,

    like write this post: one line, then append other line, then append other line...

    Current workaround is populate the grid with empty records, is very annoying. Other workaround

    is unassign Datasource, append the record and then assign again the Datasource.

    Please add a boolean property to UniDbGrid called "DoAppendLikeAppend" or similar to allow current or

    new behaviour.

     

    Thanks

     

    PD.And if you append another boolean property "AutomaticAppendRecordOnLastRowReached" to append records when the

    last row is reached and downkey is pressed, would be fantastic!

  4. Great, Patmap

     

    Working in Firefox, getting error in Chrome, but don't worry, I've seen how to load and call JS scripts in your sample, was what I cared.

     

    Thank you

  5. And another undesirable effect; issuing a inexistant file, UniGui application reveals the complete path:

     

    URL: h ttp://server:8077/fake.pdf

     

    UniGui answers:

     

    File D:\Delphi\UniGui\AppSvc1\fake.pdf not found.

     

     

    Setting permissions to user is not a solution, if there are files in the same folder is because are used by the same application. If I restrict a file then the same application server will not be able to access it. And I think (not tested) that with ISAPI there are the same behaviour.

    The real problem is this:

     

    h ttp://localhost:8077/../../../system.ini

     

    I can access, If I know the name and where is located, any file...

     

    DocJones, if you use ISAPI, put a .PDF file in the parent folder where your ISAPI application is running and then try to open with:

     

    (your ip:port)/../file.pdf

  6. Setting permissions to user is not a solution, if there are files in the same folder is because are used by the same application. If I restrict a file then the same application server will not be able to access it. And I think (not tested) that with ISAPI there are the same behaviour.

    The real problem is this:

     

    h ttp://localhost:8077/../../../system.ini

     

    I can access, If I know the name and where is located, any file...

     

    DocJones, if you use ISAPI, put a .PDF file in the parent folder where your ISAPI application is running and then try to open with:

     

    (your ip:port)/../file.pdf

     

    I think that if you want more control segurity, create unigui as ISAPI, and use ISS.

     

     

    i don't kwnow if it's possible, but if you need unigui app as service and you don't want use ISS, perhaps you can create a windows user, start service with this user, and grant file permissions to this user only for the files/folders that you allow to access.

  7. I have a small demo application running as service. I can access it with a url like "http://172.26.0.0:8077".

    But I can download or see any file contained in the folder where the application resides; if, by example,

    in these folder I have theserver.exe file and other file called "hello.pdf", if I enter in a URL "http://172.26.0.0:8077/hello.pdf" I can download an see the file. It works like a FTP server. If I know the file name... I can download it.

    However, in some situations, I want to share a file (report as a PDF); in these cases I put the file in the cache folder, that is secure, because the session id is long and eventual.

    Please advice me how to avoid this behaviour.

     

    Thanks

  8. HAPPY NEW YEAR!

     

    I wish a happy new year to all forum members and uniGUI users around the world!

     

     

    Thanks for your support.

     

    2012.jpg

     

    I also wish you and your family a happy new year.

     

    Josep

  9. In VCL mode I think all components will work. In WEB mode, only non-visual (not inherited from TControl).

     

    Hi,

     

    We uses for example :

     

    Teechart

    Query Builder

    Crypto

    Dream FilterBox 1.4

    Dream OutBar

    ExportXDB

    Expression Builder y Parser

    kbmMemTable

    Zip32.dll

    TCCClients

    Report Builder

    Hashlib

    EMS QuickExport

    EC Software Help Suite

    EurekaLog

    SQLDirect

    EzPlan-IT

    Officepartner

    TEDBImage

    Rxlib

    ExtraDevices

    TDBPlanner ( from tms Software )

    workflow ( from tms Software )

    Pascal Script

    etc.

     

    Wath kind of problems can we expect trying to use unigui ?

     

    Thank´s in advance!,

     

    Marcelo

  10. Hello

     

    Please advice me how specify the event background colors

    where CalendarId property is greather than 3, because his

    font color is white and the background too.

    I defined 7 calendars in Calendars property.

    With CalendarId = 1 the background is blue; with CalendarId = 2, green, and CalendarId = 3, brown.

    But CalendarId 4 to 7 the background color is white.

    Editing a file of ext-3.3.0 folder may be?

     

    Thanks

  11. A workaround working for me (until Farshad implements the SendFile):

     

    s := UniServerModule.LocalCachePath + 'imagen'+IntToStr(GetTickCount)+'.bmp';

    TBlobField(Qclaus.FieldByName('imatge')).SaveToFile(s);

    s := Copy(s,Pos('cache',s),255);

    s := StringReplace(s,'\','/',[rfReplaceAll]);

    UniLabel12.Caption := '<a href="'+s+'" target=_blank>Descargar imagen</a>';

     

    This example puts a link in a TUniLabel (TextConversion property set to txtHTML).

    The files saved in the session cache folder are deleted when the session is clossed.

     

    Please give me some suggestion how to download file that the server just generate after button click. I have a unidbgrid displaying the data that users selected from their desired criteria. I need to have one button for them to download this data after they click on it. This file will be generated at the server after the users click on the button. The file may be Text, XLS or whatever format (this I can do it on the server). After it was generated it should be automatically send back to user by letting them select the folder to store the file (this I need suggestion). Anyway, Thank in advance for any suggestions that may have.

  12. Hello,

    My apologies first if this has been covered elsewhere. I can see many options when designing the structure of an uniGUI web application(ie. tab/page control where frames are loaded into the tabbed page (similar to the demo) or multiple forms open over the main maximzed form similar to MDI). Is there a recommended strategy when designing a resource efficient web applications with uniGUI?

     

    Thanks in advance!

     

    I'm using a big UniPageControl and then I create UniFrames in new tabsheets in runtime.

    Is the more similar as MDI as I found.

     

    J.

     

    PS. Warning: when closing tabsheets, I must free the frame and then free the tabsheet; destroying the tabsheet doesn't destroy his child controls! (Even maybe this is corrected in latest builds).

  13. IMO, Automatic showing of loading mask for any unfinished loading pages like an IntraWeb is more comfortable.

     

    +1 (or animated rolling cursor will be enough)

     

    PS. About compression: noticeably faster on my 6 mbit connection

×
×
  • Create New...