473,909 Members | 4,177 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Toolstrip toggle button

Mel
Hi, is there any way I can implement toolstrip toggle button simular to the
MS Word alignment button?
if one toggle button already pressed down, if user click on the "pushed down
button", the other toggle button will push down and the "pushed down button"
will push up. I have trying to find groupID for toolstrip button, but seem
like they don't have it.

I hope anyone can help my question, thank you very much.
Nov 28 '05 #1
2 7978
You can set Tag property to some identifier and disable all buttons in group
when one of them is pressed.

"Mel" <Me*@discussion s.microsoft.com > wrote in message
news:E6******** *************** ***********@mic rosoft.com...
Hi, is there any way I can implement toolstrip toggle button simular to
the
MS Word alignment button?
if one toggle button already pressed down, if user click on the "pushed
down
button", the other toggle button will push down and the "pushed down
button"
will push up. I have trying to find groupID for toolstrip button, but seem
like they don't have it.

I hope anyone can help my question, thank you very much.

Nov 28 '05 #2
Mel
Thank you very much.

"Lebesgue" wrote:
You can set Tag property to some identifier and disable all buttons in group
when one of them is pressed.

"Mel" <Me*@discussion s.microsoft.com > wrote in message
news:E6******** *************** ***********@mic rosoft.com...
Hi, is there any way I can implement toolstrip toggle button simular to
the
MS Word alignment button?
if one toggle button already pressed down, if user click on the "pushed
down
button", the other toggle button will push down and the "pushed down
button"
will push up. I have trying to find groupID for toolstrip button, but seem
like they don't have it.

I hope anyone can help my question, thank you very much.


Nov 28 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
8638
by: MLM450 | last post by:
I am trying to create a button on a toolstrip that is used to select a color. After the user selects their color, a portion of the button's image is changed to that color (similar to the highlighter button in Microsoft Word). How can this be done? I tried making part of the button's image transparent and then changed the button's BackColor to the selected color. It appears that BackColor does not affect anything. That seems to be true...
3
10654
by: Mel | last post by:
Hi, Is there any way I can force to change button background colour when toggle button is checked? Just like button change its background colour when mouseover in MS Visual Studio.NET. I hope I can get my question answered. Thank you very much.
1
6733
by: Alex Clark | last post by:
Hi all, I'm using the ToolStrip in .NET 2.0, and I can't seem to find a way to change the size of it. What I want is a toolbar the size of the IE toolbar, preferably with text below images if possible. Can anyone shed any light on how to do this? Thanks, Alex Clark
4
9185
by: Adam Honek | last post by:
I have a ToolStrip. The ToolStrip has a ToolStripDropDownButton with 3 ToolStripMenuItems My question is how do I catch the click event ot these 3 ToolStripMenuItems? I tried the below but it doesn't catch the events: Private Sub LowPriorityToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
2
3962
by: Robert Jones | last post by:
I have a toolstrip button on a windows form. If my form does not have focus, when the user clicks on the toolstrip button nothing happens, and they have to click a second time for the button to operate. A System.Windows.Forms.Button also on the form does respond immediately - even if the form does not have focus. Is it possible to make the System.Windows.Forms.ToolStripButton respond immediately also?
2
17331
by: halex2000 | last post by:
Hi, I've used a toolstrip up until now for my program, but I've just discovered that it doesn't support checkboxes. Is there a way to put one in a toolstrip? I could also use a state button instead: a button, that is, that keeps a 'pressed' state when clicked, and a 'released' state when clicked again, but I don't find this functionality in the toolstripbutton class. Is there a solution for my problem? Thank you!
6
2828
by: Mike | last post by:
I have a program that is crashing on some machines (at a client of ours). I have determined that it goes down on this line of code: ToolStrip x = new ToolStrip(); I created a simple test app that only performs this one line of code. It throws an exception so I know the problem is not caused by something in my code. It seems like there is a problem with .NET. We have tried uninstalling and reinstalling .NET 2, but it doesn't help.
1
4047
by: Tom P. | last post by:
It's kind of hard to explain (so if you need more just ask) and any help would be greatly appreciated. I am writing a side-by-side file manager. On each side I have a DropDownButton that holds either the root name or the Favorite name for the current path. I also have a DropDownComboBox that has the current full path as well as a series of paths that lead back to the root (i.e. "C;\Program Files\Microsoft Office", "C:\Program Files", "C:...
1
2999
by: priyamtheone | last post by:
In C# 2005 (.Net 2.0), while working with a toolstrip, if its TabStop property is set to TRUE and there are two comboboxes and a button in the toolstrip, why doesn't the button get any focus when the focus is moved from one control to another by pressing the TAB Key. This problem doesn't occur when the TabStop property of the toolstrip is FALSE. But I need the TabStop property to be TRUE. Another problem is while the TabStop property of...
0
9877
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11346
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10919
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11046
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10538
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9725
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7248
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6138
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4774
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.