A script-enabled browser is required for this page to function properly.

Canvas object macros

This section describes the macros of the Oracle Forms Open API Canvas object.

d2fcnvg_back_color( ctx, obj, val );

This macro returns the value of the Background Color property of the canvas as type text.

d2fcnvg_bevel( ctx, obj, val );

This macro returns the value of the Bevel property of the canvas as type number.

d2fcnvg_client_info( ctx, obj, val );

This macro returns the value of the D2FP_CLIENT_INFO property of the canvas as a type dvoid pointer.

d2fcnvg_cnv_typ( ctx, obj, val );

This macro returns the value of the Canvas Type property of the canvas as type number.

d2fcnvg_comment( ctx, obj, val );

This macro returns the value of the Comments property of the canvas as type text.

d2fcnvg_fill_pat( ctx, obj, val );

This macro returns the value of the Fill Pattern property of the canvas as type text.

d2fcnvg_font_nam( ctx, obj, val );

This macro returns the value of the Font Name property of the canvas as type text.

d2fcnvg_font_siz( ctx, obj, val );

This macro returns the value of the Font Size property of the canvas as type number.

d2fcnvg_font_spcing( ctx, obj, val );

This macro returns the value of the Font Spacing property of the canvas as type number.

d2fcnvg_font_sty( ctx, obj, val );

This macro returns the value of the Font Style property of the canvas as type number.

d2fcnvg_font_wght( ctx, obj, val );

This macro returns the value of the Font Weight property of the canvas as type number.

d2fcnvg_fore_color( ctx, obj, val );

This macro returns the value of the Foreground Color property of the canvas as type text.

d2fcnvg_graphic( ctx, obj, val );

This macro returns the value of the D2FP_GRAPHIC property of the canvas as type object.

d2fcnvg_height( ctx, obj, val );

This macro returns the value of the Width/Height property of the canvas as type number.

d2fcnvg_lang_dir( ctx, obj, val );

This macro returns the value of the Language Direction property of the canvas as type number.

d2fcnvg_module( ctx, obj, val );

This macro returns the value of the D2FP_MODULE property of the canvas as type object.

d2fcnvg_name( ctx, obj, val );

This macro returns the value of the Name property of the canvas as type text.

d2fcnvg_next( ctx, obj, val );

This macro returns the value of the D2FP_NEXT property of the canvas as type object.

d2fcnvg_owner( ctx, obj, val );

This macro returns the value of the D2FP_OWNER property of the canvas as type object.

d2fcnvg_par_flnam( ctx, obj, val );

This macro returns the value of the D2FP_PAR_FLNAM property of the canvas as type text.

d2fcnvg_par_flpath( ctx, obj, val );

This macro returns the value of the D2FP_PAR_FLPATH property of the canvas as type text.

d2fcnvg_par_modstr( ctx, obj, val );

This macro returns the value of the D2FP_PAR_MODSTR property of the canvas as type number.

d2fcnvg_par_modtyp( ctx, obj, val );

This macro returns the value of the D2FP_PAR_MODTYPE property of the canvas as type number.

d2fcnvg_par_module( ctx, obj, val );

This macro returns the value of the D2FP_PAR_MODULE property of the canvas as type text.

d2fcnvg_par_nam( ctx, obj, val );

This macro returns the value of the D2FP_PAR_NAME property of the canvas as type text.

d2fcnvg_popup_mnu_nam( ctx, obj, val );

This macro returns the value of the Popup Menu property of the canvas as type text.

d2fcnvg_popup_mnu_obj( ctx, obj, val );

This macro returns the value of the D2FP_POPUP_MNU_OBJ property of the canvas as type text.

d2fcnvg_previous( ctx, obj, val );

This macro returns the value of the D2FP_PREVIOUS property of the canvas as type object.

d2fcnvg_raise_on_ent( ctx, obj, val );

This macro returns the value of the Raise On Entry property of the canvas as type boolean.

d2fcnvg_show_horz_scrlbr( ctx, obj, val );

This macro returns the value of the Show Horizontal Scroll Bar property of the canvas as type boolean.

d2fcnvg_show_vert_scrlbr( ctx, obj, val );

This macro returns the value of the Show Vertical Scroll Bar property of the canvas as type boolean.

d2fcnvg_source( ctx, obj, val );

This macro returns the value of the D2FP_SOURCE property of the canvas as type object.

d2fcnvg_tab_att_edge( ctx, obj, val );

This macro returns the value of the Tab Attachment Edge property of the canvas as type number.

d2fcnvg_tab_page( ctx, obj, val );

This macro returns the value of the Tab Page property of the canvas as type object.

d2fcnvg_tab_style( ctx, obj, val );

This macro returns the value of the Tab Style property of the canvas as type number.

d2fcnvg_vat_nam( ctx, obj, val );

This macro returns the value of the Visual Attribute Group property of the canvas as type text.

d2fcnvg_vat_obj( ctx, obj, val );

This macro returns the value of the D2FP_VAT_OBJ property of the canvas as type object.

d2fcnvg_visible( ctx, obj, val );

This macro returns the value of the Visible property of the canvas as type boolean.

d2fcnvg_vprt_hgt( ctx, obj, val );

This macro returns the value of the Viewport Height property of the canvas as type number.

d2fcnvg_vprt_wid( ctx, obj, val );

This macro returns the value of the Viewport Width property of the canvas as type number.

d2fcnvg_vprt_x_pos( ctx, obj, val );

This macro returns the value of the Viewport X Position property of the canvas as type number.

d2fcnvg_vprt_x_pos_on_cnv( ctx, obj, val );

This macro returns the value of the Viewport X Position On Canvas property of the canvas as type number.

d2fcnvg_vprt_y_pos( ctx, obj, val );

This macro returns the value of the Viewport Y Position property of the canvas as type number.

d2fcnvg_vprt_y_pos_on_cnv( ctx, obj, val );

This macro returns the value of the Viewport Y Position On Canvas property of the canvas as type number.

d2fcnvg_width( ctx, obj, val );

This macro returns the value of the Width/Height property of the canvas as type number.

d2fcnvg_wnd_nam( ctx, obj, val );

This macro returns the value of the Window property of the canvas as type text.

d2fcnvg_wnd_obj( ctx, obj, val );

This macro returns the value of the D2FP_WND_OBJ property of the canvas as type object.

d2fcnvs_back_color( ctx, obj, val );

This macro sets the value of the Background Color property of the canvas.

d2fcnvs_bevel( ctx, obj, val );

This macro sets the value of the Bevel property of the canvas.

d2fcnvs_client_info( ctx, obj, val );

This macro sets the value of the D2FP_CLIENT_INFO property of the canvas.

d2fcnvs_cnv_typ( ctx, obj, val );

This macro sets the value of the Canvas Type property of the canvas.

d2fcnvs_comment( ctx, obj, val );

This macro sets the value of the Comments property of the canvas.

d2fcnvs_fill_pat( ctx, obj, val );

This macro sets the value of the Fill Pattern property of the canvas.

d2fcnvs_font_nam( ctx, obj, val );

This macro sets the value of the Font Name property of the canvas.

d2fcnvs_font_siz( ctx, obj, val );

This macro sets the value of the Font Size property of the canvas.

d2fcnvs_font_spcing( ctx, obj, val );

This macro sets the value of the Font Spacing property of the canvas.

d2fcnvs_font_sty( ctx, obj, val );

This macro sets the value of the Font Style property of the canvas.

d2fcnvs_font_wght( ctx, obj, val );

This macro sets the value of the Font Weight property of the canvas.

d2fcnvs_fore_color( ctx, obj, val );

This macro sets the value of the Foreground Color property of the canvas.

d2fcnvs_graphic( ctx, obj, val );

This macro sets the value of the D2FP_GRAPHIC property of the canvas.

d2fcnvs_height( ctx, obj, val );

This macro sets the value of the Width/Height property of the canvas.

d2fcnvs_lang_dir( ctx, obj, val );

This macro sets the value of the Language Direction property of the canvas.

d2fcnvs_module( ctx, obj, val );

This macro sets the value of the D2FP_MODULE property of the canvas.

d2fcnvs_name( ctx, obj, val );

This macro sets the value of the Name property of the canvas.

d2fcnvs_next( ctx, obj, val );

This macro sets the value of the D2FP_NEXT property of the canvas.

d2fcnvs_owner( ctx, obj, val );

This macro sets the value of the D2FP_OWNER property of the canvas.

d2fcnvs_par_flnam( ctx, obj, val );

This macro sets the value of the D2FP_PAR_FLNAM property of the canvas.

d2fcnvs_par_flpath( ctx, obj, val );

This macro sets the value of the D2FP_PAR_FLPATH property of the canvas.

d2fcnvs_par_modstr( ctx, obj, val );

This macro sets the value of the D2FP_PAR_MODSTR property of the canvas.

d2fcnvs_par_modtyp( ctx, obj, val );

This macro sets the value of the D2FP_PAR_MODTYPE property of the canvas.

d2fcnvs_par_module( ctx, obj, val );

This macro sets the value of the D2FP_PAR_MODULE property of the canvas.

d2fcnvs_par_nam( ctx, obj, val );

This macro sets the value of the D2FP_PAR_NAME property of the canvas.

d2fcnvs_popup_mnu_nam( ctx, obj, val );

This macro sets the value of the Popup Menu property of the canvas.

d2fcnvs_popup_mnu_obj( ctx, obj, val );

This macro sets the value of the D2FP_POPUP_MNU_OBJ property of the canvas.

d2fcnvs_previous( ctx, obj, val );

This macro sets the value of the D2FP_PREVIOUS property of the canvas.

d2fcnvs_raise_on_ent( ctx, obj, val );

This macro sets the value of the Raise On Entry property of the canvas.

d2fcnvs_show_horz_scrlbr( ctx, obj, val );

This macro sets the value of the Show Horizontal Scroll Bar property of the canvas.

d2fcnvs_show_vert_scrlbr( ctx, obj, val );

This macro sets the value of the Show Vertical Scroll Bar property of the canvas.

d2fcnvs_source( ctx, obj, val );

This macro sets the value of the D2FP_SOURCE property of the canvas.

d2fcnvs_tab_att_edge( ctx, obj, val );

This macro sets the value of the Tab Attachment Edge property of the canvas.

d2fcnvs_tab_page( ctx, obj, val );

This macro sets the value of the Tab Page property of the canvas.

d2fcnvs_tab_style( ctx, obj, val );

This macro sets the value of the Tab Style property of the canvas.

d2fcnvs_vat_nam( ctx, obj, val );

This macro sets the value of the Visual Attribute Group property of the canvas.

d2fcnvs_vat_obj( ctx, obj, val );

This macro sets the value of the D2FP_VAT_OBJ property of the canvas.

d2fcnvs_visible( ctx, obj, val );

This macro sets the value of the Visible property of the canvas.

d2fcnvs_vprt_hgt( ctx, obj, val );

This macro sets the value of the Viewport Height property of the canvas.

d2fcnvs_vprt_wid( ctx, obj, val );

This macro sets the value of the Viewport Width property of the canvas.

d2fcnvs_vprt_x_pos( ctx, obj, val );

This macro sets the value of the Viewport X Position property of the canvas.

d2fcnvs_vprt_x_pos_on_cnv( ctx, obj, val );

This macro sets the value of the Viewport X Position On Canvas property of the canvas.

d2fcnvs_vprt_y_pos( ctx, obj, val );

This macro sets the value of the Viewport Y Position property of the canvas.

d2fcnvs_vprt_y_pos_on_cnv( ctx, obj, val );

This macro sets the value of the Viewport Y Position On Canvas property of the canvas.

d2fcnvs_width( ctx, obj, val );

This macro sets the value of the Width/Height property of the canvas.

d2fcnvs_wnd_nam( ctx, obj, val );

This macro sets the value of the Window property of the canvas.

d2fcnvs_wnd_obj( ctx, obj, val );

This macro sets the value of the D2FP_WND_OBJ property of the canvas.


Creating modules using the Open API

Modifying modules using the Open API

About Open API header files

Canvas object functions

Canvas object API properties

Canvas object