473,399 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Simple Button


Anyone uses the simple button component from DevExpress?

Nov 17 '05 #1
4 1888
Rodrigo,

I know I don't. I mean, it's a button. How much more functionality do
you really need in a button than the ability to be clicked =)

What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Rodrigo Ferreira" <rj*********@gmail.com> wrote in message
news:u9**************@tk2msftngp13.phx.gbl...

Anyone uses the simple button component from DevExpress?


Nov 17 '05 #2

The problem is that!!

I have a textbox in my project and one simple button.

In the validating event of the textbox i want:

If the lenght of the the text into the textbox is different of zero then
the focus can't leave textbox (e.cancel = true)
Else the focus can leave the textbox

The problem is:

If i use the simple button, the event Click of this runs. And if i use
the basic button of Windows Forms the event Click doesn't occurs, that is
what i want!

Why Simple button do that?
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@tk2msftngp13.phx.gbl...

Rodrigo,

I know I don't. I mean, it's a button. How much more functionality do
you really need in a button than the ability to be clicked =)

What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Rodrigo Ferreira" <rj*********@gmail.com> wrote in message
news:u9**************@tk2msftngp13.phx.gbl...

Anyone uses the simple button component from DevExpress?




Nov 17 '05 #3
Rodrigo,

I don't know why the simple button would fire the click event in the
validate event of the textbox. It would seem to be a bug to me.

You can always click on the button yourself if you wanted, if that is
the behavior that you want.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Rodrigo Ferreira" <rj*********@gmail.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...

The problem is that!!

I have a textbox in my project and one simple button.

In the validating event of the textbox i want:

If the lenght of the the text into the textbox is different of zero
then
the focus can't leave textbox (e.cancel = true)
Else the focus can leave the textbox

The problem is:

If i use the simple button, the event Click of this runs. And if i use
the basic button of Windows Forms the event Click doesn't occurs, that is
what i want!

Why Simple button do that?
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in message news:%2****************@tk2msftngp13.phx.gbl...

Rodrigo,

I know I don't. I mean, it's a button. How much more functionality
do you really need in a button than the ability to be clicked =)

What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Rodrigo Ferreira" <rj*********@gmail.com> wrote in message
news:u9**************@tk2msftngp13.phx.gbl...

Anyone uses the simple button component from DevExpress?




Nov 17 '05 #4

Ok... Thanks!!!!

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:uw**************@TK2MSFTNGP12.phx.gbl...

Rodrigo,

I don't know why the simple button would fire the click event in the
validate event of the textbox. It would seem to be a bug to me.

You can always click on the button yourself if you wanted, if that is
the behavior that you want.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Rodrigo Ferreira" <rj*********@gmail.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...

The problem is that!!

I have a textbox in my project and one simple button.

In the validating event of the textbox i want:

If the lenght of the the text into the textbox is different of zero
then
the focus can't leave textbox (e.cancel = true)
Else the focus can leave the textbox

The problem is:

If i use the simple button, the event Click of this runs. And if i use
the basic button of Windows Forms the event Click doesn't occurs, that is
what i want!

Why Simple button do that?
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in message news:%2****************@tk2msftngp13.phx.gbl...

Rodrigo,

I know I don't. I mean, it's a button. How much more functionality
do you really need in a button than the ability to be clicked =)

What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Rodrigo Ferreira" <rj*********@gmail.com> wrote in message
news:u9**************@tk2msftngp13.phx.gbl...

Anyone uses the simple button component from DevExpress?






Nov 17 '05 #5

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

Similar topics

11
by: Frag | last post by:
Hi guys, I searched around without any clear answer. Tons of stuff, but nothing concrete. I am trying to call this Javascript function: function ButtonClicked() { alert("The button has...
5
by: Digital Puer | last post by:
I have the following HTML form: - radio button A (default selected) - radio button B - input field, of type "file" with "Choose" button - submit button I would like to have it so that if the...
0
by: Tal Sharfi | last post by:
Hi everyone I recently had the need for StringGrid object same as the one that Delphi has. An object that helps show lists of other objects in a simple grid. I searched the news groups and...
2
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when...
0
by: csharpnb | last post by:
Hi all, I've been studying C#/.NET 2.0 for a couple of hours a week for the past couple of weeks. I feel the need to build a somewhat simple Windows application that would accomplish a somewhat...
24
by: firstcustomer | last post by:
Hi, Firstly, I know NOTHING about Javascript I'm afraid, so I'm hoping that someone will be able to point me to a ready-made solution to my problem! A friend of mine (honest!) is wanting to...
2
by: jerger | last post by:
I have converted my dictionary program into a simple asp program. It works great... but I now want to add speech functionality but have not had any success. I have tried several online templates that...
0
by: jerger | last post by:
I posted this in ASP... does it belong here instead? I have converted my dictionary program into a simple asp program. It works great... but I now want to add speech functionality but have not had...
3
maxx233
by: maxx233 | last post by:
Hello, I'm developing a simple program to control a video switcher we have via RS232. All the backend control stuff is figured out just fine, the interface is what's giving me problems! I'm...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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...
0
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...

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.