Tuesday, October 24, 2017

Mimicking numeric TextBox of Visual Foxpro in WFP


Because Visual FoxPro is a RAD tools it's very easy to format a numeric on a TextBox  or even on a prompt screen as shown below, on a prompt screen it will only take a single line of code using PICT clause and on VFP Form using TextBox a simple Format and InputMask is all needed.

I'm trying to mimic the VFP numeric formatting on a TextBox using WFP, I achieved it (almost) It's a lot of work and the code is massive. try searching "WPF TextBox numeric formatting" over the internet to know what I'm talking about 😄




On the other hand in Visual Studio using WFP it's needs a massive line of codes to achieve this simple task, if any one has made a simple solution that can achieved the one shown in the video link below, hats off to you and I'm all ears to hear about it.



2 comments:

  1. I would love to see this, too. VFP was so much more flexible.

    ReplyDelete
    Replies
    1. Exactly man ^_^y "NO OTHER RDBMS LANGUAGES CAN RUN LIKE A FOX"

      Delete