If you have questions or if you want to share your opinion about Aware IM post your message on this forum
#52222 by Jaymer
Mon Dec 02, 2019 4:11 am
Consider this Grid (this is from the Preview window in Config Tool)
top_panel1.png
top_panel1.png (19.71 KiB) Viewed 69 times


When you want to provide a mechanism to allow a user to Add a New Record from a Grid, there are [at least] two ways to do it.
1) Panel Operation - Add button in the Panel Toolbox @@@@@@@@@@@
2) Panel Operation - Add button in the Top Panel Toolbar @@@@@@@@@@@

In my opinion, #1 has drawbacks of being overlooked (way to the right), and you cannot add text to it.
#2, while used frequently, annoys me because I lose 1 inch of screen space for a button thats only 80px wide and the rest of that line is wasted. Vertical screen space is at a premium.

So I discovered an extremely easy technique to achieve the following.
This is in the regular caption area so it utilizes un-used space.
The cursor changes to a pointer on Hover and the button "brightens" on hover like a real button.
top_panel2.png
top_panel2.png (7.29 KiB) Viewed 69 times

*** One additional benefit of this is that you get to keep the built-in Panel Toolbox operations (export CSV, PDF, etc.). A Custom Header loses those icons.



And for the more adventurous, this Custom Header uses toggle buttons to perform filtering behind the scenes. An Add button could easily be placed here, but again its taking away Vertical screen space. So Why Custom Header in the first place? Because I would have needed to write [at least] 3 Queries "Show Active ROs", "Show Inactive ROs", "Show ALL ROs" and then I have a lot of redundancy so if 1 Query needs to have a field added, I have to update it in 3 places.
top_panel3.png
top_panel3.png (52.22 KiB) Viewed 69 times

Who is online

Users browsing this forum: bssxfire8, MSN [Bot], rbross and 22 guests