Wednesday, August 21, 2002

 From The Edge: Understanding Form Properties in Form Designer
Section: Form Designer
Chapter: Running R:BASE Your Way!
Platform: R:BASE 7.0 for Windows
Build: 1.855xRT03 and Higher

Using R:BASE 7.0 for Windows GUI Form Designer, you can set the form
properties by selecting Tools | Object Property or pressing the [F11] key.

Form properties include the following:

. Size (Width, Height)
. Border Style
. Border Width
. Color
. Caption
. Hint
. Transparency Alpha Blend/Value
. Dynamic Caption (Variable/Field)

Size Width: Default: 640
Specifies the horizontal size of the form in pixels. Use the Width
property to change the width of the form.

Size Height: Default: 480
Specifies the vertical size of the form in pixels. Use the Height property
to change the height of the form.

Border Style: Default: None
Specifies the appearance and behavior of the form border. Use Border
Style to get or set the appearance and behavior of the form border.

Border Style can be any of the following values:
None                    Not resizable; no visible border line
Dialog                  Not resizable; standard dialog box border
Single                  Not resizable; single-line border
Sizeable                Standard resizable border
Tool Window             like Single but with a smaller caption
Sizeable Tool Window    like Sizeable with a smaller caption

Border Width: Default: 0
Specifies the width of the form's border in pixels. Use Border Width
to get or set the width of the form's border.

Form Color: Default: BtnFace
Specifies the background color of the form. Use Color property to read
or change the background color of the form. Form background colors
are grouped into Windows Control Panel and closest matching color
in system palette.

Windows Control Panel Colors:

Default The default color for the control to which the color is
                assigned.
ScrollBar       Current color for the of scroll bar track.
Background      Current background color of the Windows desktop
ActiveCaption   Current color of the title bar of the active window
InactiveCaption Current color of the title bar of inactive windows
Menu            Current background color of menus
Window  Current background color of windows
WindowFrame     Current color of window frames
MenuText        Current color of text on menus
WindowText      Current color of text in windows
CaptionText     Current color of the text on the title bar of the active window
ActiveBorder    Current border color of the active window
InactiveBorder  Current border color of inactive windows
AppWorkSpace Current color of the application workspace
Highlight       Current background color of selected text
HightlightText  Current color of selected text
BtnFace Current color of a button face
BtnShadow       Current color of a shadow cast by a button
GrayText        Current color of text that is dimmed
BtnText Current color of text on a button
InactiveCaptionText Current color of the text on the title bar of an 
inactive window
BtnHighlight    Current color of the highlighting on a button
3DDkShadow      Dark shadow for three-dimensional display elements
3DLight         Light color for three-dimensional display elements (for edges
                facing the light source)
InfoText        Text color for tool tip controls
InfoBk  Background color for tool tip controls

System Palette Colors:
Black
Maroon
Green
Olive
Navy Blue
Purple
Teal
Gray
Silver
Red
Lime Green
Yellow
Blue
Fuchsia
Aqua
White
Custom...

Form Caption:
Specifies a text string that identifies the form to the user. Use Caption to
specify the text string that appears as a window title or labels for the form.
To underline a character in a Caption that labels a form, include an
ampersand (&) before the character. To display an ampersand character
in the caption, use two ampersands (&&).

Form Hint:
Contains the text string that can appear when the user moves the mouse
over the form.

Transparency (Alpha Blend/Value):
Specifies whether a color on the form appears transparent.
Use Transparent Color to indicate that one of the colors on the form
should be treated as transparent, allowing windows behind the form to
completely show through. The Transparent Color Value property
indicates the color that appears completely transparent.

Notes:  

To make the entire form transparent, or to make it translucent rather
than transparent, set the Alpha Blend property to True (checked) and
set the Alpha Blend Value accordingly.

Setting Alpha Blend property to True makes the form to represent as a
layered window and allows a translucent color. The Alpha Blend Value
property specifies the degree of translucency.

Transparency property does not work on all systems. The application
must be running under Windows 2000 or Windows XP and the machine
must be a Pentium 90 or better.

Dynamic Caption (Variable/Field):
Using R:BASE 7.0 for Windows GUI Form Designer, you can now display
"Dynamic Caption" either using Custom Variable or specific field value
from associated table(s).

PDF version of this technical document is also available at:

 From The Edge: http://www.razzak.com/fte (Forms and EEPs)
(Powered by R:Tango)

Enjoy and make sure to have fun!

Very Best Regards,

Razzak.

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to