sendall show hide button text

Martin Obongita martin.obongita at yahoo.com
Fri Feb 25 08:43:43 UTC 2022


Hi $Listers,
With help and advice from @kellyB, I decided to do away with toolbars in my windows and instead use individual buttons.I now find it easier to design my User Interface.
 I have $sendall command shown below in the $event method of a remote form to hide text in buttons inside a pagedPane if the screen layout is changed to small:


Do $cinst.$objs.$sendall($ref.$text.$assign(),mid($ref.$name,1,10)='btnToolbar')

This works well. The text buttons are hidden.
 I have $sendall command shown below in the same $event of the above window to show the hidden text if the screen layout is changed to big:


Do $cinst.$objs.$sendall($ref.$text.$assign($cclass.$objs.[$ref.$text()].$text),mid($ref.$name,1,10)='btnToolbar')

For some reason, it does not show the hidden button text when the screen is changed to big.I have tested this line many times in all manner of ways, changing this, removing that, adding a parenthesis, with no success.What am I missing in the $sendall parameters?
Kind regards, Martin Obongita.




More information about the omnisdev-en mailing list