KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Customizing a 4D View Area with "PV Set Area Property"
PRODUCT: 4D View | VERSION: 6.8 | PLATFORM: Mac & Win
Published On: August 27, 2002


The Command "PV Set Area Property" is filled with lots of options, from allowing or not allowing selections to be made to showing or hiding the 4D View menu bar, header, or toolbar. To show or hide the property, you simply turn 'on' or 'off' the relevant property using that command.

Below is a simple method which accepts a pointer to the 4D View Area and allows you to customize the 4D View Area.


`Method: Customize4DViewArea
`Purpose: sets the area property of the area passed in $1
C_POINTER($1;$p_PVarea)
$p_PVarea:=$1
PV SET AREA PROPERTY ($p_PVarea->;pv show column headers ;pv value off )
PV SET AREA PROPERTY ($p_PVarea->;pv show row headers ;pv value off )
PV SET AREA PROPERTY ($p_PVarea->;pv show standard toolbar ;pv value off )
PV SET AREA PROPERTY ($p_PVarea->;pv show numbers toolbar ;pv value off )
PV SET AREA PROPERTY ($p_PVarea->;pv show formula toolbar ;pv value off )
PV SET AREA PROPERTY ($p_PVarea->;pv show hor scrollbar ;pv value on )
PV SET AREA PROPERTY ($p_PVarea->;pv saving dialog ;pv value off )
PV SET AREA PROPERTY ($p_PVarea->;pv show vert scrollbar ;pv value on )

For more information, please visit:

http://www.4d.fr/4DDoc68/CMU/CMU15996.HTM