-
Content Count
781 -
Joined
-
Last visited
-
Days Won
169
jarto last won the day on November 24 2020
jarto had the most liked content!
About jarto

-
Rank
- Birthday 02/11/1970
Profile Information
-
Gender
Male
-
Location
Dubai
Business
-
Company name
The Smart Company AS
-
Sector
Information technology
-
Position
Development Manager
Smart Mobile Studio
-
Edition
Enterprise
Recent Profile Visitors
1,163 profile views
-
I am terribly sorry. I will message and e-mail him again.
-
I'll make sure that @jorn solves this.
-
I had a quick look at SmartNJ.Server.WebSocket.pas. It currently does this: // catch and cache remote URL if (request) then begin if (request.connection) then NJSocket.RemoteAddress := request.connection.remoteAddress; end; Maybe this could be changed to: // catch and cache remote URL if (request) then begin if (request.connection) then begin NJSocket.RemoteAddress := request.connection.remoteAddress; NJSocket.RemoteUrl := request.url; end; end; After that you could parse the parameters from RemoteUrl.
-
Do you mean the Tabs and Scrolling and Listbox -sample?
-
jarto reacted to a post in a topic: touch-action in CSS
-
Tim Koscielski reacted to a post in a topic: Issues with Timezones in FormatDateTime? Panel Transparency?
-
Tim Koscielski reacted to a post in a topic: Issues with Timezones in FormatDateTime? Panel Transparency?
-
lynkfs reacted to a post in a topic: Issues with Timezones in FormatDateTime? Panel Transparency?
-
Issues with Timezones in FormatDateTime? Panel Transparency?
jarto replied to Tim Koscielski's topic in General
Fixed now in the Alpha branch. Thank you @Tim Koscielski -
Issues with Timezones in FormatDateTime? Panel Transparency?
jarto replied to Tim Koscielski's topic in General
First of all, that's a beautiful clock. Looks very nice 🙂 I can reproduce the AM/PM -bug, so let me have a look at it. Transparency can be controlled with normal properties like this: Ctrl.AlphaBlend:=True; Ctrl.Opacity:=0; You can also make your procedure more versatile, so it can be used with any control: procedure TFormClock.TransparentControl(ACtrl: TW3CustomControl); begin w3_setstyle(ACtrl.Handle, 'background', 'transparent'); w3_setstyle(ACtrl.Handle, 'outline', 'none'); w3_setstyle(ACtrl.Handle, '-webkit-box-shadow', 'none'); w3_setstyle(ACtrl.Handle, 'box- -
Tim Koscielski reacted to a post in a topic: How to add a CSS file to a project?
-
IgorSavkic reacted to a post in a topic: SSO (Single-Sign-On) via Google using TW3GoogleLogin
-
IElite reacted to a post in a topic: Smart Mobile Studio 3.9.1 (1st Alpha release) is available
-
IElite reacted to a post in a topic: SSO (Single-Sign-On) via Facebook using TW3FacebookLogin
-
IElite reacted to a post in a topic: SSO (Single-Sign-On) via Google using TW3GoogleLogin
-
lynkfs reacted to a post in a topic: SSO (Single-Sign-On) via Facebook using TW3FacebookLogin
-
TW3FacebookLogin is a non-visual component, which is available in the Designer's Cloud-tab. It lets you add Single-Sign-On to your web page using Facebook credentials. To use this, you need an AppID, which you can obtain by registering at https://developers.facebook.com When you register, you need to specify the App Domains where you're going to host your web app. So, if you plan to have it at https://myserver.example.com/mywebapp/index.html, then you need to register myserver.example.com as App Domain. Then add TW3FacebookLogin to your form and set the necessary properties
-
Daniel Eiszele reacted to a post in a topic: Smart Mobile Studio 3.9.1 (1st Alpha release) is available
-
TW3GoogleLogin is a non-visual component, which is available in the Designer's Cloud-tab. It lets you add Single-Sign-On to your web page using Google credentials. To use this, you need a ClientID, which you can obtain by registering at Google: https://developers.google.com/identity/sign-in/web/sign-in When you register, you need to specify the URI where you're going to host your web app. This is also where you need to copy the html code that Smart Mobile Studio produces when you compile your app. So, if you plan to have it at https://myserver.example.com/mywebapp/index.html, then yo
-
Smart Mobile Studio 3.9.1 (1st Alpha release) is available
jarto replied to jarto's topic in News and Information
A new update is available. This one contains two new controls: TW3GoogleLogin TW3FacebookLogin Both are non-visual components, but they are available in the Designer under the Cloud-tab. These two controls let you add Single-Sign-On via Google and Facebook to your web page. To use them, Add the control to the form Set the AppId- or ClientId-properties You need to register at Google or Facebook to get these ids You also need to copy the app to the registered URI that you specify during registration Set the OnLogin and OnLogo -
jarto reacted to a post in a topic: font choice
-
It doesn't have to be exactly like that. There can be differences in function parameters, but for sure, the functions need to be there. I wonder if this is by design in JS.
-
I've been trying to search the internet for an explanation as the JS code produced looks like this: mypromise.then(SuccessProc, ErrorProc);
-
@lynkfs Oh, that helped so much! I've struggled at the concept of calling these external js apis when class references don't exists and also had no experience with using promises. But you helped me get going and now I'm making very good progress 🙂 Now I have TW3FacebookLogin- and TW3GoogleLogin-classes that both work. I'll have to read up a bit to add the necessary parameters (besides ClientId of the app), but I should be able to get them into alpha and component palette next week.
-
jarto reacted to a post in a topic: Facebook or Google OAuth
-
Smart Mobile Studio 3.9.1 (1st Alpha release) is available
jarto replied to jarto's topic in News and Information
@JimKueneman No, I haven't changed anything in WebSockets code. -
Does anyone have a working example of how to use Google's Sign-In api via their platform.js? I can find documentation and js code: https://developers.google.com/identity/sign-in/web/sign-in https://www.intricatecloud.io/2019/07/adding-google-sign-in-to-your-webapp-using-the-js-library/ ...but as I'm not at all used to using promises, I feel there's quite a learning curve here for me. With a working example I could turn it into an easy-to-use component in no time.