#1 2016-08-23 11:50:30

edunt
Member
Registered: 2015-12-21
Posts: 258

Can we use a Label control to open a link from our apps?

Hi David,

Can you add new feature for Label so that it will have url link (external web address)?

Thanks

Offline

#2 2016-08-23 11:52:35

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Can we use a Label control to open a link from our apps?

Hello Ade,

What about use the Label's "Click event" and the "OpenWindow" action? Or the HTML control... smile

Offline

#3 2016-08-23 14:42:01

edunt
Member
Registered: 2015-12-21
Posts: 258

Re: Can we use a Label control to open a link from our apps?

David wrote:

Hello Ade,

What about use the Label's "Click event" and the "OpenWindow" action? Or the HTML control... smile

@David:

I am aware of OpenWindow. But I don't to use it because it will open the broswer.

What I would like to do is to let the users click the link and it will download the file.

About Click event action, I have not see it. How do you use it?

Thanks

Offline

#4 2016-08-23 14:45:28

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Can we use a Label control to open a link from our apps?

Hello Ade,

We probably want to use something like the "OpenWindow" action since our apps can runs in platforms like Android, in which we can't simply open links as we do in the browser. Links can be good inside IFrames (in fact works like a charm in the Android platform, for example), and, if you need to use it... you can use the HTML control to put whatever link you wanted.

About the "Click event", I refer to the Label's "Click event", you know, the place in which we can prepare some actions to be called when the user click or tap the Label. This event exists in almost all controls too.

Offline

#5 2016-08-23 20:18:51

edunt
Member
Registered: 2015-12-21
Posts: 258

Re: Can we use a Label control to open a link from our apps?

Hi David,

Actually, what you explained in the first paragraph is what I have done.e.g I created a responsive web page with all the links I needed then placed the single on my webserver and embed the link inside AB using iframe.

I did try that before but I am not sure how to use Label.change colour when hover (Focus tab) the Label control.

Anyway project done.

Thanks.

Offline

#6 2016-08-23 20:31:00

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Can we use a Label control to open a link from our apps?

Hello Ade,

edunt wrote:

I did try that before but I am not sure how to use Label.change colour when hover (Focus tab) the Label control.


In fact we no need to do nothing more than set a "color" for the Label from the "Hover" inspector tab. No more than that. If we need something more, of course, we can always use some CSS rules using the App Inline CSS option or just some prepared CSS stylesheet file. smile

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.