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 04 AUG 2003 02:24:37PM matt bavis wrote:

I have a problem that is driving me crazy. I hope someone has either seen this before or can point out what I am not understanding.

I have a MDIFRAME, named MB_MAIN. In this MDIFRAME I open MDIchildren and I have buttons on my MDIFRAME that send events to the MDIchildren. I have a SAVE_BTN on MB_MAIN that sends a WRITE event to the MDIchild (let's say my child window is called MB_CHILD). During the promoted write event, I do the following:

CK=GET_PROPERTY('MB_MAIN','FOCUS')

The CK variable is filled with 'MB_CHILD.AGE', which is the control that has focus on MB_CHILD. I would expect the CK variable to get set to 'MB_MAIN.SAVE_BTN', since I click on this button to initiate the whole process.

The funny thing is, if I step through it in the debugger, the variables get set as I would expect them to, but if I run through the program without debugs I get the above mentioned results.

Any ideas?

Thanks in advance,

Matt

View this thread on the forum...

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