Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. Updating a textbox

Updating a textbox

Scheduled Pinned Locked Moved Windows Forms
question
2 Posts 2 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    blauw_huis
    wrote on last edited by
    #1

    Hello, I have a simple form with a textbox on it. I created a pointer to this textbox and passed it on to another subroutine in another class where I do my main stuff. Strange enough, when I ask to display something on my form with pointer->selected text="...". It is not diplayed until the fast code that immediately follows this statement is completely executed. This has the consequence that instead of having a real time like report on my display of what's going on, the display displays all the messages at once when all is finished in the routine. Anyone an idea, how I can force the display to refresh immediately when asked ? Instead of staying blank up to the end of the subroutine.

    A 1 Reply Last reply
    0
    • B blauw_huis

      Hello, I have a simple form with a textbox on it. I created a pointer to this textbox and passed it on to another subroutine in another class where I do my main stuff. Strange enough, when I ask to display something on my form with pointer->selected text="...". It is not diplayed until the fast code that immediately follows this statement is completely executed. This has the consequence that instead of having a real time like report on my display of what's going on, the display displays all the messages at once when all is finished in the routine. Anyone an idea, how I can force the display to refresh immediately when asked ? Instead of staying blank up to the end of the subroutine.

      A Offline
      A Offline
      Arun Immanuel
      wrote on last edited by
      #2

      Can you please explore on DoEvents() Functionality?

      Regards, Arun Kumar.A

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups