473,623 Members | 3,366 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Simple Button


Anyone uses the simple button component from DevExpress?

Nov 17 '05 #1
4 1902
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.co m

"Rodrigo Ferreira" <rj*********@gm ail.com> wrote in message
news:u9******** ******@tk2msftn gp13.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.c om> wrote in
message news:%2******** ********@tk2msf tngp13.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.co m

"Rodrigo Ferreira" <rj*********@gm ail.com> wrote in message
news:u9******** ******@tk2msftn gp13.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.co m

"Rodrigo Ferreira" <rj*********@gm ail.com> wrote in message
news:%2******** *******@TK2MSFT NGP12.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.c om> wrote
in message news:%2******** ********@tk2msf tngp13.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.co m

"Rodrigo Ferreira" <rj*********@gm ail.com> wrote in message
news:u9******** ******@tk2msftn gp13.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.c om> wrote in
message news:uw******** ******@TK2MSFTN GP12.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.co m

"Rodrigo Ferreira" <rj*********@gm ail.com> wrote in message
news:%2******** *******@TK2MSFT NGP12.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.c om> wrote
in message news:%2******** ********@tk2msf tngp13.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.co m

"Rodrigo Ferreira" <rj*********@gm ail.com> wrote in message
news:u9******** ******@tk2msftn gp13.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
4650
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 been clicked."); }
5
3093
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 user clicks on the "Choose" button of the input field (to select a file on the local disk), then radio button B is automatically
0
7554
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 found none, so, I wrote one and decided to share it with you. It's a very simple one with few functions. I derived a DataGrid and added to it a DataTable to hold the data. The object itself is handling the synchronization between them, because...
2
8386
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 submitting the form to update the database. The server doesn't have the client side value any more. It seems to me that as I begin to write the client side javacript code for form validation and client side editing capabilities in order to save...
0
1733
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 simple task, in order to put my knowledge to test, and brush it up further. Besides, this application, if successfully built, could find its use in my everyday work too, which helps keep me motivated. I'd appreciate some ideas on how to design...
24
6317
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 have on his site, a Javascript Calculator for working out the cost of what they want, for example: 1 widget and 2 widglets = £5.00
2
12062
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 give errors... or I have added suggested code to my own... which then breaks my code! Please, if anyone is an expert in TSS ... could you make me a simple asp page template... that I can then utilize on my own? My program stores each word...
0
1303
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 any success. I have tried several online templates that give errors... or I have added suggested code to my own... which then breaks my code! Please, if anyone is an expert in TSS ... could you make me a simple asp page template... that I can...
3
1304
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 basically just trying to figure out how to light up buttons depending on how they logically refer to each other, and I'm certain it should be simple, but I feel like I'm going in circles on it and getting nowhere... What I want is a column of buttons on...
0
8162
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
8662
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
8603
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
8463
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
7134
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
6104
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
5560
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
4067
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...
0
4154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.