AnuKass
14th February 2019, 09:17
Hii all...
I want to set a label as a button that is like hyperlink ..
In form consist more label .
eg:
one label "label1" when i clicking this label ,do some process.
"label2"-do another process.
.....
Is it possible?
mark_h
14th February 2019, 15:33
We always just used 'user defined buttons'. LN might have something better.
bdittmar
14th February 2019, 17:41
Hello,
in LN your searching form.command , i think.
Regards
NPRao
14th February 2019, 20:13
one label "label1" when i clicking this label ,do some process.
"label2"-do another process.
- Alternative option is to use the LN form commands and add 2 buttons to the session, enable/disable them based on certain condition/status.
AnuKass
15th February 2019, 06:09
Hii all...
how to use user defined buttons ...??
Is should be create form commands for this buttons?
AnuKass
15th February 2019, 06:19
Hii all...
Thanks for your reply ...but i want hyperlink like HTML ..not a button ..
when i clicking this label or link,open a web page....
mark_h
15th February 2019, 14:45
Yeah - so I added a button on the screen. Remember I am on 4c4. I would build the URL and then basically launch it like below. So I would create user defined option - then just go add that to the button form. Or if I wanted I could edit the form - do special button and put in my user defined option. Then I could put the button anywhere.
choice.user.2:
on.choice:
rc = app_start("http://someserver1:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?iDocID=545598&sType=wid&sRefresh=Y","","","","")
NPRao
15th February 2019, 21:25
when i clicking this label or link,open a web page....
Based on your other posts, it appears you are new to Baan/LN programming and need to get some more training.
The purpose of labels is to display a meaningful name for the Table/form field.
The purpose of the form-commands/choice options is to take "action".
You are mixing up both.
AnuKass
18th February 2019, 05:59
Based on your other posts, it appears you are new to Baan/LN programming and need to get some more training.
The purpose of labels is to display a meaningful name for the Table/form field.
The purpose of the form-commands/choice options is to take "action".
You are mixing up both.
yes ..i know that ..what i'm trying to say..i want exactly as html ..
In HTML ,in web page contains one link as hyperlink ..when clicking that it's redirect to other page ....
As same As..In my session should be one link as hyperlink or it's look like a
label ("it's should not be like a button ")..clicking this do some process... Is it possible in LN10.4?If yes ,how to do??
mark_h
18th February 2019, 16:42
I think what they are saying is that it is not possible to do it with a label. But you could simulate it with a button to launch a URL. I will not say that for sure since I have never played with building a window with like create.object or something like that. Even using something like that I am not sure how you would get a link to work from the form.
giggty
19th February 2019, 10:44
You can simulate it by putting a display field on the form. Then you can set it inside the script.
AnuKass
19th February 2019, 14:23
i did as you set ...but i got nothing..
can you please tell what i will do in program script?
giggty
19th February 2019, 14:56
Ah, don't think this will work in Worktop...