1,240 questions
0
votes
1
answer
51
views
Attempting to call a toggle from a different layout
Pretty much I have a Toggle filter on my main layout, and I have another class called settings, settings creates a different layout. I want to check if my filter is toggled on so that a button in my ...
0
votes
1
answer
68
views
VBA: Check/Tick specific dynamic checkbox when Togglebutton is clicked
I have created a UF reading in various tabs (opt) with each tab having between 10 to 19 entries which I display in a Multipage checkbox list.
Now I'm trying to create various Togglebuttons which ...
0
votes
0
answers
53
views
In my ionic angular project, I have included a primeNG tree. In my tree, the toggle buttons are not getting indented
This is my html code. I have put indentation to the nodes using typescript, but toggle button are not getting indented.
<p-tree [value]="treeData" selectionMode="single" [...
1
vote
0
answers
50
views
WPF ToggleButton group - only one button checked at a time [duplicate]
I have an ItemsControl in my WPF application that displays a list of ToggleButtons. Each ToggleButton represents a file path, and I want only one button to be selected at a time. Clicking a button ...
0
votes
1
answer
34
views
Grouping dynamically created ToggleButtons (to turn off/on in groups) and writing into class
I have a list of possible locations (i) and want the user to bring into order of preference.
Therefore, I have written code to create the "i" locations and assigned ToggleButtons (= TB). I'm ...
0
votes
1
answer
60
views
A Method which runs every second? in Android Studio
Is there a way to create a method in java which will run every second?
I want to check if my ToggleButton is checked every second and if checked then vibrate the device.
In the below code, tb is ...
1
vote
2
answers
105
views
Toggling between languages with JS [closed]
I am trying to create a website that can switch languages from English to French by clicking on the toggle button. I tried a few ways without Javascript because I don't know much, and only with CSS ...
0
votes
1
answer
39
views
XAML: The initial toggle-state of an expander style groupbox is out of sync
The togglebutton of the expander is out of sync. It is styled in a way, that when closed, the arrow points right and when opened points down.
However when starting the app the arrow points right but ...
0
votes
1
answer
166
views
Excel Ribbon Button toggleButton: Shrink to fit (text)
This is a toggleButton button to switch "Shrink to fit" text on/off.
Issue: It does not refresh properly.
How do you build it to always "show" the active cells' state?
' -- XML
&...
0
votes
0
answers
144
views
creating drop-down lists or toggle-switch buttons in a treeview with tkinter in Python
enter image description hereI try to create a menu like this in tkinter. Here is what I would like on this picture. In this Menu, I have categories (here on the picture for example General Options, ...
0
votes
1
answer
66
views
How to Cancel ToggleButton Animation on Window Switch
I use this ToggleButton for my SettingsWindow. When i switch over to my SettingsWindow i can see the Animation of Every ToggleButton that is in the ON State. I want them to be fully enabled already ...
0
votes
0
answers
103
views
How to disable a SwiftUI button from UIKit
I have the following SwiftUI custom Toggle button:
struct TwoStateButton: View {
@State var isSelected: Bool
@State var isDisabled: Bool
var onTap: ((Bool) -> Void)? = nil
var ...
1
vote
2
answers
830
views
How to Style WinUi 3 RadioButtons as a group of toggle buttons?
I need to style some grouped radio buttons as toggle buttons like below, how to implement this in WinUi
Here is the question to do the same in WPF.
Style WPF radio button as toggle button with correct ...
0
votes
2
answers
110
views
Display bullets toggle button, pressed and not pressed, on custom Word ribbon tab
I created a custom Word ribbon tab, featuring three bullet toggle buttons.
While these buttons function in terms of styles, they appear pressed when I'm on a different line, unlike the behavior of the ...
0
votes
1
answer
282
views
How to Change MaterialDesignSwitchToggleButton Track Color When IsChecked=True in WPF?
I'm working on a WPF application using the MaterialDesignInXamlToolkit, and I'm trying to customize the appearance of a MaterialDesignSwitchToggleButton. Specifically, I need to change the Track ...
0
votes
2
answers
159
views
VBA code to click on a toggle button and hide some rows and columns in another sheet - how to unclick other buttons?
I wrote the following code in VBA Excel. The intent is when we click on a toggle button, some rows and columns in another sheet will be hidden. I have 2 questions: 1) the operation is very slow, what'...
1
vote
1
answer
446
views
Change multiple element color on click on an expandable toggle menu
I would need a Javascript function that allows me to change the color of some elements of the header of a website that I’m developing when I click on the drop-down menu in the top left. The site is ...
0
votes
1
answer
127
views
Example of Android style toggle button implementation in WPF
<Style x:Key="AndroidToggleBtnStyle" TargetType="ToggleButton">
<Setter Property="Height" Value="30" />
<Setter Property="Width"...
0
votes
1
answer
69
views
Toggle button in React doesn't work although it does its purpose
In the step #2 in this challeng, there is a toggle button it did it with it own style and it supposed to give a montly value or yearly value and here is the code:
import { NavLink } from "react-...
0
votes
1
answer
1k
views
Like and Unlike Button in React
I wanted to implement a like/unlike button in each post. When I click 'like,' it does update in my rails backend, and it does toggle from 'like' to 'unlike.' However, after I go to a different post ...
2
votes
1
answer
868
views
How can I let users interact with a toggle button using the spacebar and enter key?
I made a toggle button using the label of a checkbox after this example. Users should be able to control the toggle button with both their mouse/trackpad and their keyboard. Mouse/trackpad controls ...
1
vote
2
answers
459
views
My Toggle Button to hide rows causes my VBA code cells to #VALUE error
I've just discovered Toggle Buttons and have input a number to hide and unhide various sections of my sheet when they're not in use.
Within each hidden section I'm using a VBA code to sum bold and sum ...
0
votes
2
answers
1k
views
On clicking Sidebar toggle button takes back to default page in React
I have a simple toggle using hooks to show/hide sidebar. The toggle button works fine as far as showing and hiding sidebar is concerned. When I click on the toggle button it opens the sidebar. And ...
0
votes
1
answer
459
views
Flutter: ToggleButton children in two rows
I have a ToggleButton with 10 Text Widgets. However, I want them to be in two rows, with the first row containing numbers 1 to 5 and the second row containing numbers 6 to 10. How can I achieve this?
...
1
vote
1
answer
2k
views
How to add the text “ON” and “OFF” to Switch toggle button in angular using primeng?
I'm using primeng in my angular14 project. I want to show ON and OFF label inside switch toggle button.May be somebody know how to do that?
<p-inputSwitch ></p-inputSwitch>
https://...