APPX is the Premier Development and Runtime Environment for Business Application Software
(Answer) (Category) FAQ's - APPX Software, Inc. : (Category) APPX Utility : (Category) APPX Development Environment : (Category) Tips & Techniques :
GUI themes via ILF!
If you want theme-like behavior, you can implement at least a portion of it yourself, so that you can get a consistent look and feel for your buttons (or other gui elements).

What you would do is create a standard subroutine that reads all WIDGET records, looking for widgets of X type (like button). When it finds a widget of that type, it could set the font, text, rollover colors, etc.

Then, call this subr in Pre-Display of any process you want to have the consistent look and feel.

One enhancement you could do is put all the attrs in a one-rec param file, so that you can change them on the fly at run-time without having to touch the code.

This works only for setting attributes for existing GUI elements, and doesn't let you create new elements and add them to processes on the fly (for example, if you want a standard button to always appear on the bottom line of all INPUT processes).

[Append to This Answer]
2004-Jan-02 4:07pm
Previous: (Answer) How to get the name of the Parent Process.
Next: (Answer) Example of a random number generator using ILF!
This document is:
[Search] [Appearance]
This is a Faq-O-Matic 2.719.
Copyright 2003 by APPX Software, Inc. All rights reserved.