Jump to content

Fred Montier

uniGUI Subscriber
  • Posts

    538
  • Joined

  • Last visited

  • Days Won

    83

Posts posted by Fred Montier

  1. FYI: Older versions of Emojionearea works Ok. But is missing a lot of resources like inline insertion, search, positioning, design, configuration options etc etc...
    I want to work with uniGUI Controls: Edits, Memos, labels etc...
    So , no need to mention old versions. No use for that...

  2. Hello all my friends

    I need your help for a problem that is actually quite simple but is beyond my ability to re-solve as I have already spent a lot of time finding the solution.

    This project shows how to use Emoji (emojionearea LIB) directly on uniGUI controls. The problem is that it misaligns the position of the unigui controls and the original HTML is no problem.

    Another problem is that I can't point the Emoji to another control as per the LIB documentation. The problem is certainly in the CSS because if I remove it from the server module settings it will repeat in the HTML code in the same way as with the uniGUI controls. I was not able to use LayOutconfig and other techniques to adapt this CSS to unigui controls. Any suggestion ?

    Another detail. Note that I am associating the plugin with the control in ShowForm but is there not a more correct way to do this using the ExtEvents of the control?

    thanks for listening.

    PS: This example is to be published in the CodeSamples area.
    GitHub: https://github.com/mervick/emojionearea/tree/version2?spm=a2c6h.14275010.0.0.40ba5fa3mOqFHn
    Exemplo: https://jsfiddle.net/1v03Lqnu/?spm=a2c6h.14275010.0.0.40ba5fa3fqfLqQ
    Página Original: https://developer.aliyun.com/mirror/npm/package/emojionearea/v/3.4.2

     

    LIV-2-cap-81.jpg

    LIV-2-cap-82.jpg

     

    Project available at https://www.uniguiexpress.com

  3. We all know that ads can be quite annoying. But when the site offers you free content that interests you, it's more than fair to let some

    advertising be displayed to generate revenue. When you're on the other side of the screen and with bills to pay things change a little. In

    most cases the user installs AdBlock  (and other blockers) and forgets about it. It is worth remembering!

    Going through this problem, I made a simple program using JQuery on uniGUI to show if the user is using AdBlock when entering a page (in this

    case, my uniGUI app).

    This program has an "alert ()" in the JS code. Comment this part if you don't want to show it. The JS code also generates an ajaxRequest that

    triggers an event where it can best handle how it notifies the user that he has AdBLock active on his browser

    Works with all ad blockers. Note that it does not test whether your advertisement is being displayed but whether advertising screens can be displayed on the screen or not and whether they are being blocked.

    PS: Not tested in mobile, before you ask me. Later , I will test it.

    adblock.gif

    Project available at https://unigui.express

    • Like 1
    • Upvote 2
  4. Back on tracks !

    This examples shows how to create "on-the-fly" a QrCode for on-line use. Very useful for products access , info. etc...

    The main and innovative difference to uniGUI community is that only uses a very small and practical JavaScript Lib to create a QrCode image associated to an uniCanvas that can be placed in position on your screen.  Size and content is very easy to adjust. See code sample.

    As always you can download from https://t.me/uniguiexpress 
    See Channel files... Or you may visit http://www.unigui.com.br and see other code packages and products.
     

    QrCodeGenerator.jpg

     

    Project available at https://unigui.express

    • Like 1
  5. On 11/24/2019 at 4:15 PM, angman said:

    Hi all, I found the reason ans solved the problem. When you set the autosessionname to true the component generate a new session name for each thread and assign it to all the tables and query components, but only that inside the same form or datamodule. So if you have other dataset that point to the same session but are in other forms or datamodules, you must update their sessionname to the autogenerated name of the session

    I mean AutoSessionName IN DBISAM-TDbisamSession in a DataModule. My bad.... sorry. Not "AutoGenerates"...

    Sorry it took to long to read this post again. Hope you've solved already.

  6. I'm not with the latest versions.  Not plans to continue with DBISAM since Firedac became omnipresent and easy to use and switch between DBs. New projects just using MySql and Firebase for now. Have no intent to update to new DBISAM versions. And it looks like a dead end anyway. It's also no match to Sqlite Dbs, their "main competitor". And you can't use in FMX mobile projects... so.. So long, farewell.

    And by the way, privatedir property is a "must have" for uniGUI since you can redirect temp tables, queries etc... to temp folder. It really helps in ISAPI distribution since is very common forget about W/R privileges in an IIS server. 

    I put all Dbisam Logic in the datamodule since in LoginForm it is called (created) anyway and automatic generated (or created) by uniGUI. Configure and open DB/Session in Datamodule OnCreate event and you're happy and dandy.

  7. I don't get it. Why you could use it in mobile since the primary effect is hover to select an element.  It's good for country/state map selection etc... just an example. You don't hover your finger in mobile interface. It should be broken into to steps event to work as desktop. That's is the problem.

    As a Desktop UI element is just perfect. Too much trouble with google maps elements to make it work alone. And using image like the Sherzod example, solve all my problems.
     

    • Like 1
  8. Really great !

    I think a lot o people didn't realize the potential. Since there is no that much comments about it here.

    I will make another example using USA maps and publish in a "uniGUI DOES..." series. 

    This is really fantastic. I work with some statistic project relate to demographics/maps and  we can produce some nice interfaces mapping figures in such way.

    • Like 2
  9. uniGUI DOES jqToastr

    >>Why JqToastr:

    A simple, modern, framework-independent, well-tested, unobtrusive, notification system. Works in any modern browser  (desktop and mobile) and OS. Is highly customizable and simple to use.
     
    >>Supports and compatibility:

    Internet Explorer 7+
    Firefox 3+
    Chrome 9+
    Safari 3+
    Opera 10+
    iOS 4+
    Android 2+

    >>How to use in uniGUI

    1-Declare in ServerModule.CustomFiles
    files/jquery.toast.css
    files/jquery.toast.js

    2- Declare JqToast to USES clause of your unit.

    3- See main example Desktop or Mobile.

    4- Same code works  in Desktop and Mobile.

    5- This example also contains Mainm Form for your tests in mobile

    Have fun

    PS: It seams I have a size limit on posting, so see it at http://www.unigui.com.br/democetera/CeteraDemosShow.html
    Tomorrow I will try edit and post here. 
    http://www.unigui.com.br/democetera/uniGUIDOESjqToastr.gif

    uniGUIDOESjqToastr.jpg

    • Like 2
    • Upvote 1
  10. Is it a new component soon to be released on uniGUI  package ?

    It's more than need since the real market are business management  projects to companies. The majority of projects that I can find here in Brazil is very focused in this area. Not game, not academia, not AI/TI research, not Internet,  not low level factory equipment interaction (Java got it covered) etc. That train left DelphiTown eons ago.  uniGUI Uplevel the current Delphi projects to the Internet. There is a clear market target here that majority of Delphi developers are not aware.

    About the Example:
    The way you (Sherzod) wrote the html code to generate ajax returns helped me to correct the code to the previous example I posted here that was not working.  That's exactly what I was talking about. It's verify hard to discover when it's need this kind of tricks to work uniHTMLFrame and uniURLFrame.

    It's not a criticism. I'm also well aware that it requires a very deep knowledge of the libs used and JavaScript integration on uniGUI that only a few holds at this time.
     

  11. uniGUI DOES Humane.JS (Updated)

    >>Why humane.js:

    A simple, modern, framework-independent, well-tested, unobtrusive, notification system.
    Utilizes CSS transitions when available, falls back to JS animation when not available. Includes mobile support and tested OK on uniGUI.

    It's not a component, just classes calling procedures hence no future problems with uniGUI and Ext.JS updates.

    You can work with no worries in Desktop and Mobile (Android e iOS) and is very simple to use IN your current projects and get read of ShowMessages and Messagedlg with more style and nice UI.  

    See Humane.ShowMessage ( mytext, theme, style). I create this procedure to facilitate showmessage replacement and usage.  

    >>Supports and compatibility:

    Internet Explorer 7+
    Firefox 3+
    Chrome 9+
    Safari 3+
    Opera 10+
    iOS 4+
    Android 2+

    Uses CSS Transitions where available otherwise falls back to JS animation, degrades gracefully.

    >>How to use in uniGUI

    1-Declare in ServerModule.CustomFiles
    files/humane.js
    files/themes/human.css
    files/themes/libnotify.css
    files/themes/bigbox.css
    files/themes/boldlight.css
    files/themes/jackedup.css
    files/themes/original.css
    files/themes/flatty.css

    2- Declare humanejs at USES clause of your unit.
    3- See main example Desktop or Mobile.
    4- Same code works the same in Desktop and Mobile.
    5- This example also contains Mainm Form for your tests.

    >>This version is updated to the latest humane.js

    a. New themes.
    b. Procedures refactored to Delphi code.
    c. and I added some new codes to the original since it had some major changes to make easy theme selection, style etc.

    See procedures in humanejs.pas on Mainform.

    >>This code is originally based on zilav post, see:
    http://forums.unigui.com/index.php?/topic/1808-humanejs-notification-system-for-unigui/

    humane.gif

    Project available at https://www.unigui.express

    • Like 2
    • Upvote 1
×
×
  • Create New...