NetTalk Central

Author Topic: bug in NT 7.12 lookup & text  (Read 2895 times)

estadok

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • EstaSoft
    • Email
bug in NT 7.12 lookup & text
« on: June 25, 2013, 01:01:23 PM »
Hi Bruce!

I have an issue when I place the text field and lookup on form. If lookup is the first field (see 1.png) in list, in p_web.CreteTextArea() method I can see p_web.PicLength('@n-14') (see 2.png) and text field works in conformity with p_web.PicLenght(), but if I move the lookup under the text field, the  p_web.PicLenght() disappears and all works fine. How can I solve this? Example is attached.

[attachment deleted by admin]
Clarion 9.0.10376
NetTalk 7.26
SecWin 6.25
StringTheory 1.92

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: bug in NT 7.12 lookup & text
« Reply #1 on: June 25, 2013, 09:37:26 PM »
This is fixed in 7.13 - but until that is out I _think_ you can fix it manually. Try this sequence;

For the Text field
On the "text" tab
tick on the "lookup button" option.
goto the Lookup Settings tab which appeared.
Tick off the option "Display description instead of value"
back to the Text tab
tick off the "lookup button" option.

Sorry about the long sequence, but it should sort out the problem for that 1 text field. In 7.13 the problem is fixed so you don't need to do this.

cheers
Bruce

estadok

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • EstaSoft
    • Email
Re: bug in NT 7.12 lookup & text
« Reply #2 on: June 25, 2013, 09:46:20 PM »
Thanks Bruce!

Can you tick off the option "Display description instead of value" in the next build? Now default value is 1.
Clarion 9.0.10376
NetTalk 7.26
SecWin 6.25
StringTheory 1.92

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: bug in NT 7.12 lookup & text
« Reply #3 on: June 26, 2013, 05:44:22 AM »
It appears that if you open an app from 7.10 or before in 7.11 it has an annoying side effect of "changing" all the "display description instead of value" options from 0 to 1 - is that what you're talking about?

unfortunately changing it back to default(0) won't change them all back again. It's happening because the old value had "no default" which is not the same as zero. I do have a work-around if your app is still in 7.10 (and you still have 7.10 loaded) but it's only good for the short term unfortunately.

So my plan is to set the default back to 0 for now - which will at least "not break" the apps that are still in 7.10 or earlier, and then at some future point change the default to 1 again down the road (at which point hopefully everything is a firm 0 that wants to be a zero.)

Cheers
Bruce