Results 1 to 2 of 2

Thread: Make a textbox act like Excell Cell

  1. #1
    Fanatic Member vuyiswamb's Avatar
    Join Date
    Jan 07
    Location
    South Africa
    Posts
    780

    Make a textbox act like Excell Cell

    Hi All

    i am converting an Excell spreadsheet into an application. So i am doing automatic calculations like Excell do , for some of the cells(textbox) should allow a user to enter the minus sign "-" , and this automatically minus value entered. So my issue here is if th the users enters that character it breaks my app's calculations. Does anyone have any idea how to bypass this ?

    Thanks

  2. #2
    Frenzied Member MattP's Avatar
    Join Date
    Dec 08
    Location
    WY
    Posts
    1,187

    Re: Make a textbox act like Excell Cell

    Can you post the code you're using at the moment for the calculations? Silverlight is just going to treat anything entered into the TextBox as a string.
    This pattern in common to all great programmers I know: they're not experts in something as much as experts in becoming experts in something.

    The best programming advice I ever got was to spend my entire career becoming educable. And I suggest you do the same.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •