Jump to content

likemike

uniGUI Subscriber
  • Posts

    356
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by likemike

  1. Thanks a lot!

    Because I need to set and delete the frame dynamically I use:

    UnimPanel1.JSInterface.JSCall('addCls', ['borderClass']);

    and

    UnimPanel1.JSInterface.JSCall('removeCls', ['borderClass']);

    instead of 

    UnimPanel1.JSInterface.JSConfig('bodyCls', ['borderClass']);
  2. Hello!

    Sherzod has given me a good tipp for painting a frame around an UnimImage:

    .borderImg img {
      border: red;
      border-style: solid;
      border-width: 4px;
    }

    Now I need the same for an UnimPanel. I've tried this, but without success:

    .borderPanel panel {
      border-color: red;
      border-left-width: 4px;
      border-top-width: 4px;
      border-right-width: 4px;
      border-bottom-width: 4px;      
    }

    Any help would be apreciated!

  3. Hello!

    I'm searching for a way, that an UnimImage react on user gestures. Unfortunately the OnDblClick-event is already in use in my application.

    So I'm searching for something like OnClickHold for components like UnimImage, UnimPanel , UnimButton etc.

    Is it possible to do this with OnAjaxEvent? If yes - how? 

     

    Best regards

    Mike

  4. OK! I've given a try to UnimFileUploadButton. But I have some problems with the Unim-version.

    1. in the desktop version there is a picture property which lacks in the mobile version. Is there a way to add it somehow?
    2. in the desktop version there is a align property which lacks in the mobile version. Is there a way to add it somehow?
    3. how can I change the caption of this button (it's an UnimFileUploadButton)?948625393_WhatsAppImage2022-03-31at17_29_43.jpeg.ed17d0c12dcb4e92ac626ceaa789c6d0.jpeg

    Regards

    Mike

  5. Just now, Sherzod said:

    Yes, but it is also possible to combine webbrowser with native apps...

    Sorry?

    If I add a new topic in the forum (with my handy), I get something like this:
    uni.thumb.jpeg.3b09d5862687e11bfccb7c37807f003b.jpeg

    Here I can add a photo from my media library.

    That is exactly, what I need in my project.

  6. 10 minutes ago, Sherzod said:

    Hello,

    If a browser is used, then only through a browser.

    I thought, that UniGUI always runs in a browser... 
    If I use this forum on my handy, I can upload a photo from my media library. 
    How did you do that? 

  7. Hello!

    Has anyone accomplished to access the mobile photos (the ones that are saved on the local device) from UniGUI?

    I know, that they have to be accessed from the browser, but maybe there exists a trick...

    Regards

    Mike

  8. Hello!

    I'm using a UnimDBGrid with pictures. Therefore I use the UnimDBGrid1FieldImage method with parameters (CONST Column : TunimDBGridColumn; CONST AField : TField; VAR OutImage : TGraphic; VAR DoNotDispose : Boolean; VAR ATransparent : TUniTransparentOption);

    Here the setting of ATransparent has no effect. When I set it to toNone, toAuto or toFuchsia, pictures always shown in transparent.

    [Edit] I reached what I want by changing the graphic format to GIF, so I don't need the ATransparent parameter any more. [/Edit] 

  9. Hi!

    I have a UnimURLFrame on my Loginform with a nice HTML-animation. 

    With an AjaxEvent I control the submit button to verify the login data.

    When the verifying is positive, I do a "ModalResult:=true;" and all works fine.

    But when the verifying of the login data is negative, the loginform reopens and shows something like that (after 3 times input of wrong data) :

     snap.jpg.82c5adf06e13f740926872db23ead8d9.jpg

    How can I avoid that?

    Regards

    Mike

  10. OK - I try it:

    I have a problem with images, which were changed by drawing on it and then saved.

    When I want to open the changed image again, it shows the cached one (which is the original one).

    As described here: 

     

    Andyhill has recommended to change the filename of the image after editing. This works, but I don't want to change the name of the image.

    So I need a trick to force the browser to reload the image (and not not to use the cached one).

×
×
  • Create New...