-
Posts
538 -
Joined
-
Last visited
-
Days Won
83
Content Type
Profiles
Forums
Events
Posts posted by Fred Montier
-
-
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... -
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.2Project available at https://www.uniguiexpress.com
-
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.Project available at https://unigui.express
- 1
- 2
-
Attachment available.
I know that there is a problem saving QrCode in Canvas. Any help ?
Take a look tomorrow again in this code.- 1
-
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.
Project available at https://unigui.express
- 1
-
Not working yet. And the last try out with the last chrome is even worst. Some google Chrome update going crazy on this feature.
And can't save the text via AjaxRequest using uniGUI. So no progress in sight and a lot of projects going on, translating books etc.
-
Sorry but every time the forum software only allow me upload 120kbytes.
Download from https://t.me/uniguiexpress
Not planning future uploads for now. Tired of this because it never get solved ! See picture below.
- 1
- 1
-
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. -
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. -
Valeu , muito obrigado !
Tenho vários e vou mesclar e postar aqui retirando o que pode estar repetido.- 1
-
You´re welcome.
-
Yes... I´ve done it already. But out of time to publish since I'm very busy translating the first book and finishing the third.
But I will post until the end of the month. -
-
You have to start the parameters as the theme as well.
See code in Delphi and JavaScript. -
Kudos to Fashad for not taking as a rant.
Now, go to ATOZED Intraweb main forum and post the same there. LOL. Because they had 15 years on the road and much more to blame since the Borland (pause until), now Idera support was always there. -
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.
- 1
-
You can't manipulate (via JS) an already rendered windows and its core UI elements.. Every browser works in a different way and there is no universal API to it.
Open a new windows without it or no deal.
See:
https://stackoverflow.com/questions/15926105/hiding-the-address-bar-of-a-browser-popup -
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.- 2
-
Link above
I don't have space here to post. -
The (db)combobox problem is easy to solve. You guys already have the solution in DbRadiogroupbox. Any VCL pack you have a Items list and a Value List to facilitate a solution to this problem that RXLib solved in the early 2000.
-
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.js2- 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- 2
- 1
-
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.
-
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.css2- 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/Project available at https://www.unigui.express
- 2
- 1
-
Thanks...
I'll give a try. My bad. Thought it was another lib using xzing dll.
But the better solution is really a scanner.
Alibaba/Amazon has a lot for android, iOS very cheap. And its more flexible, reliable and fast than use code just for that.
ShutDown previous runnings automatically
in General
Posted
Use KILL before run in Delphi IDE Project Options
What you see in browser is just the result of a ServerStandAlone. Closing tab , won't close the server, hence app still running.