KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Object Libraries
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: January 13, 2005
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

The Object Library is a new addition to 4th Dimension that provides a type of permanent storage for objects. Unlike the traditional 4D Insider libraries components, these object libraries can be integrated directly into databases 4D without the need to install, move, or copy anything from Insider.

Download Complete Tech Note & Example: Windows | Mac

Commented by George F. Huhn on August 1, 2009 at 8:58 AM
The calendar code is unusable as-is because it is broken for months that extend beyond the 5 date rows.

For example, you cannot click past March 2008 to get to April 2008, nor can you select dates such as the 30th or 31st of any month if those days fall on the first line of the next Month's calendar. For example, if the first of the month is a Tuesday, you will be unable to select the last two days of the previous month because they fall on the previous month's Sunday and Monday, which are disabled.

These calendar objects have such potential to be incredibly useful; I hope 4D fixes them
Commented by George F. Huhn on July 29, 2009 at 6:41 PM
In the iCal calendar object, there is an error in one of the calendar dates. In the last Sunday of the month the code reads:

gCal_Date_pt->:=gCal_FirstInMonth_d+29

which is actually the Monday date.

It should be:

gCal_Date_pt->:=gCal_FirstInMonth_d+28