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 05 DEC 1997 04:51:17AM Colin Rule wrote:

If you create a control, eg edit line with a lostfocus event calling a message box and then lose focus to an edit table, all works OK.

If yoy lose focus to the scroll bar, everything gets confused and in some windows you hand and need to re-boot.

Are there any workarounds until this is fixed?


At 05 DEC 1997 11:13AM Greg wrote:

I have OI3.5, and I made an edit line that called a msg on the LOSTFOCUS EVENT, and then lostfocus to a HSCROLL bar. Everything worked fine. I used a simple call msg statement and a Send_Event.

Maybe I could help you a little more if you give me a little more specific info. on your problem?


At 05 DEC 1997 11:46AM Colin Rule (CSSP) wrote:

The lostfocus must be to an edit table, and the edit table must have the vertical scroll bar turned on, and ideally some data in it to make it have more data than fits so the scroll bar is activated.

It then gets nicely upset for you.

I am sure you can replicate, we are on 3.4 OI.

If you do not have success I will give exact screens and code (one line)


At 05 DEC 1997 12:22PM Greg wrote:

I don't know about that Colin. I just created an edit table and did exactly what you said, and I had no problems.

Maybe you should create a new form and try it.

Maybe there is some code or setting that you are not aware of that is causing this problem. I don't know what to say because my simple test is working.


At 08 DEC 1997 08:59AM Colin Rule (CSSP) wrote:

Hi Greg,

I have OI 3.4.1.

I created a new form and added one edit line and one edit-table.

The edit table has Vertical scroll bar turn on and is 4 lines deep.

The edit line has a lostfocus script of:

CALL MSG(@WINDOW,"Message","")

Clicking on the table from the edit line is OK, and display the message OK. Clicking on the vertical scroll bar displays the message but you cannot click OK on the message box, but as you move the cursor you can activate cells in the table, even though it does not have focus.

Please try and if no luck I will have to send you the form.

Please advise Email.


At 09 DEC 1997 07:44AM Oystein Reigem wrote:

Colin/Greg,

I was able to reproduce the problem in 3.3 at least. It was quite straightforward. So if Greg does exactly the same as me in his 3.5 without the problem occurring, perhaps it's because something's been corrected in 3.5.

I did just the following and nothing else:

I made a window with no table.

I put an edit line and an edit table in the window. (I pleaced each with a single click, so they got their default sizes.)

I set a vertical scroll bar for the edit table.

I made a LOSTFOCUS user event for the edit line:

  call msg(@Window, "Message")
  RETURN 1

I saved the window with the name "TEST_COLIN".

I test ran.

The edit line was first in tab order and got the focus first. I clicked on the edit line scroll bar. (I clicked on the on the bar itself, not on the scroll bar buttons, but I don't think that really mattered.)

The message came up. I clicked the OK button. Something happened in the edit table (it scrolled, I think), but the message box didn't go away.

I alt-tabbed to Form Designer to finish Test Run.

I tried to close FD, etc, but I got the "Another process…" message.

I tried everything a second time. The same happened, except this time OI seemed to survive and I could exit normally.

I tried everything a third time, now with a RETURN 0 in the user event. The same happened as the second time, except this time a second click on the OK button did make the message box go away, but strange graphic stuff happened to the right half of the edit table and beyond, approximately to the right of where the message box had been.

- Oystein -


At 15 DEC 1997 02:21PM Greg wrote:

Colin/Oystein:

Sorry. I cannot reproduce this error.

Maybe this was a bug that was fixed in OI3.5. I will look into it.

View this thread on the forum...

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