is there a possibility to change the size of dialogs? For example, I use following code for a dialog in my rc-file:
- Code: Select all Expand view
WG_AUSWERT DIALOG LOADONCALL MOVEABLE DISCARDABLE 75, 53, 108, 103
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Auswertungs-Währung"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "&OK", 111, 3, 85, 50, 14
PUSHBUTTON "&Abbruch", 110, 55, 85, 50, 14
COMBOBOX 121, 53, 4, 49, 84, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Bitte wählen Sie die Währung, die Sie für Ihre Auswertungen (Statistiken, Preisliste) benutzen wollen.", -1, 6, 22, 96, 56
LTEXT "Währung", -1, 5, 6, 44, 8
}
if I change from FONT 8 to FONT 10, the dialog size automatically increases.
However, when I let the font at 8, define this dialog in source code and use the method oDlg:Setfont(oFont) with a bigger size, for example 10, the dialog size doesn't adjust. Is there a possibility to influence the size of dialogs from source code? I'd like to offer our customers an easy adjustment of dialog sizes...