>Does anyone know of a way to set the Font Dialogue Box's font, size and styles during run-time when it pop's up.
>
>We are using this dialogue box from the menu bar for the current active control on a form, and would like to set the dialogue box's Font, Size and Style to that of the current active control on a form.
>
>I do not have a problem with referencing the current active control, but with setting the default values of the Font Dialogue Box to the same as that of the control.
>
>Any suggestions?
>
>Otto
>> Use AFONT() function to get font attribute array as a source for your font name/size/style comboboxes and then set
Combobox.value=your_control.fontname/size...
Surely it will wotk if you create custom form for font selection.
I have no idea how initialize standard font dialog.
Edward Pikman
Independent Consultant