ldb68
-
Posts
177 -
Joined
-
Last visited
-
Days Won
13
Content Type
Profiles
Forums
Events
Posts posted by ldb68
-
-
If I understand correctly you, while you can try:
UnimLabel1 -> ClientEvents -> UniEvents -> ...
function beforeInit(sender, config) { config.style="color: green; font-size: 14px;" }
Thanks. It works.
function beforeInit(sender, config){config.style="font-weight: bold; text-align: center; color: red; font-size: 150%;"} -
How can change font color, bold style and bold size (+1 or 120% ...) for a UnimLabel1
thanks
-
Hi,
Try this:
with UnimPanel1.JSInterface do begin JSCode(#1'.element.setStyle("border-color", "red");'); JSCode(#1'.element.setStyle("border-width", "5px");'); JSCode(#1'.element.setStyle("border-style", "solid");'); end;
Best regards,
thanks
-
One possible solution as in this post:
http://forums.unigui...lor/#entry48483
with UniPanel1.JSInterface do
begin
JSCode(#1'.setBodyStyle("border-color", "red");');
JSCode(#1'.setBodyStyle("border-width", "5px");');
end;Can you find a solution for a UnimPanel. This dosen't work.
Thanks
-
So, that also means that Desktop version of UniGUI is Ok for mobile Apps?
The ExtJS 6.5 mobile themes certainly help to write single web apps that can be used on desktops, tablets or smartphones.But you are limited to only 2-3 themes available that not everyone likes.Having the possibility to change colors / fonts would be a further help but at the moment we have to do everything via JS and know exactly what to declare to acces EXTJS api.However, a nice step forward compared to before ...- 1
-
thanks a lot !
Which uniGUi version did you use?
The last of February 2018 with Delphi 10.2.1. I do not remember the number ...
-
Any plans for reactive or multi-layout mobile support in the gui ?
You can do somethink nice with new mobile theme.
See here:
http://forums.unigui.com/index.php?/topic/10031-reponsive-webapp/&do=findComment&comment=53167
Demo
-
Idb68, Nice work, is this all unigui standard components or do you have html frames?
Only standard componenent
-
Here source.
http://www.energiazero.org/private/mobile.zip
All standard unigui with mobile theme. Only some code to adapt panel size and menu.
- 1
-
Did you have a chance to looking for old backups?
I'm sorry but I did not find them.
In the last 2 years I moved to c # and I deal only with mobile applications and I did total cleaning of Delphi projects for which I have not requested any more for years. -
With ExtJS 6.5, touch templete has improved.
Even if the choices are limited and there are few possibilities (at least with ease) to change colors and fonts you can create a responsive web app that is unique for both mobile and desktop.
Here a first attempt. To try on vertical / horizontal smartphone and on PC:
- 1
- 2
-
Hello,
Can you share or sell sourcecode how you implement adding image from server?
I could not find the project in question on my PCs.As soon as I have a moment, I look for old backups. -
Why
Why?
With unigui/extjs you can achieve what you want.
A responsive template must render well on either a pc, a tablet or a smartphone and adapt automatically if you rotate the device.I do not know that currently there is a theme suitable for both the desktop and mobile in unigui. I am wrong?The themes implemented in unigui are definitely ugly compared to current standards and definitely unusable on a 5-inch smartphone. -
Howdy All!
I have been "tagging" UniGui to look at for quite sometime and need to get a little information from existing users.
A little background - I currently have written a reservation system. It is comprised of a WIN32/64 application and a web application written in IntraWeb using CGDevTools jQuery and jQueryMobile components.
I am looking to "unify" my web apps from 2 to 1 (i.e. responsive).
It it possible using UniGui to just use one set of components and have a responsive / consistent UI across all devices (desktop/tablet/mobile) like Bootstrap?
Anybody have a link they can share if the answer to the above question is YES?
I just want to make sure I investigate all Delphi/C Builder web development ways before I am forced to look at a different set of tools for web development.
Thanks in advance,
Aggie85
Also for me to be able to create a responsive web page is a priority. But at present it is not possible with Unigui.
-
+1
I use delphi since 1994 but now I am converting, in spite of myself, to c # e xamarin
-
Yes the plan is to share...but still need to work out a few things with regards to themes....to make it a seamless install.
Thanks ... looks very good
-
Hello,
You colud add a new deployment method based on http.sys stack like mORMot does
Actualy, can deploy as ISAPI, service, standalone...
+1
-
There is a document that explains how to fit a new theme extjs to be used in unigui?
The main criticism that I receive on a unigui app is that it's ugly and not very modern compared to current web standards.
There are much more modern themes available on the Sencha website.
But you can adapt them to unigui?
thanks
-
-
How disable pull down to refresh feature?
It prevents the use of the app constantly initiating refresh the page.With the java script seems you can disable. Look downhttp://output.jsbin.com/qofuwa/2/quiet
http://stackoverflow.com/questions/29008194/disabling-androids-chrome-pull-down-to-refresh-feature
-
There are hopes to see these new templates in unigui.
This would avoid having to use the mobile touch components.
-
+1
-
tinyMCE usage with custom menu / button that open unigui form (images)
-
Hi,
Fast solution and it can be optimized.
Try this:
tinyMCE.init({ /*selector: '#edt1', */ plugins: [ 'advlist autolink lists link image charmap print preview anchor', 'searchreplace visualblocks code fullscreen', 'insertdatetime media table contextmenu paste code' ], toolbar: 'insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image', content_css: [ '//fast.fonts.net/cssapi/e6dc9b99-64fe-4292-ad98-6974f93cd2a2.css', '//www.tinymce.com/css/codepen.min.css' ], mode: "exact", elements: "edt1", setup: function(ed) { ed.on('keyup', function(e) { MainForm.UniMemo1.setValue(ed.getContent()); }); ed.on('change', function(e) { MainForm.UniMemo1.setValue(ed.getContent()); }); } });
Best regards.
Thanks it works.
For small text can be a solution.
For large text I think there is too much overhead.
I tried to add a new funtion in the script to be called from main but I can't get to works
AferScript
.....
function GetHtml() {
MainForm.UniMemo1.setValue(tinyMCE.get('edt1').getContent());
return ""
}
From delphi code I have error (GetHtml() not defined ...)
UniSession.AddJS('MainForm.UniMemo1.setValue(GetHtml())');
How to Materializing the Ext JS Modern Toolkit
in Feature Requests
Posted
"base-color-name": "blue",
"accent-color-name": "orange"
});