Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

Missing controls on a form

I don't recall seeing this before and was wondering if anybody had any experience or thoughts on it.
This page of this form should have just a handful of controls on it, but for some reason, they're not appearing for one user.

I've confirmed that it is an issue only on his PC. He assures me his PC is a relatively new one and given that his name is on the company's door, I'm confident he's not being relegated to secondhand hardware.

Given that it is PC specific, it's no longer my problem to solve, but I am curious if anybody's familiar with any environment/graphics settings that might lead a machine to give up painting a form? The form itself is quite control heavy but that doesn't seem to bother any other machines.

Comments

  • >>He assures me his PC is a relatively new one
    Have the srp controls been registered? (What is 'PBC about' showing?)
    Has clientsetup been run?
  • I can't' say definitively but it would be an unexpected oversight if it hadn't.
    There are no other symptoms of anything either which strongly suggests all is good on that front.
    The issue was first reported a month ago, so I'd expect either of those things not having been done to present as something else since then.
  • Are the controls that are missing OLE controls, OI controls, or a combination of both?
  • OI only

  • I assume this is an SRP Tab control being used. Are you doing anything special, such as using the CustomPaneColor property? Has the user tried to move the mouse around to see if the controls redraw themselves?
  • @AusMarkB I can confirm this has happened.......to me! (and a client has reported it once as well).

    Long story short, there is ONE form we have that has 14 tabs on. First 10 look fine. last 4 look blank for me. Sometimes, not all the time (in 'chunks of time' though, not individual launches) . First happened last year. Somehow 'came good' and has been fine since until last week.

    The problem was not just at runtime but also in the Form Designer! Its almost like someone reduced the page count but then incresed it again (this is NOT the case).

    At the time, I was going around in circles. Reinstalloing OI CLient, SRP Controls, Utilities.
    I created a brand new profile on the Server just inc ase.

    I found a client version that was recent and it looked OK so I exported it (source and executable) and imported into mine, aftrer destroying the original objects. Still looked blank. :(

    I even created a blank form and copied in the controls just in case some form meta data was screwed up.

    However, my collegue was seeing that exact same form just fine. He recompiled and we deployed and the client who comlained was OK. I was not. I had to let it go because I had bigger fish to fry but I have been meaning to re-address it.

    Yet today, when I went back to check, it looks fine. No extra changes were done.

    Like yours, ours is a 'heavy' form but my machine is more powerful than my collegues who has no issue.

    Our 'blank' Tabs are a mix of OI (EDB, EDL, EDT, STA mostly) with some SRP thrown in (the Tab obviously, Buttons, Picture, Hyperlink). The only thing we do in that form is utilise OLE.TabVisible in the CREATE event beased on some system settings.

    I can't test the redraw with mouseover Don suggested as, like I said, my version looks good now. I recall trying that before but dont recall it working.

    No answer for you. Just solidarity that I have observed the same situation.
  • I have a habit of making sure the SRP Tab Control is earlier in the tab order than all child controls.
Sign In or Register to comment.