Monday, June 01, 2015

Tip of the Day: New Support for Native Form Display
Product: R:BASE eXtreme 9.5 (32/64)
Build..: 9.5.5.20529 or higher
www.rupdates.com
www.rbaseupdates.com (Mirror Site)
Section.: Forms, Performance
Keywords: Form, PROPERTY, Native

A new application property has been implemented allowing forms to be displayed as "native", which eliminates the use of operating system themes on R:BASE forms. With
the setting OFF (default), the feature is disabled.

  PROPERTY APPLICATION NATIVE_FORMS 'ON'
  PROPERTY APPLICATION NATIVE_FORMS 'OFF'

The following is an R:BASE form example with the NATIVE_FORMS property set to OFF,
as the default value.
http://www.razzak.com/tips/NativeFormOFF.jpg

The following is an R:BASE form example with the NATIVE_FORMS property set to ON.
http://www.razzak.com/tips/NativeFormON.jpg

Note the different button sizes in the title bar, and the thin form border!

Pros and Cons
-------------------
The NATIVE_FORMS property is offered as an optimization option to eliminate the
theme-based drawing, painting, refreshing, etc., and to improve performance. There is however a functionality trade-off. It is important to note that in native mode some items would be disabled, such as the drop-down menu on the form title bar, or the ability to have only the minimize and X buttons on the title bar. Users may be required to rethink a form's design and presentation when the NATIVE_FORMS property
is set to ON.

Native Form Use
-------------------
The NATIVE_FORMS property is a global value. When the PROPERTY is ON, "any" launched form will be displayed as native. It's up to the user to decide how to manipulate the property. To enable native forms on a per-form basis, the property should be set ON before a form is launched with the REFF, BROWSE, EDIT, and ENTER commands, and then
OFF within the form's "On After Start" EEP.

If a majority of the forms are to be native, then the property can be set to ON within the application on startup. For example, if there are hundreds of forms that should be native and just a dozen or so to be theme-based, then NATIVE_FORMS can be set to ON within the startup process, and then for each of the forms to be theme-based, the property can be turned OFF before a form is launched and set ON again within the "On After Start" EEP. Thus, setting the property to limit the effect to the forms be
launched.

Have fun taking advantage of this new form display feature!

Very Best R:egards,

Razzak

www.rbase.com
www.rbaseX.com
www.facebook.com/rbase
--
32 years of continuous innovation!
17 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to search for.
================================================


Reply via email to