|
MenuPack from ASG
Want to make your database even easier to use? Integrate MenuPack from Automated Solutions Group. Foundation's Fnd_aa_Menu_UpdateMenuBar hook was designed specifically to make it easy to use MenuPack without needing to modify any of the Foundation source code. You can learn how it's done in this Technical Note.
|
|
Is It Time To Renew?
The next time you visit the Foundation web site, take a look at your support expiration date. You'll find it in the top-left box, just below your name. When you purchase Foundation, you get all upgrades and access to the Foundation source code for one year. You never need to pay again to use the materials you receive during your membership, but to get the latest version you must be currently enrolled in the support program. Save $50 by renewing before your membership expires.
|
|
4D Insider Versions
4D made a major change to 4D Insider 2003.4 to fix a potential security flaw with encrypted components. So components generated with 4D 2003.4 are not backwards compatible with 4D 2003.3. To remain as compatible as possible with multiple versions of 4D, previous Foundation components have been built using 4D Insider 2003.3. Foundation components are not encrypted, so the security problem was not an issue.
To ensure that the Foundation components contain all of the bug fixes introduced in later versions of 4D Insider, they are now being generated using 4D Insider 2003.6. If you're using 4D 2003.4 or later, this change will not affect you. However, if you're using 4D 2003.3 or earlier, you'll need to re-generate the components from the FCS to install them in your database.
|
|
Documentation Update
The Foundation Developer Reference is under construction. It's time to give up on FrameMaker for Macintosh, since it won't be updated for Mac OS X. So the documentation is now being moved into Adobe InDesign. It's going well, but the process does require major reformatting.
So at the moment, the Foundation Developer Reference is a mess. It hasn't been updated for this release. Instead, see the Foundation 4.1.2 Addendum.
|
|
|
|
Foundation 4.1.2 Released
Foundation 4.1.2 is now available for download. A few minor problems with the toolbar and the Find dialog have been fixed, and the icons in the Alert and Confirm dialogs have been cleaned up. You can also now display a custom icon in the Alert and Confirm dialogs using the new Fnd_Dlg_CustomIcon command.
There's also a new toolbar style that allows you to use the toolbar to display preference panes (form pages) ala Mac OS X.
And finally, the Text component now offers Base64 encoding and decoding of both text and BLOBs.
Visit the Foundation Components page for the latest version and the release notes for each component.
|
|
Method Name Changes
Four methods in the Windows component have new names, to better match their modified behavior. Here's the old and new method names:
|
Old Name
|
New Name
|
|
Fnd_Wnd_SetCloseBox
|
Fnd_Wnd_CloseBox
|
|
Fnd_Wnd_SetPosition
|
Fnd_Wnd_Position
|
|
Fnd_Wnd_SetTitle
|
Fnd_Wnd_Title
|
|
Fnd_Wnd_SetType
|
Fnd_Wnd_Type
|
All of these routines now return the current setting as well as allow you to set it. This is needed primarily so that other Foundation components can detect if you are overriding the default window title. But you can also call them as functions to determine how the next window will be configured.
Actually, to make life easier for all of us, the method names have not actually changed. The new method names are actually new routines, and the old routines have been left in - for now. They'll be removed in about a year from now. So be sure to use the new routines, and convert any existing code when you get a chance.
|
|
Setting Window Titles
The Fnd_Wnd_Title command is designed to set the window title for the next window that gets opened by Fnd_Wnd_OpenWindow or Fnd_Wnd_OpenFormWindow. Once a window has been opened, you can just use 4D's SET WINDOW TITLE command to change it.
This design allows you to set the title for windows over which you do not have direct control, such as the Find window, the Choice List window, and input and output windows. For example, to set the window title for a Choice List, call Fnd_Wnd_Title before calling Fnd_List_ChoiceList:
ARRAY TEXT(Options_at;3)
Options_at{1}:="Option 1"
Options_at{2}:="Option 2"
Options_at{3}:="Option 3"
Fnd_Wnd_Title ("Customer Options")
Fnd_List_ChoiceList ("Select an Option...";->Options_at)
|
|