AnuKass
10th August 2018, 15:02
hii all...
i'm new for LN
i just try to create tool bar in session ....but it doesn't anything..
....
form.all:
init.form:
ret = create.extra.toolbar("do.something", "lot")
message("fff%d",ret)
....
successfully import lot image..also..
anything else do???:confused:

vahdani
10th August 2018, 17:45
Hi,

I always use this with group.1:Init.group: subsection!

"do.something" must be the name of a form.command and why don't you use a standard image first to check, something like:


group.1:
init.group:
ret = create.extra.toolbar("do.something","tisfc:gen_lot_code")

Hitesh Shah
5th February 2021, 11:03
Hi ,

Does it (extra toolbar) work in webui . We have added the toolbar in script and it shows up in BECS . But it does not show in webui . Are we missing something or its not available .

vahdani
5th February 2021, 11:20
Hi,

from the ofiicial help of the function create.extra.toolbar:

LN-UI: This adds the default icons to the commands. No secondary toolbar will be created.

Hitesh Shah
8th February 2021, 10:31
Hi,

from the ofiicial help of the function create.extra.toolbar:

LN-UI: This adds the default icons to the commands. No secondary toolbar will be created.

Thanks for quick response .
Just wanted to know how we can have our own commnad icon on web ui toolbar. Currently i dont see anything on this toolbar.

andreas.toepper
8th February 2021, 10:44
Thanks for quick response .
Just wanted to know how we can have our own commnad icon on web ui toolbar. Currently i dont see anything on this toolbar.
The only way I'm aware of, is by adding the form command into the menubar by using personalisation (the second option). (If there's an other option, I'm simply not aware of it.)

Hitesh Shah
8th February 2021, 11:55
The only way I'm aware of, is by adding the form command into the menubar by using personalisation (the second option). (If there's an other option, I'm simply not aware of it.)
Thanks for quick response . I was trying to look for answer through 4GL scripting . However personalizations can easily do it without any code .

Thanks very much for quick and precise response.