How can I find out whether the Field List is currently visible in a DevExpress PivotGrid control - devexpress-wpf

I am wanting to use a toggle button to show or hide the Field List in a pivotgrid, but to do this (and show appropriate tooltips) I need to know whether the field list is currently visible or not. Is there an easy way to do this? It feels like it should be straightforward, but I cannot find any property that indicates the current visibility.

The answer is to use the Pivot.IsFieldListVisible property, which I couldn't see on looking. In case anyone else is a blind as me.

Related

How to add all status in filter in backpack for Laravel

I have added a dropdown filter in backpack for laravel,
The first option in the dropdown is -.
Now I want to change this text to All Status.
I mean when no filter option is selected, the default option is now -, I want to make this all Status.
at the moment the only way to do it is by overwriting the filter blade file in your resources folder since - is an hardcoded string.
It means filter clear, like an empty option, and not Show all something. Show all something is on by default when nothing is selected in the filter, so the - means that the filter is not beeing applied, no filter option selected.
Feel free to open an issue as a Feature Request if you think diferent way, maybe you are right and we are wrong, it happened alot of times. :)
Cheers

show and hide tabs dynamically in touch ui -AEM

I have a requirement, where I need to show few tabs on selection of a value from a drop down.
I have done this in classic UI. But not sure how to proceed for Touch UI. I know that we can use JQuery, Can anyone let me know the approach I can use.
Its fairly simple, look at the OOTB List Component /libs/foundation/components/list. The selection dropdown is defined - /libs/foundation/components/list/cq:dialog/content/items/column/items/listFrom, look at property class and cq-dialog-dropdown-showhide-target these are used to manage hide and show.
Now from here look at the dropdown values under - /libs/foundation/components/list/cq:dialog/content/items/column/items/listFrom/items these values trigger the hide and show mapping to property showhidetargetvalue as in /libs/foundation/components/list/cq:dialog/content/items/column/items/setDescendants

"Segmented Button" with Multi-line Text

I'm not sure exactly what keyword I should be searching, but I wasn't able to find the answer to my problem - I'm new to iOS development so apologies in advanced if I'm not using the correct UI components.
I want to create something like a segmented control (two choices) with multi-line descriptions in them, except I'm not sure if I should be using a segmented control to do so, or to customize a button to create it. The user should be able to select a "choice" and that will switch views and tint the choice not selected depending on the choice the user makes. How exactly would I design this / is this possible?
I've already attempted to modify the segmented control but couldn't get the desired results. I've thought about creating a text box and modifying it to act like a button selector, but wasn't sure if that was the best way. I would love some input, thanks!

Access Forms prevent mouse from selecting values from dropdown, force keyb input

I have a data entry form. Its properly tab indexed etc. and there are three dropdown menus which automatically unfurl with the on enter event.
No matter how much advice i give to users about using the tab key and keboard and checking what they just input.
they still insist on using the mouse to select values from the dropdown menus
the problem is that in their haste they often make mistakes as a result of using the mouse.
I would like to be able to force users to input into these fields using the keyboard.
the drop down is neccessary for users see the appropriate values for the field because the values will vary based on previous selections.
I have already tried experimenting with onclick events but to no avail.
Is there a way I can do this?
i am using access 2007 many of the users have access 2003.
Based on your comments, I would take one of two different approaches.
If your users are really comfortable with the codes AND know which ones they should use based on their previous selections, then just use text boxes instead of combo boxes. You can still put some validation code in either the Form_BeforeUpdate event or the individual control's _BeforeUpdate event.
If the users are not that comfortable, then I would suggest you have the first field in the combo boxes be the description of the code, not the code itself. So instead of choosing from 101, 102, 103 they are instead choosing from "Small", "Medium", "Large" or whatever those codes actually apply to. If you still wanted to display the codes themselves, you could do that with a separate disabled text box.
Now to answer your actual question. For the record, I highly recommend against using this approach. The simplest way I can thing of to prevent your users from using the mouse to select the combo box, would be to add a Transparent button covering the combo box.
To do this, draw a regular command button over the combo. Set Transparent = Yes, Visible = Yes, Enabled = Yes, Tab Stop = No.
When users click on the combo now, they will actually be clicking on the Transparent button and nothing will happen. The ONLY way they will be able to get into the control is by tabbing from a neighboring control or using a hotkey (via '&' in attached label).
Once they enter the control via Tab and your code forces a dropdown, they will still be able to choose an option using the mouse. But by forcing them to use the keyboard initially, it will make it much more likely that they just stick with the keyboard.
Again--I can't stress this enough--I think this is a terrible, horrible, no-good idea. Please don't use this approach. But you asked a technical question and this site is all about giving technical answers, so there you go...

UX for letting user drag a Google map marker and enter form fields

I want to allow the user to specify the location of something by dragging a marker onto the map. And I also want to let them enter some information about that spot.
The problem is that this makes a very complex form. Can this be done in one step? Or do I have to make them choose location first, and then in a second form take the form-field input?
How would you guys go about doing this? Are there any good tutorials for this sort of thing out there?
Thanks,
Alex
What do you mean in one step?I implemented this by adding a floating form in the side of a map and adding two hidden(or not?) fields that populated with the coords of the draggable marker.I really don't see any other way except maybe if you embed the form in the info window of the draggable marker
Cheers