Hi,
I want to add Hyperlink to stringEdit x++ first,then I want to display a list of user and I add hyperlink to every user to open
Customer card
*This post is locked for comments
thanks Rustem, I use SysUserInfoDetail menuItem and that what I want :)
Check the menuItem SysUserInfoPage. This menu item should open SysUserInfoPage form.
You can also use SysUserInfoDetail menu item. And system administration >common > users and retails essentials > employee >users are the same form.
public int selectionChange()
{
int ret;
MenuFunction menuFunction;
Args args;
UserInfo userInfoSelected;
select userInfoSelected where userInfoSelected.name == this.getText(this.selection());
ret = super();
args = new Args();
menuFunction = new MenuFunction(menuitemDisplayStr(SysUserInfoPage),MenuItemType::Display);
args = new Args(menuFunction.object());
args.caller(element);
args.record(userInfoSelected);
menuFunction.run(args);
return ret;
}
Can you share your code please?
That what I want.
but when I open the user profil,I have issue:
normally the user profile is set in system administration >common > users,when I open user profil from my form Iget this:
retails essentials > employee >users!!!
You can use mouseDown() method and do the same thing.
Rustem,
Just last question :)
I have also a stringEdit and I want to add hyperlink to form.
I use the modified method of this stringEdit but I don't get any thing!!!
Ahh..And i'm missed this !!
Good work!
Thanks Rustem,it works now,I forget to set args in method run
That's mean what you don't get userInfo record. Try to debug it.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,232 Super User 2024 Season 2
Martin Dráb 230,064 Most Valuable Professional
nmaenpaa 101,156