Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello:

How can I detect the command button once it is click by the user in boolean format? For Example:

 

In VB6, once a command button is click,

commandbutton.value = True

and when release the click it is False.

 

How to do that in VB.NET? the commandbutton.value is not support by .NET anymore. Pls advice? Thanks...

  • *Experts*
Posted

VB6's CommandButton never had that; you are thinking of the CheckBox.

If you set the CheckBox's 'Appearance' property to 'Button', it will

be a toggle button.

Posted (edited)

I am not using any check box. It is a command button. The commandbutton.value had no replacement. Refer to:

 

 

.NET HELP( inside .NET program)

http://ms-help://MS.VSCC/MS.MSDNVS/vbcon/html/vxconchangestocommandbuttoncontrolinvisualbasicnet.htm

 

(Website)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vxconchangestocommandbuttoncontrolinvisualbasicnet.asp

 

Please refer to "*********.value" , there is no replacement!!!???

So any advice that i can use back the old command? Or any other way round to determined the command button toggle point?

Edited by Ywing
Posted

I can't see how that functionality could ever be used, even with vb6. :confused:

Anyhow, why don't you use the MouseDown and MouseUp event's of the button?

Howzit??
Posted
My program needs to determined the clicking to assign a particular pointer. I already use the mouse up, mouse down command etc. WHat i need is to determined rather the mouse click(command control click) to give me the Boolean comparison. So, any solution/suggestions to my question? Thanks...
Posted
I wanna use the command button, I am doing a handphone like arrow key to select the particular informations. I am doing a handphone like simulation on the VB.NET
Posted
I am NEW to the .NET environment, I will try to use the inherit. I have to recall back the inherit in C++, since i never use C++ in 3 years. Thanks anyway.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...