CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Scar88

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    9,300

    Re: Make a Gridview with fixed number of rows

    Thank you very much friend! And for acting by the book the code is actually:


    DataGridView.Rows.Add(3);
  2. Replies
    3
    Views
    9,300

    Re: Make a Gridview with fixed number of rows

    I don't know.. was this a silly question? Is there an easy way to make an empty 4x4 Gridview?
  3. Replies
    3
    Views
    9,300

    Make a Gridview with fixed number of rows

    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...
  4. Re: Passing Data between single instance Windows Forms

    @ 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...
  5. Re: Passing Data between single instance Windows Forms

    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...
  6. Re: Passing Data between single instance Windows Forms

    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...
  7. Passing Data between single instance Windows Forms

    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...
  8. Re: Simple way to implement CapsLock functionality .NET4

    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 +=...
  9. Re: Simple way to implement CapsLock functionality .NET4

    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)
    ...
  10. Simple way to implement CapsLock functionality .NET4

    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...
  11. Re: Simple way to implement CapsLock functionality

    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 )
    {
    ...
  12. Re: Simple way to implement backspace functionality

    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!
  13. Simple way to implement CapsLock functionality

    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:...
  14. Re: Simple way to implement backspace functionality

    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...
  15. Re: Simple way to implement backspace functionality

    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...
  16. Re: Simple way to implement backspace functionality

    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...
  17. Simple way to implement backspace functionality

    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 )
    {
    ...
  18. Replies
    4
    Views
    2,412

    Re: dynamic expand a combobox

    Ok that was simple enough..silly me! Thank you friend you have opened my eyes.
    Now I have a lot to play with!
  19. Re: How to make a textbox show the text of a clicked button

    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" ...
  20. How to make a textbox show the text of a clicked button

    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...
Results 1 to 20 of 20





Click Here to Expand Forum to Full Width

Featured