473,748 Members | 11,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tab Control - Block CTRL+Tab

I'm developing a Wizard type program, and I'm flipping between steps
by using a TabControl.. buttons on each tabPage move to the next or
previous tabPage.

When I press CTRL+Tab however, the tabControl begins to cycle through
the tabPages, just as it does in Visual Studio, IE7 etc.. any tabbed
program.

I need this blocked.

I am already catching key input from the user.. when the first tabPage
of my Wizard is active, and the user presses control+a, a "secret
admin" tabPage is shown.. My boss wanted this so that he could
dynamically set some variables for the wizard. This is working very
well. So I thought I only needed to extend this to capture control
+tab key strokes, and do nothing when they are pressed..

Here is my KeyDown event for the Form:

private void adminTab_KeyDow n(object sender, KeyEventArgs e)
{
if (e.Modifiers.Eq uals(Keys.Contr ol) &
e.KeyCode.Equal s(Keys.A) & (tcBody.Selecte dTab.Equals(tab WelcomeKey)))
initAdminTab();

if (e.Modifiers.Eq uals(Keys.Contr ol) &
e.KeyCode.Equal s(Keys.Tab))
{ /* do nothing, however - the tabPages still move */ }
}

Is there any way I can block this control+tab from fliping my
tabPages? Basically using this method, it is possible to access my
adminTab from any tab, which I don't want.

I guess the alternative is to place a "onTabPageChang ed" event to my
tabcontrol, and do some flag checking there to determine if I display
my admin page or not. But that only protect my adminTab, it doesn't
really prevent the user from screwing up the entire wizard !!

Any help or suggestions ? Thanks,

Feb 26 '07 #1
17 7429
On Feb 26, 12:26 pm, "Kbalz" <Kurtas.Balc... @gmail.comwrote :
I'm developing a Wizard type program, and I'm flipping between steps
by using a TabControl.. buttons on each tabPage move to the next or
previous tabPage.

When I press CTRL+Tab however, the tabControl begins to cycle through
the tabPages, just as it does in Visual Studio, IE7 etc.. any tabbed
program.

I need this blocked.

I am already catching key input from the user.. when the first tabPage
of my Wizard is active, and the user presses control+a, a "secret
admin" tabPage is shown.. My boss wanted this so that he could
dynamically set some variables for the wizard. This is working very
well. So I thought I only needed to extend this to capture control
+tab key strokes, and do nothing when they are pressed..

Here is my KeyDown event for the Form:

private void adminTab_KeyDow n(object sender, KeyEventArgs e)
{
if (e.Modifiers.Eq uals(Keys.Contr ol) &
e.KeyCode.Equal s(Keys.A) & (tcBody.Selecte dTab.Equals(tab WelcomeKey)))
initAdminTab();

if (e.Modifiers.Eq uals(Keys.Contr ol) &
e.KeyCode.Equal s(Keys.Tab))
{ /* do nothing, however - the tabPages still move */ }
}

Is there any way I can block this control+tab from fliping my
tabPages? Basically using this method, it is possible to access my
adminTab from any tab, which I don't want.

I guess the alternative is to place a "onTabPageChang ed" event to my
tabcontrol, and do some flag checking there to determine if I display
my admin page or not. But that only protect my adminTab, it doesn't
really prevent the user from screwing up the entire wizard !!
I know that this sounds awful this late in the game, but... any
particular reason you're using a TabControl for your wizard? All of
the wizards I've done I've made using UserControls (which are
basically Panels), showing and hiding the user controls under program
control. They're all .Dock = Dock.Fill, and I just shuffle between
them as appropriate.

I would think that TabControl also comes with the additional problem
that the user can click on any tab, any time and screw up the wizard
sequence that way....

Anyway, kind of a bummer question now that it's almost done.... :-)

Feb 26 '07 #2
On Feb 26, 3:56 pm, "Bruce Wood" <brucew...@cana da.comwrote:
On Feb 26, 12:26 pm, "Kbalz" <Kurtas.Balc... @gmail.comwrote :


I'm developing a Wizard type program, and I'm flipping between steps
by using a TabControl.. buttons on each tabPage move to the next or
previous tabPage.
When I press CTRL+Tab however, the tabControl begins to cycle through
the tabPages, just as it does in Visual Studio, IE7 etc.. any tabbed
program.
I need this blocked.
I am already catching key input from the user.. when the first tabPage
of my Wizard is active, and the user presses control+a, a "secret
admin" tabPage is shown.. My boss wanted this so that he could
dynamically set some variables for the wizard. This is working very
well. So I thought I only needed to extend this to capture control
+tab key strokes, and do nothing when they are pressed..
Here is my KeyDown event for the Form:
private void adminTab_KeyDow n(object sender, KeyEventArgs e)
{
if (e.Modifiers.Eq uals(Keys.Contr ol) &
e.KeyCode.Equal s(Keys.A) & (tcBody.Selecte dTab.Equals(tab WelcomeKey)))
initAdminTab();
if (e.Modifiers.Eq uals(Keys.Contr ol) &
e.KeyCode.Equal s(Keys.Tab))
{ /* do nothing, however - the tabPages still move */ }
}
Is there any way I can block this control+tab from fliping my
tabPages? Basically using this method, it is possible to access my
adminTab from any tab, which I don't want.
I guess the alternative is to place a "onTabPageChang ed" event to my
tabcontrol, and do some flag checking there to determine if I display
my admin page or not. But that only protect my adminTab, it doesn't
really prevent the user from screwing up the entire wizard !!

I know that this sounds awful this late in the game, but... any
particular reason you're using a TabControl for your wizard? All of
the wizards I've done I've made using UserControls (which are
basically Panels), showing and hiding the user controls under program
control. They're all .Dock = Dock.Fill, and I just shuffle between
them as appropriate.

I would think that TabControl also comes with the additional problem
that the user can click on any tab, any time and screw up the wizard
sequence that way....

Anyway, kind of a bummer question now that it's almost done.... :-)- Hide quoted text -

- Show quoted text -
Belive me, if I originally knew of an easier way - I would've done
that. What I'm doing is when the form inits, I'm resizing the
tabcontrol to be larger, and position it using negative values, so
that the "tabs" are hidden and cannot be clicked. So while I'm
designing the content of the steps, I can easly switch between steps
by clicking the tabs, but at runtime, the tabs become hidden.

I got the idea from Google'ing C# Form wizards, and saw some website
for a guy who developed a wizard using tabcontrols - so I took the
idea from there and went on my way with it.

If the UserControl can give me the same design-time/run-time
capability, I have no problem switching it (this is my only project
atm). We've added another layer to this Wizard that is causing me to
have tabControls within tabPages !! Now it's getting messy fast.

Feb 26 '07 #3

"Kbalz" <Ku************ @gmail.comwrote in message
news:11******** *************@z 35g2000cwz.goog legroups.com...
I'm developing a Wizard type program, and I'm flipping between steps
by using a TabControl.. buttons on each tabPage move to the next or
previous tabPage.

When I press CTRL+Tab however, the tabControl begins to cycle through
the tabPages, just as it does in Visual Studio, IE7 etc.. any tabbed
program.

I need this blocked.

I am already catching key input from the user.. when the first tabPage
of my Wizard is active, and the user presses control+a, a "secret
admin" tabPage is shown.. My boss wanted this so that he could
dynamically set some variables for the wizard. This is working very
well. So I thought I only needed to extend this to capture control
+tab key strokes, and do nothing when they are pressed..

Here is my KeyDown event for the Form:

private void adminTab_KeyDow n(object sender, KeyEventArgs e)
{
if (e.Modifiers.Eq uals(Keys.Contr ol) &
e.KeyCode.Equal s(Keys.A) & (tcBody.Selecte dTab.Equals(tab WelcomeKey)))
initAdminTab();

if (e.Modifiers.Eq uals(Keys.Contr ol) &
e.KeyCode.Equal s(Keys.Tab))
{ /* do nothing, however - the tabPages still move */ }
}

Is there any way I can block this control+tab from fliping my
tabPages? Basically using this method, it is possible to access my
adminTab from any tab, which I don't want.
Did you see this?

To handle keyboard events only at the form level and not enable other
controls to receive keyboard events, set the KeyPressEventAr gs.Handled
property in your form's KeyPress event-handling method to true. Certain
keys, such as the TAB, RETURN, ESCAPE, and arrow keys are handled by
controls automatically. To have these keys raise the KeyDown event, you must
override the IsInputKey method in each control on your form. The code for
the override of the IsInputKey would need to determine if one of the special
keys is pressed and return a value of true.
Feb 26 '07 #4
On Feb 26, 1:08 pm, "Kbalz" <Kurtas.Balc... @gmail.comwrote :
On Feb 26, 3:56 pm, "Bruce Wood" <brucew...@cana da.comwrote:
On Feb 26, 12:26 pm, "Kbalz" <Kurtas.Balc... @gmail.comwrote :
I'm developing a Wizard type program, and I'm flipping between steps
by using a TabControl.. buttons on each tabPage move to the next or
previous tabPage.
I know that this sounds awful this late in the game, but... any
particular reason you're using a TabControl for your wizard? All of
the wizards I've done I've made using UserControls (which are
basically Panels), showing and hiding the user controls under program
control. They're all .Dock = Dock.Fill, and I just shuffle between
them as appropriate.
I would think that TabControl also comes with the additional problem
that the user can click on any tab, any time and screw up the wizard
sequence that way....
Anyway, kind of a bummer question now that it's almost done.... :-)

Belive me, if I originally knew of an easier way - I would've done
that. What I'm doing is when the form inits, I'm resizing the
tabcontrol to be larger, and position it using negative values, so
that the "tabs" are hidden and cannot be clicked. So while I'm
designing the content of the steps, I can easly switch between steps
by clicking the tabs, but at runtime, the tabs become hidden.

I got the idea from Google'ing C# Form wizards, and saw some website
for a guy who developed a wizard using tabcontrols - so I took the
idea from there and went on my way with it.
Yikes. Glad I didn't find that one when I was doing my initial foray
into wizards....
If the UserControl can give me the same design-time/run-time
capability, I have no problem switching it (this is my only project
atm). We've added another layer to this Wizard that is causing me to
have tabControls within tabPages !! Now it's getting messy fast.
Personally, I'd switch.

Create a UserControl for each panel you want to show. You should be
able to just cut all of the stuff off of your current tab and past it
onto the UserControl surface. Your Wizard then becomes an empty shell
into which you drop all of the UserControls (Dock = None). No need to
see them all clearly: just be able to see that they're all there.

Then, at run time, just set all UserControls to Dock = Fill, and
Hide() all of them but the initial panel.

I even created a little push-down stack in the main Wizard app that
stores references to the UserControls already visited, so when the
user presses Back I can pop the top one off the stack and show the
next one down on the stack. This allows you to deal gracefully handle
"conversati ons" that branch off into various possibilities and then
reconverge.

I also created an interface / interfaces so that the individual
controls can be marked with capabilities that tell the enclosing
Wizard what services they can offer (e.g. "should I offer a Print...
menu item when this panel is showing?").

This gives you a separate design surface for each "page" you want to
show the user (each is a UserControl) and reduces your Wizard
application .cs itself to just the plumbing needed to link them
together, and your ctl-a trick, of course.

Feb 26 '07 #5
On Feb 26, 5:08 pm, "Bruce Wood" <brucew...@cana da.comwrote:
On Feb 26, 1:08 pm, "Kbalz" <Kurtas.Balc... @gmail.comwrote :


On Feb 26, 3:56 pm, "Bruce Wood" <brucew...@cana da.comwrote:
On Feb 26, 12:26 pm, "Kbalz" <Kurtas.Balc... @gmail.comwrote :
I'm developing a Wizard type program, and I'm flipping between steps
by using a TabControl.. buttons on each tabPage move to the next or
previous tabPage.
I know that this sounds awful this late in the game, but... any
particular reason you're using a TabControl for your wizard? All of
the wizards I've done I've made using UserControls (which are
basically Panels), showing and hiding the user controls under program
control. They're all .Dock = Dock.Fill, and I just shuffle between
them as appropriate.
I would think that TabControl also comes with the additional problem
that the user can click on any tab, any time and screw up the wizard
sequence that way....
Anyway, kind of a bummer question now that it's almost done.... :-)
Belive me, if I originally knew of an easier way - I would've done
that. What I'm doing is when the form inits, I'm resizing the
tabcontrol to be larger, and position it using negative values, so
that the "tabs" are hidden and cannot be clicked. So while I'm
designing the content of the steps, I can easly switch between steps
by clicking the tabs, but at runtime, the tabs become hidden.
I got the idea from Google'ing C# Form wizards, and saw some website
for a guy who developed a wizard using tabcontrols - so I took the
idea from there and went on my way with it.

Yikes. Glad I didn't find that one when I was doing my initial foray
into wizards....
If the UserControl can give me the same design-time/run-time
capability, I have no problem switching it (this is my only project
atm). We've added another layer to this Wizard that is causing me to
have tabControls within tabPages !! Now it's getting messy fast.

Personally, I'd switch.

Create a UserControl for each panel you want to show. You should be
able to just cut all of the stuff off of your current tab and past it
onto the UserControl surface. Your Wizard then becomes an empty shell
into which you drop all of the UserControls (Dock = None). No need to
see them all clearly: just be able to see that they're all there.

Then, at run time, just set all UserControls to Dock = Fill, and
Hide() all of them but the initial panel.

I even created a little push-down stack in the main Wizard app that
stores references to the UserControls already visited, so when the
user presses Back I can pop the top one off the stack and show the
next one down on the stack. This allows you to deal gracefully handle
"conversati ons" that branch off into various possibilities and then
reconverge.

I also created an interface / interfaces so that the individual
controls can be marked with capabilities that tell the enclosing
Wizard what services they can offer (e.g. "should I offer a Print...
menu item when this panel is showing?").

This gives you a separate design surface for each "page" you want to
show the user (each is a UserControl) and reduces your Wizard
application .cs itself to just the plumbing needed to link them
together, and your ctl-a trick, of course.- Hide quoted text -

- Show quoted text -
Thanks for the reply. I can kind of visualize how that approach works
during design time, but I could possibly be having 20 possible "pages"
to show the user. Wouldn't the design-time view in VS'05 get very
cluttered and hard to quickly find which page is which? In the first
take at my wizard, I had started close to how you described it. I
didn't know about the Dock = Fill property however until a few weeks
ago after I switched it all to tabcontrol. Instead I was setting all
of the Position properties to a set Point, and making them all the
same Size - this worked with an un-sizable Form pertty well until I
got too many pages.

I've protected my ctrl+a page by using flags, so I'm safe there. Maybe
if you could email me a screen shot of a design-time example of a ton
of UserControls for one of your wizards, this will make my switch a
little easier with something to go by. Thanks,

Feb 27 '07 #6
On Feb 27, 8:54 am, "Kbalz" <Kurtas.Balc... @gmail.comwrote :
On Feb 26, 5:08 pm, "Bruce Wood" <brucew...@cana da.comwrote:


On Feb 26, 1:08 pm, "Kbalz" <Kurtas.Balc... @gmail.comwrote :
On Feb 26, 3:56 pm, "Bruce Wood" <brucew...@cana da.comwrote:
On Feb 26, 12:26 pm, "Kbalz" <Kurtas.Balc... @gmail.comwrote :
I'm developing a Wizard type program, and I'm flipping between steps
by using a TabControl.. buttons on each tabPage move to the next or
previous tabPage.
I know that this sounds awful this late in the game, but... any
particular reason you're using a TabControl for your wizard? All of
the wizards I've done I've made using UserControls (which are
basically Panels), showing and hiding the user controls under program
control. They're all .Dock = Dock.Fill, and I just shuffle between
them as appropriate.
I would think that TabControl also comes with the additional problem
that the user can click on any tab, any time and screw up the wizard
sequence that way....
Anyway, kind of a bummer question now that it's almost done.... :-)
Belive me, if I originally knew of an easier way - I would've done
that. What I'm doing is when the form inits, I'm resizing the
tabcontrol to be larger, and position it using negative values, so
that the "tabs" are hidden and cannot be clicked. So while I'm
designing the content of the steps, I can easly switch between steps
by clicking the tabs, but at runtime, the tabs become hidden.
I got the idea from Google'ing C# Form wizards, and saw some website
for a guy who developed a wizard using tabcontrols - so I took the
idea from there and went on my way with it.
Yikes. Glad I didn't find that one when I was doing my initial foray
into wizards....
If the UserControl can give me the same design-time/run-time
capability, I have no problem switching it (this is my only project
atm). We've added another layer to this Wizard that is causing me to
have tabControls within tabPages !! Now it's getting messy fast.
Personally, I'd switch.
Create a UserControl for each panel you want to show. You should be
able to just cut all of the stuff off of your current tab and past it
onto the UserControl surface. Your Wizard then becomes an empty shell
into which you drop all of the UserControls (Dock = None). No need to
see them all clearly: just be able to see that they're all there.
Then, at run time, just set all UserControls to Dock = Fill, and
Hide() all of them but the initial panel.
I even created a little push-down stack in the main Wizard app that
stores references to the UserControls already visited, so when the
user presses Back I can pop the top one off the stack and show the
next one down on the stack. This allows you to deal gracefully handle
"conversati ons" that branch off into various possibilities and then
reconverge.
I also created an interface / interfaces so that the individual
controls can be marked with capabilities that tell the enclosing
Wizard what services they can offer (e.g. "should I offer a Print...
menu item when this panel is showing?").
This gives you a separate design surface for each "page" you want to
show the user (each is a UserControl) and reduces your Wizard
application .cs itself to just the plumbing needed to link them
together, and your ctl-a trick, of course.- Hide quoted text -
- Show quoted text -

Thanks for the reply. I can kind of visualize how that approach works
during design time, but I could possibly be having 20 possible "pages"
to show the user. Wouldn't the design-time view in VS'05 get very
cluttered and hard to quickly find which page is which? In the first
take at my wizard, I had started close to how you described it. I
didn't know about the Dock = Fill property however until a few weeks
ago after I switched it all to tabcontrol. Instead I was setting all
of the Position properties to a set Point, and making them all the
same Size - this worked with an un-sizable Form pertty well until I
got too many pages.

I've protected my ctrl+a page by using flags, so I'm safe there. Maybe
if you could email me a screen shot of a design-time example of a ton
of UserControls for one of your wizards, this will make my switch a
little easier with something to go by. Thanks,- Hide quoted text -

- Show quoted text -
I started to jump into a fresh wizard using UserControl.. until an
hour ago, I thought this was something I could just find in the
toolbox and drag and drop in my existing form!! I now see I must add a
new UserControl.cs to my project.. and I'm guessing I would add a
UserControl for each step in my wizard, then somehow get them to all
show in my form.

I'll keep trying a few things, but this is already looking 100% easier.

Feb 27 '07 #7
>Thanks for the reply. I can kind of visualize how that approach works
>during design time, but I could possibly be having 20 possible "pages"
to show the user. Wouldn't the design-time view in VS'05 get very
cluttered and hard to quickly find which page is which? In the first
take at my wizard, I had started close to how you described it. I
didn't know about the Dock = Fill property however until a few weeks
ago after I switched it all to tabcontrol. Instead I was setting all
of the Position properties to a set Point, and making them all the
same Size - this worked with an un-sizable Form pertty well until I
got too many pages.

I've protected my ctrl+a page by using flags, so I'm safe there. Maybe
if you could email me a screen shot of a design-time example of a ton
of UserControls for one of your wizards, this will make my switch a
little easier with something to go by. Thanks,- Hide quoted text -

- Show quoted text -

I started to jump into a fresh wizard using UserControl.. until an
hour ago, I thought this was something I could just find in the
toolbox and drag and drop in my existing form!! I now see I must add a
new UserControl.cs to my project.. and I'm guessing I would add a
UserControl for each step in my wizard, then somehow get them to all
show in my form.
You could do that too.... with the predefined Panel control. But then you'd
need to mess with raising and lowering the different panels in the designer.
>
I'll keep trying a few things, but this is already looking 100% easier.

Feb 27 '07 #8
On Feb 27, 11:11 am, "Ben Voigt" <r...@nospam.no spamwrote:
Thanks for the reply. I can kind of visualize how that approach works
during design time, but I could possibly be having 20 possible "pages"
to show the user. Wouldn't the design-time view in VS'05 get very
cluttered and hard to quickly find which page is which? In the first
take at my wizard, I had started close to how you described it. I
didn't know about the Dock = Fill property however until a few weeks
ago after I switched it all to tabcontrol. Instead I was setting all
of the Position properties to a set Point, and making them all the
same Size - this worked with an un-sizable Form pertty well until I
got too many pages.
I've protected my ctrl+a page by using flags, so I'm safe there. Maybe
if you could email me a screen shot of a design-time example of a ton
of UserControls for one of your wizards, this will make my switch a
little easier with something to go by. Thanks,- Hide quoted text -
- Show quoted text -
I started to jump into a fresh wizard using UserControl.. until an
hour ago, I thought this was something I could just find in the
toolbox and drag and drop in my existing form!! I now see I must add a
new UserControl.cs to my project.. and I'm guessing I would add a
UserControl for each step in my wizard, then somehow get them to all
show in my form.

You could do that too.... with the predefined Panel control. But then you'd
need to mess with raising and lowering the different panels in the designer.


I'll keep trying a few things, but this is already looking 100% easier.- Hide quoted text -

- Show quoted text -- Hide quoted text -

- Show quoted text -
Thats what I was doing with my first take on the wizard, I didn't care
for it that much, but again I didn't know about dock = fill ! I'm
still having trouble getting a UserControl I make into a Form - just
got back from lunch and going to read a few things.

Feb 27 '07 #9
On Feb 27, 12:45 pm, "Kbalz" <Kurtas.Balc... @gmail.comwrote :
On Feb 27, 11:11 am, "Ben Voigt" <r...@nospam.no spamwrote:


>Thanks for the reply. I can kind of visualize how that approach works
>during design time, but I could possibly be having 20 possible "pages"
>to show the user. Wouldn't the design-time view in VS'05 get very
>cluttered and hard to quickly find which page is which? In the first
>take at my wizard, I had started close to how you described it. I
>didn't know about the Dock = Fill property however until a few weeks
>ago after I switched it all to tabcontrol. Instead I was setting all
>of the Position properties to a set Point, and making them all the
>same Size - this worked with an un-sizable Form pertty well until I
>got too many pages.
>I've protected my ctrl+a page by using flags, so I'm safe there. Maybe
>if you could email me a screen shot of a design-time example of a ton
>of UserControls for one of your wizards, this will make my switch a
>little easier with something to go by. Thanks,- Hide quoted text -
>- Show quoted text -
I started to jump into a fresh wizard using UserControl.. until an
hour ago, I thought this was something I could just find in the
toolbox and drag and drop in my existing form!! I now see I must add a
new UserControl.cs to my project.. and I'm guessing I would add a
UserControl for each step in my wizard, then somehow get them to all
show in my form.
You could do that too.... with the predefined Panel control. But then you'd
need to mess with raising and lowering the different panels in the designer.
I'll keep trying a few things, but this is already looking 100% easier.- Hide quoted text -
- Show quoted text -- Hide quoted text -
- Show quoted text -

Thats what I was doing with my first take on the wizard, I didn't care
for it that much, but again I didn't know about dock = fill ! I'm
still having trouble getting a UserControl I make into a Form - just
got back from lunch and going to read a few things.- Hide quoted text -

- Show quoted text -
Wow this is much easier to manage using UserControls.. its kind of sad
I couldn't find any great articles on this method earlier!! This
solves my Tab problem, and probably many problems I was bound to come
accross before. Thanks a ton !

Feb 27 '07 #10

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

Similar topics

5
2014
by: Henke | last post by:
I added a project to my solution that contains a user control. Now I 'd like to add the user control from that project to a form in my solution. The problem is that the control doesn't gets added to the My User Control tab. Any ideas? Thanks in advance, Henke!
2
1516
by: Brian | last post by:
Greetings! What I am looking for is help trying to accomplish control + tab exiting subform #1 on page #1 and entering the first control (main form) on page #2. I've tried the following code, however it seems to "fire twice", placing me at the first control on subform #2 on page #3, totally skipping page #2. It seems to very briefly stop the control on page two, but keeps going. Hope that made sense. Key preview for subform is set to...
0
1482
by: Kaki | last post by:
I have a RichTextBox with AcceptsTab set to true. When Ctrl is held down, pressing Tab does not trigger KeyPress or KeyDown/Up events. If AcceptsTab is false, the RichTextBox never knows if Tab or Shift + Tab is pressed. btw, KeyPreview does not help either... Anyone has an idea?
3
7120
by: Glen Hong | last post by:
I have set up a hotkey using RegisterHotKey API function for Ctrl-Tab. Firstly, I can rap this when Ctrl-Tab is pressed however if I want to add an addition hotkey how can I distinguish between which hotkey was pressed? Secondly I am trying to replicate the Ctrl-Tab functionality you have in the DotNet IDE when you hold down the Ctrl key and then additional use the tab key you can cycle thru the MDI Children. I would like to gain the...
3
2986
by: raja11112222 | last post by:
Hi i used five pages in property sheet. when i click CTRL + Tab it goes to next pages, I want to stop this Scenario ie if i click CTRL + Tab, it wont goes to next page. How can i stop this one.
10
8580
by: thupham | last post by:
Dear all friend, I want disable Ctl+Alt+Del; Ctrl+Esc; Ctrl+tab, Alt+Tab, Start button, ctrl+Alt+Del, lock all keys on the keyboard. Have you ever do it in C#. Help me. Thanks for all reply.
56
5036
by: csolomon | last post by:
Hello: I have something I would like to do and I was wondering if tab controls was the best route to accomplish it. I have 5 categories of material types. I created the application from an excel sheet that had the categories listed. My boss would like my form to be as close as possible to the excel sheet. He would like for each material to be input by material type separately, which is currently not how I have it set up. currently, you...
0
8989
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8828
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
9367
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...
0
9243
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
8241
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...
1
6795
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6073
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
4599
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3309
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.