-
Posts
1577 -
Joined
-
Last visited
-
Days Won
134
Content Type
Profiles
Forums
Events
Posts posted by Hayri ASLAN
-
-
4 hours ago, LCSTech said:
how to use google provider below with unimap?
import { GoogleProvider } from 'leaflet-geosearch';
const provider = new GoogleProvider({
params: {
key: '__YOUR_GOOGLE_KEY__',
},
});
// add to leaflet
import { GeoSearchControl } from 'leaflet-geosearch';
map.addControl(
new GeoSearchControl({
provider,
}),
);Hello
You can use below code.
JSCode('const provider = new window.GeoSearch.GoogleProvider({params: {key: "apikey"}});');
-
Merhaba
Bu işin en kolay yolu yazıcı için bir servis yazmak
Client yazdırmak istediğinde veritabanına bir kayıt ekler. Yazıcı servisi de belirli aralıklarda tabloyu kontol eder ve yazdırma işlemini gerçekleştirir
-
6 hours ago, likemike said:
No problemunigui3.rar
1. press "Open form" on Mainform -> 2. form opens and all works fine
2. close the 2. form
3. press "Open form" on Mainform again -> errorHello Mike,
Please use below code.
procedure TUnimForm1.UnimFormCreate(Sender: TObject); begin with UnimFileUploadButton1, JSInterface do begin JSCallGlobal('Ext.util.CSS.createStyleSheet', ['#'+JSId+' .x-inner-el{ '+ ' background-color: #f5e971; '+ ' border-color: #055af7; '+ ' border-radius: 25px; '+ ' border-width: bold; '+ '}'+ '#'+JSId+' .x-text-el{ '+ ' color: #525452; '+ ' font-weight: #525452; '+ '}'+ '#'+JSId+' .x-label-el{ '+ ' display: none; '+ '}'+ '#'+JSId+' .x-input-el{ '+ ' display: none; '+ '}'+ '#'+JSId+' .x-input-wrap-el{ '+ ' border: none; '+ '}'+ '#'+JSId+' .x-after-input-el{ '+ ' width: 100%; '+ '}'+ '#'+JSId+' .x-filetrigger{ '+ ' width: 95%; '+ ' margin-left: 1em; '+ '}'+ '#'+JSId+' .x-button-action{ '+ ' width: 100%; '+ '}' ]); end; end; procedure TUnimForm1.UnimFormReady(Sender: TObject); begin with UnimForm1.UnimFileUploadButton1, JSInterface do begin JSAssign('element.dom.querySelector(".x-text-el").innerText', ['New media']); end; end;
- 1
-
3 hours ago, likemike said:
Hi
Can you make a simple test case so I can work on it
-
6 minutes ago, likemike said:
Works great!
Last question: what about the text color?
Hello Mike
you can use the below code
JSAssign('element.dom.querySelector(".x-text-el").style.color', ['blue']);
-
17 hours ago, likemike said:
Hello Hayri!
This post is very helpful.
Can I set the background color und rounded edges too?
Where can I find which elements are available and what are the possible settings?
Regards
Mike
Hello Mike
Please add below lines to your code.
with UnimFileUploadButton1, JSInterface do begin JSAssign('element.dom.querySelector(".x-label-el").style.display', ['none']); JSAssign('element.dom.querySelector(".x-input-el").style.display', ['none']); JSAssign('element.dom.querySelector(".x-input-wrap-el").style.border', ['none']); JSAssign('element.dom.querySelector(".x-after-input-el").style.width', ['100%']); JSAssign('element.dom.querySelector("#ext-field-trigger-file-1").style.width', ['100%']); JSAssign('element.dom.querySelector("#ext-filebutton-1").style.width', ['100%']); JSAssign('element.dom.querySelector(".x-text-el").innerText', ['Take a Picture']); JSAssign('element.dom.querySelector(".x-inner-el").style.backgroundColor', ['red']); JSAssign('element.dom.querySelector(".x-inner-el").style.borderColor', ['red']); JSAssign('element.dom.querySelector(".x-inner-el").style.borderRadius', ['25px']); end;
- 1
-
9 hours ago, Point said:
Hello,
is there a way send message/signal to hyperserver service to restart unigui application base on spesific node.
thanks
Hello
Can you explain what is the purpose of this? Hyperserver will restart unigui app if there is a timeout
-
-
On 3/28/2022 at 3:40 AM, Franco Grech said:
Thank you so much your work it's really nice.
I'd like to ask that how can I use camera to record a new video. In my app I'm using the UniGUI mobile upload component where I already set the accept ('video') property. The mobile app every time wants to create photo.
When I'm testing this function in Chrome browser, it works properly.
Thank you for any help!
Hello
Can you make a simple test case so I can work on it
-
Hello
- We will publish Q2-2022 roadmap tomorrow
- We will open a poll for Q3 2022 so we can create new roadmap based on customer requests
- We will share full source code for all units in the CORE folder (UniGUIForm, UniGUIFrame, UniMainModule etc.) It means that we will share full source code for all units that are used to compile your uniGUI app
- 3
- 2
- 2
-
Hello,
I wonder which bugs that you are waiting on? Please post about bugs and features which are you waiting for that are blocking your business.
Please make a list of those bugs which are blocking your projects so So we can give them the highest priority.
-
4 hours ago, d.bernaert said:
Or the other build... 🙂 what build will that be 🙂 there are no builds...
We recently published a build.
Currently we are actively working on websockets. If everything go well we will publish it in the next build but if something urgent come to table, we may defer it one build.
-
7 hours ago, VolkovVitalD said:
Hello!
I didn't find any information on the forum on the use of this technology.
It would be great to call:
UniSession.NotifyClient('Notifications from server');You can not interact with client without getting a request from the client.
To solve this we are implementing websockets. We will publish it in the next or the other build.
- 1
-
59 minutes ago, snow said:
Hi Sherzod,
I've created another test project (including a SQLite database) so the problem should be immediately reproducable.
As you can see, the text in the normal cells isn't displayed properly... should be vertically centered and not cut.
Thanks in advance for your help.
Regards
Hello
Please use below css
.x-grid-td { line-height: normal; }
-
1 hour ago, likemike said:
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) :
How can I avoid that?
Regards
Mike
Hello
Can you please create a test case?
-
-
1 hour ago, bbm said:
Hi,
The file jquery-1.11.2.min.js is available in version 1.90.0.1551. A customer asked me whether this file could be replaced by a more recent version.
Best regards
Hello
you can set ServerModule -> Options -> soDontLoadJQueryLib := True and add latest jquery file to CustomFiles.
-
55 minutes ago, mehmet07 said:
I added the postAppMessage function to the script property of the mainform.
gives the same error
After getting connected with you, the solution was putting postappmessage script into Login form as you have a login form.
-
6 hours ago, mehmet07 said:
Hello,
I tried your demo and it works fine. When I add it to my own application, I get the message postAppMessage is not defined.
My action steps:
-I added the UniMobileX1 component to the form.
-I added the postAppMessage function to the script property of the form.
-One button UniMobileX1.ReadBarcode(true); i wrote your codeYou should add postappmessage to mainform
-
-
5 minutes ago, mehmet07 said:
Merhaba Hayri bey,
-https://www.b4x.com/b4a.html yuklemesini yaptim. B4A-Bridge uygulamasini da yukledim ve kendi ornegini calistirdim sorunsuz calisti.
-Sizin bileseni yukledim. uygulamayi derledim. sorunsuz derlendi.
Simdi sizin demo yu apk olarak nasil derleyebilirim? İşlem sıradaki işlem adımı nedir acaba?
Teşekkür ederim
Merhaba
B4A klasoru icindeki uygulamayi acin, eger kutuphane hatasi verirse Libraries kismindaki dosyalari internal library bolumune kopyalayin. Gerekli parametreleri degistirip uygulamayi derlediginizde apk olucak.
1- Make sure hello world app works.
2- Add missing libraries that I provided to Internal libraries folder.
3- Build B4A app and you will get an apk. Before building make sure you changed to parameters.
-
43 minutes ago, asapltda said:
Good morning, is there an executable (apk) for test?
Hello
In the source code please compile B4A project with changing the parameters. It will give you an apk
-
Hi,
Did you install UniMobileX android app to your android device?
Can you see the website in your android app? (Delphi Demo app)
-
2 hours ago, NNPaulo said:
HI Hayri;
NetEncoding not found; C++Builder/Delphi XE5
Hello
use System.NetEncoding.
How to make the web page more responsive?
in General
Posted
Hello
Which version and build are you using?