I have requirement in power builder 2017 R3 to do some logic when there is change in frame bar position and enabling/disabling of frame bar.Can any one help me getting the menu item called or invoked when we do right click on "Frame bar" in to hide/disable the frame bar,change the position of the toolbar.
- Sarath Pappireddy
- PowerBuilder
- Monday, 5 August 2019 17:12 PM UTC
There are replies in this question but you are not allowed to view the replies from this question.
Hi Sarath;
Put this code in the MDI Frame's "OTHER" event, as follows ...
IF wparam = 3 THEN
Application lo_app
lo_app = GetApplication( )
IF lo_app.toolbartext = TRUE THEN
THIS.setmicrohelp ("ToolBar Text ON")
else
THIS.setmicrohelp ("ToolBar Text OFF")
END IF
END IF
Refactor the above code as required. ;-)
Regards ... Chris
I have tried and it works but for each and every click its calling,so because of that always my logic is executing for each click.for example when i right click on the frame bar even without selecting the option other event is getting triggered.is there anyway we can restrict like execute only when the option selected or we can make use of other events in mdi frame window?
why we are passing wparam =3 only here can you please explain ?
HTH