Xbasic
A5_EXPORT_PROPS_TO_CMDS Function
Syntax
C a5_export_props_to_cmds(* input ,C output_dot_var_name )
Arguments
- input
A dot variable created by A5_ADV_OPEN_DRAW_FORMAT().
- output_dot_var_name
Xbasic commands that re-create the Advanced_Formatting dot variable.
Description
Creates Xbasic commands to initialize a dot-variable. Used in Xdialog code generator
Discussion
The A5_EXPORT_PROPS_TO_CMDS() function takes a dot variable and converts the dot variable into a series of Xbasic commands that re-create the dot variable. The following Interactive Window session demonstrates the usage of these functions:
Example
p = a5_adv_owner_draw_format("")
? a5_export_props_to_cmds(p,"fmt")
= fmt.tab_stops=""
fmt.odd_row_color="White"
fmt.even_row_color="Blue White"
fmt.odd_selected_color="Dark Blue"
fmt.even_selected_color="Dark Blue"
fmt.font="Arial,8"
fmt.font_color_unselected="Black"
fmt.font_color_selected="White"
fmt.lastbutton="OK"
fmt.group_size=3
fmt.number_rows=.f.
fmt.alternating_bands=.t.See Also