RE: Deprecated constants

2019-10-30 Thread Timothy Penner via 4D_Tech
Hi David,

> For example, _o_Index compacting is not mentioned.

The "_o_Index compacting " constant was part of SET/GET DATABASE PARAMETER and 
it looks like it was already disabled in v11...

Here is a snippet from the v11 Language Reference page 168 showing it as 
"selector disabled":
https://imgur.com/a/HUxCWfY


-Tim




**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Deprecated constants

2019-10-30 Thread David Rose via 4D_Tech
Is there a list of all deprecated constants, and how to replace them, in the 
knowledgebase or 4D Docs?
I'm referring to all constants that show up as "_o_ ..." in v17.

I don't think this page is complete:
https://doc.4d.com/4Dv17R6/4D/17-R6/Deprecated-or-removed-features-in-v17-product-range.200-4438814.en.html

For example, _o_Index compacting is not mentioned.

Thanks,
David

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Deprecated Constants

2017-10-10 Thread Jeffrey Kain via 4D_Tech
We've left a few "During"s in place where it wasn't entirely clear how to 
replace it. Still works fine...

Most of them were easy to replace, but for a few of them it seemed best to 
leave the old code alone and flag it for a future rewrite.


--
Jeffrey Kain
jeffrey.k...@gmail.com




> On Oct 10, 2017, at 1:18 PM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I know it was not recommended to use During even when it was not deprecated, 
> but if anyone else has used it, how have you managed it now that the form 
> event has been deprecated.

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Deprecated Constants

2017-10-10 Thread John Baughman via 4D_Tech
By coincidence, I am cleaning up a v14 database for deployment this afternoon 
as a v16 R4 database. A couple of thoughts on your question…

> _o_Extras Folder

The extras folder was deprecated in v11 I think with instructions to 
use the Resource folder.

> The other 9 entries relate to List Box constants:

As for the List Box commands, you should be able to find suitable replacements 
in the List Box theme in the docs


I had several hundred _o_ items in my databases and was able to replace all of 
them except 1. The easiest way I have found to do this is with Find In Design 
and Replace in Context. For example. 
  
  Find in Design: _o_
Finds 100 calls to_o_STRING(20;$whatever)

  Find _o_String(20;
  Replace in Content:  TEXT(

The one that I am conflicted about is _o_During. I would really like to keep 
this one and have done so in other databases that I have deployed, but it makes 
me nervous doing so. Anyone else feel the same. It is hard to replace in some 
cases as During was a catch all event that was and is remains useful in certain 
situations. Being a catch all, it is difficult to determine what Form events to 
use to make sure in the replacement. I guess I could just use an Else.

I know it was not recommended to use During even when it was not deprecated, 
but if anyone else has used it, how have you managed it now that the form event 
has been deprecated.

John





> On Oct 10, 2017, at 6:31 AM, Douglas Cryer via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hi all,
> 
> I just ran an upgrade to v16 (R5) to see what work might be required.  By far 
> the biggest issue will be images that still reside in the library.  Aside 
> from that I got 19 instances of constants that are now deprecated:
> 
> _o_Mac To ISO - 1 Instance no longer required…
> 
> _o_Extras Folder - 9 instances but could not find any mention of this in the 
> deprecated features.  What is the general migration policy as I assume the 
> Extras Folder will no longer be supported?
> 
> The other 9 entries relate to List Box constants:
> _o_lk_header height - used to be Listbox header height
> _o_lk_hor scrollbar position - used to be Listbox hor scrollbar position
> _o_lk_ver scrollbar position - used to be Listbox ver scrollbar position
> 
> also Listbox display header has not been deprecated but has now become lk 
> display header.  What is the “lk" ?
> 
> Any thoughts would be appreciated…
> 
> Regards,  Dougie
> 
> 
> telekinetix Limited- J. Douglas Cryer
> Phone : 01234 761759  Mobile : 07973 675 218
> 2nd Floor Broadway House, 4-6 The Broadway, Bedford MK40 2TE
> Email : jdcr...@telekinetix.com   Web : 
> http://www.telekinetix.com 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

John Baughman
Kailua, Hawaii
(808) 262-0328
john...@hawaii.rr.com





**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Deprecated Constants

2017-10-10 Thread Douglas Cryer via 4D_Tech
Hi all,

I just ran an upgrade to v16 (R5) to see what work might be required.  By far 
the biggest issue will be images that still reside in the library.  Aside from 
that I got 19 instances of constants that are now deprecated:

_o_Mac To ISO - 1 Instance no longer required…

_o_Extras Folder - 9 instances but could not find any mention of this in the 
deprecated features.  What is the general migration policy as I assume the 
Extras Folder will no longer be supported?

The other 9 entries relate to List Box constants:
_o_lk_header height - used to be Listbox header height
_o_lk_hor scrollbar position - used to be Listbox hor scrollbar position
_o_lk_ver scrollbar position - used to be Listbox ver scrollbar position

also Listbox display header has not been deprecated but has now become lk 
display header.  What is the “lk" ?

Any thoughts would be appreciated…

Regards,  Dougie


telekinetix Limited- J. Douglas Cryer
Phone : 01234 761759  Mobile : 07973 675 218
2nd Floor Broadway House, 4-6 The Broadway, Bedford MK40 2TE
Email : jdcr...@telekinetix.com   Web : 
http://www.telekinetix.com 


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**