- Juan Pedro Sanz Diez
- PowerBuilder
- Tuesday, 14 April 2020 03:58 PM UTC
Hi, friends:
I have a toolbar menu cascade with three options:
menucascade_toolbar
-> option 1
-> option 2
-> option 3
It works fine: whatever option I choose at runtime , the menu cascade_toolbar item shows the option i have chosen.
I want to go further, and I store the user chosen option in the database. But when the user opens the app, and i try to select back the user option, i can't show it in menucascade_toolbar item.
I tried.
1.- option3.triggerevent(clicked!) -> Runs the code in the event, it doesn't change neither toolbarItemName nor toolbarItemText in the menucascade_toolbar item
2.- option3.check(). -> it doesn't change neither toolbarItemName nor toolbarItemText in the menucascade_toolbar item
3.- option3.triggerevent(selected!) -> idem.
4.- menucascade_toolbar.toolbarItemName= 'c:\imagenespb\resize_rojo.png'
menucascade_toolbar.toolbarItemText= 'Resize 2'
idem. It overrides them.
5.- option3..EVENT Clicked()-> Idem
Any workaround to convince it?
Thanks in advance.
Regards!!!
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.