Search:
Type: Posts; User: Scar88
Search:
Search took 0.03 seconds.
-
December 5th, 2011, 10:07 AM
Thank you very much friend! And for acting by the book the code is actually:
DataGridView.Rows.Add(3);
-
December 4th, 2011, 05:36 PM
I don't know.. was this a silly question? Is there an easy way to make an empty 4x4 Gridview?
-
November 29th, 2011, 04:28 PM
Hello!
I have made a Gridview in the design view with 4 columns and want to make it have only 4 rows. I can't find the option for doing that..
Is there a way to create a 4x4 Gridview without (or...
-
November 29th, 2011, 02:33 PM
@ sotoasty
Thank You!
That's exactly what I meant my application to do but I got lost.
2 questions if I may:
keyboard = null;
1) why you do that? The application seems to run fine...
-
November 29th, 2011, 07:33 AM
Thank you for you suggestion but maybe due to my inexperience I fail to see how that addresses my problem.
The child form (vk) is not the issue (it's hidden after OK is clicked ). The issue is the...
-
November 28th, 2011, 04:54 PM
My Form2 (vk) is modeless. Problem is when ever data is passed from keyboard to the main form (Virtual keyboard, which should always be displayed) it's passed to an instance of it.
this is my code...
-
November 28th, 2011, 08:02 AM
Hi! I want to pass data between two textboxes in two different forms when an OK button is clicked.
Now I have found out that there are many ways to do it (Constructor, Object, Delegates Approach...
-
November 26th, 2011, 07:23 PM
Yes I see, your code is more professional.
but in what event handler do I enter the code:
void typeLetter(string strToAppend)
{
if( chkCapslock.Checked )
txtOutput.Text +=...
-
November 26th, 2011, 05:55 PM
Thanks for the prompted answer!
Actually I have found out the answer myself. A single click event handler for all buttons.
private void AllButtonsClickHandler(object sender, EventArgs e)
...
-
November 26th, 2011, 01:27 PM
Hi! I have just started using C# and I am making a simple virtual keyboard.
I have a TextBox, a bunch of Buttons for typing letters and a CheckBox button that emulates Caps Lock.
Now what the...
-
November 20th, 2011, 07:11 PM
Thanks for the prompt answer but I am afraid I don't follow you here.
I have to put String::ToUpper() in the text property of my Caps Lock button?
or maybe
if ( CAPSflag == false )
{
...
-
November 20th, 2011, 07:00 PM
I see now. Excellent advice as always! No I don't intent to use my virtual keyboard anywhere. It's to primitive to have any real life value anyway.
I simply learn by doing :)
Thanks!
-
November 20th, 2011, 01:36 PM
Greetings! I have a textbox (display) a bunch of buttons for typing letters and a button that emulates Caps Lock.
Now the easy way for implementing it is with a checkBox button a flag and the code:...
-
November 20th, 2011, 01:06 PM
Now I was thinking that it would be the same to implement the timer trick while cliking any button.
i.e As long "C" button is pressed "CCCCC" is entered in the textbox (display).
I used a second...
-
November 20th, 2011, 06:24 AM
Yes I did it following your instructions, It was easier than i Thought!
I have set a boolean flag for mouseup(false) and mousedown(true) events
and entered the following code into the timer...
-
November 19th, 2011, 01:06 PM
I need some form of a loop because I want as long as the button is pressed characters to get deleted. Not only one character per click (That's really tiresome!)
on the other hand I need a way...
-
November 19th, 2011, 12:21 PM
Hello! I have a textbox (display) and a button that emulates backspace.
I have added the following code to the [click event] of the button:
while (display->Text->Length > 0 )
{
...
-
November 19th, 2011, 07:30 AM
Ok that was simple enough..silly me! Thank you friend you have opened my eyes.
Now I have a lot to play with!
-
November 18th, 2011, 02:14 PM
Thank you very much! That's exactly the code I was looking for.
Excuse my luck of knowledge but although I have read your instructions I don't understand how to "attach the handler to the controls" ...
-
November 18th, 2011, 11:28 AM
Hi! I have just started visual c++ and I am experimenting with a textbox and a bunch of buttons. What I am trying to accomplish is when the user clicks a button the text of the button to be shown in...
|
Click Here to Expand Forum to Full Width
|