CPro-Forms, Dyalog14 & W10

APL-related discussions - a stream of APL consciousness.
Not sure where to start a discussion ? Here's the place to be
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !

CPro-Forms, Dyalog14 & W10

Postby MBaas on Tue Sep 15, 2015 9:08 am

I recently moved to W10 on a new PC. Running Causeway-Forms on that machine has the strange effect that the Forms are shown w/o caption:Image

I noticed that the caption is displayed when the form looses focus and gets it back: Image

But it cannot be the solution to programmatically change focus etc.? Did anyone come across this already?
User avatar
MBaas
 
Posts: 156
Joined: Thu Oct 16, 2008 1:17 am
Location: Gründau / Germany

Re: CPro-Forms, Dyalog14 & W10

Postby Vince|Dyalog on Tue Sep 15, 2015 1:13 pm

Hi Michael,

We have had reports of this before on Windows 8.1.

We investigated and are convinced that this is an issue with Windows that we cannot solve.

Regards,

Vince
Vince|Dyalog
 
Posts: 412
Joined: Wed Oct 01, 2008 9:39 am

Re: CPro-Forms, Dyalog14 & W10

Postby Dick Bowman on Tue Sep 15, 2015 2:43 pm

Have you tried ⎕DL with a very small delay time? I've had similar anomalies and sorted them out that way - not a very clever thing to do, but it's been effective.

There's a more direct way to force window/queue flushes, but I can't remember it offhand.
Visit http://apl.dickbowman.com to read more from Dick Bowman
User avatar
Dick Bowman
 
Posts: 235
Joined: Thu Jun 18, 2009 4:55 pm

Re: CPro-Forms, Dyalog14 & W10

Postby MBaas on Wed Sep 16, 2015 6:38 am

After investigating a further, I think I found the solution: these forms were using the old '3D' property (set to 'Dialog') and this caused the problems. So there is an easy repro:
Code: Select all
 'f'⎕WC'form'('caption' 'hello world')('3D' 'Dialog') ⋄ ⎕DQ'f'


Fix: omit '3D'

So I guess there is something Dyalog could do: ignore the (legacy & undocumented) property "3D" and all is well! :-) I will change my forms now and get rid of this.
User avatar
MBaas
 
Posts: 156
Joined: Thu Oct 16, 2008 1:17 am
Location: Gründau / Germany

Re: CPro-Forms, Dyalog14 & W10

Postby Vince|Dyalog on Thu Sep 17, 2015 9:36 am

Hi Michael,

Thanks for your investigations and your finding a workaround.

Regards,

Vince
Vince|Dyalog
 
Posts: 412
Joined: Wed Oct 01, 2008 9:39 am


Return to APL Chat

Who is online

Users browsing this forum: Bing [Bot] and 1 guest