I have a really odd behaviour in C11 that I’d like help with.
I have a browse, that calls a form. In the .Kill method I call another form to change a date. Stock standard, no embed code, just a single spin with a date and an ABC calendar button.
This has been working fine.
Up to putting in C11 a couple of days ago.
Now I can freeze the prgram by clicking on the calendar and selecting a date. It never returns
So I’ve traced this as far as I can.
Now unless I’ve missed something clarion simply isn’t returning out of the class !!! Code below
As a side note I’ve had reports of screens returning to a different thread in stead of going back. I’m wondering if this is part of that.
I have this code around the call:
ud.Debug('Go to calendar') <--- This displays Calendar10.SelectOnClose = True Calendar10.Ask('Select the date of next contact',FIR:NextContact) ! [Priority 5030] ud.Debug('Return from calendar')<----- This does NOT
In Calendar10.ask I have:
ud.Debug(’ calendar before parent’) <— This displays
! Parent Call
ReturnValue = PARENT.Ask(pTitle,pDate)
! [Priority 5001]
ud.Debug(’ calander After parent’)<— This Does NOT
I’ve altered ABUTIL.CLW to enable output to debug string and have put this in Calendarclass.ask
OutputDebugStringz('Calander 1') <---- This Displays RETURN PARENT.Ask(pTitle,pDate) OutputDebugStringz('Calander 2') <----- This Displays
And this at the very end of CalendarBaseClass.ask
OutputDebugStringz('Calander 9 ') <----- This displays RETURN(loc:fecha)