View previous topic :: View next topic |
Author |
Message |
steveDoyle
Joined: 04 Sep 2009 Posts: 117 Location: Manchester
|
Posted: Mon Feb 24, 2014 9:14 pm Post subject: %rd not calling call back when %dd attched |
|
|
In the following code snippet if a value is entered directly in the %rd window the call back (mod_icmr() ) is not called. the call back is called when using the %dd spin control
Integer mod_icmr
external mod_icmr
IWIN = WINIO@('%DD&', 1)
IWIN = WINIO@('%`bg[window]&')
IWIN = WINIO@('%^~2RD&', ITEM_CURRENT_X, DATA_GREYED, MOD_ICMR)
I notice some posts in the forum from 2005 stating that this had been corrected so im guessing it is a retrograde bug. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8255 Location: Salford, UK
|
Posted: Mon Feb 24, 2014 10:36 pm Post subject: |
|
|
I have logged this for investigation. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8255 Location: Salford, UK
|
Posted: Tue Feb 25, 2014 11:08 am Post subject: |
|
|
This bug has been fixed for the next release (look out for a new beta upload).
It was not a regression but rather an incomplete fix. |
|
Back to top |
|
 |
steveDoyle
Joined: 04 Sep 2009 Posts: 117 Location: Manchester
|
Posted: Tue Apr 29, 2014 10:12 am Post subject: |
|
|
Hi Paul , where would i look to check to for a beta download? |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8255 Location: Salford, UK
|
|
Back to top |
|
 |
steveDoyle
Joined: 04 Sep 2009 Posts: 117 Location: Manchester
|
Posted: Tue Apr 29, 2014 2:03 pm Post subject: |
|
|
the %dd behaviour was cured but the background colour on %gr is no longer white . It appear black and then dark blue on a refresh
IWIN = WINIO@('%pv%^`gr[white,user_resize]&', AX_WID, AX_HIG,
+ HANDLE_CLIP, HFD_RESIZE_cb) |
|
Back to top |
|
 |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2415 Location: Yateley, Hants, UK
|
Posted: Tue Apr 29, 2014 11:23 pm Post subject: |
|
|
If you are now having a problem with %gr, it could be because the default colour mode has been changed from VGA (16 colours) to RGB (24-bit) ... |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8255 Location: Salford, UK
|
Posted: Wed Apr 30, 2014 7:11 am Post subject: |
|
|
A new option %gr[vga_colours] restores the previous default. |
|
Back to top |
|
 |
steveDoyle
Joined: 04 Sep 2009 Posts: 117 Location: Manchester
|
Posted: Thu May 01, 2014 1:06 pm Post subject: |
|
|
This cured the problem.
It also seem to cure some strangle issues i was having with a range of application that used
CALL DRAW_characters@(CBUFF(1:ILENG), IXC2, IYC2, ICOL_CURRENT)
which would crash on a re-draw event although no graphical data had changed. It might be due to memory corruption bug but rebuild the entire code with /debug_full failed to locate any issues
thanks |
|
Back to top |
|
 |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2415 Location: Yateley, Hants, UK
|
Posted: Fri May 02, 2014 12:09 pm Post subject: |
|
|
It's probably worth checking that you have the right kind of integers as parameters, and that the colour value is correctly formed.
Eddie |
|
Back to top |
|
 |
|