Results 1 to 8 of 8

Thread: Can not see value entered into text box when code running.

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2019
    Posts
    4

    Can not see value entered into text box when code running.

    Name:  No Text.jpg
Views: 113
Size:  17.4 KB

    I am using Microsoft Visual Basic 6.0 SP6 and Windows XP SP3 for HMI visulaization development.

    I have a text box on a form that does not accept values (typing stays invisible). I have double-checked all Properties of the form, the text box, etc.
    I am using the same code for multiple text boxes and forms in the project and they all work (display the typing).
    The page and box are visible, and I know the entry is working, but the value is never displayed.
    Other things on the page like buttons and labels work.

    Any suggestions on where to look?
    The odd thing is, is that the project runs with no issue on the development laptop, but when I transfer to the HMI computer, this one issue arises even when re-registering the .ocx files

    Thank you
    Last edited by HMI2019; Jun 6th, 2019 at 10:11 AM. Reason: Add Photo.jpg

  2. #2
    Fanatic Member kpmc's Avatar
    Join Date
    Sep 2017
    Posts
    1,012

    Re: Can not see value entered into text box when code running.

    this forum is for visual basic.net not vb6

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2019
    Posts
    4

    Re: Can not see value entered into text box when code running.

    Quote Originally Posted by kpmc View Post
    this forum is for visual basic.net not vb6

    OK, Thanks for the heads up.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: Can not see value entered into text box when code running.

    The moderators have been notified. Please do not create a duplicate thread as they will move this thread.

  5. #5
    PowerPoster jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    2,393

    Re: Can not see value entered into text box when code running.

    Things to check if you have not already done so:

    Make sure all text and background colors are the same and you are not using some weird theme on the PC where it doesn't work.

    Make sure font size allows the text to fit into the text box size.

  6. #6
    Frenzied Member
    Join Date
    Dec 2008
    Location
    Melbourne Australia
    Posts
    1,487

    Re: Can not see value entered into text box when code running.

    Make a copy of your project.
    Trim/'throw away' as much as you can, to arrive at a much smaller project, that still demonstrates your problem.
    Then attach it here.
    Rob

  7. #7

    Thread Starter
    New Member
    Join Date
    May 2019
    Posts
    4

    Re: Can not see value entered into text box when code running.

    Quote Originally Posted by Bobbles View Post
    Make a copy of your project.
    Trim/'throw away' as much as you can, to arrive at a much smaller project, that still demonstrates your problem.
    Then attach it here.
    Rob

    Thank you all so much. The problem indeed ended up to be a Font property which I missed.

  8. #8

    Thread Starter
    New Member
    Join Date
    May 2019
    Posts
    4

    Smile Re: Can not see value entered into text box when code running.

    Quote Originally Posted by Bobbles View Post
    Make a copy of your project.
    Trim/'throw away' as much as you can, to arrive at a much smaller project, that still demonstrates your problem.
    Then attach it here.
    Rob

    Thanks again.

Posting Permissions

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



Click Here to Expand Forum to Full Width