Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 17 NOV 2003 12:26:08PM warren a wrote:

I have a form where 95% of the controls will not show in the form designer (show invisible controls is checked).

When I run the form all show.

If I edit anything and save it, the missing controls in the designer now go missing when I run it.

How to I fix the problem? This is a 7 page form and I do not want to repaint it from scratch.

(Note: Form was converted from ARev 3.12)


At 17 NOV 2003 12:26PM Donald Bakke wrote:

This is indeed the problem. I edited out all the "blank" labels and got it below 64K.

What…didn't anybody see my original response?

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 17 NOV 2003 12:26PM Mike Ruane wrote:

Don't you hate it when you have the right answer and nobody listens?

You should see me at the lunch table at the office…


At 17 NOV 2003 12:26PM warren a wrote:

I have a form where 95% of the controls will not show in the form designer (show invisible controls is checked).

When I run the form all show.

If I edit anything and save it, the missing controls in the designer now go missing when I run it.

How to I fix the problem? This is a 7 page form and I do not want to repaint it from scratch.

(Note: Form was converted from ARev 3.12)


At 17 NOV 2003 12:26PM Jim Eagan wrote:

Warren, Be CAREFUL - it sounds like the 64K problem. You can all too easily wind up having to re-paint. I had a large form that got clobbered in the process of trying to revive it (accidently compiled it at the wrong point).


At 17 NOV 2003 12:26PM Colin Rule wrote:

It may be a corruption in the form.

Have a look through system editor at SYSREPOSWINS.

The corruptions I have seem like you describe have been caused by the X/Y coordinates being negative.

You could try editing this, or failing that, recover this from a previous known safe state from a backup, then re-save the form to compile it.

Compare the record to a known safe state, and it is even possible to write a program to fix the negatives…. assuming this is the case.

Colin


At 17 NOV 2003 12:26PM Oystein Reigem wrote:

Colin,

Warren's controls don't show at design time. If they have negative coordinates the controls wouldn't show at runtime either.

Unless he's got some programming (in the form's CREATE handler) that moves them inside the client area.

(Or could there be something else that moves controls inside at runtime? I don't know how autosized or anchored controls with negative coordinates will behave at runtime.)

Warren,

If you suspect you have controls outside the client area (with negative or very large coordinates), do the following in Form Designer:

- Tab through your controls. This will select one control at a time

- If at any point there seems to be no control selected, the selected control is outside the client area. Then press any arrow key, and Form Designer will force the control to appear inside the client area.

- Oystein -


At 17 NOV 2003 12:26PM Colin Rule wrote:

No, he also waid they went missing when he ran it.. presumable because he compiled the form.


At 17 NOV 2003 12:26PM Jim Eagan wrote:

Yes Don, that and the other responses, but, having had the unpleasent experience when I was really green to OI, it seemed best to emphasize the 64K problem. The behavior that Warren described is exactly what

I had seen with a window waivering about 64K and the loss of that window, the manhours to recreate it will never be forgotten.

I felt it important to share that with Warren as he has helped myself and many others. Needless to say, you have also.


At 17 NOV 2003 12:26PM Donald Bakke wrote:

Warren,

I have a form where 95% of the controls will not show in the form designer (show invisible controls is checked). When I run the form all show. If I edit anything and save it, the missing controls in the designer now go missing when I run it. How to I fix the problem? This is a 7 page form and I do not want to repaint it from scratch.

This sounds like you are dealing with the 64K limit on window records. If you open the appropriate SYSREPOSWINS record in the System Editor, how many characters does it say it has?

BTW, this problem has been fixed with OI 7.0.

(Note: Form was converted from ARev 3.12)

What do you mean by this?

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 17 NOV 2003 12:26PM Warren wrote:

](Note: Form was converted from ARev 3.12)

]

]What do you mean by this?

Porting Lab

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/40b34fa6424d763c85256de1005fc706.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1