Son 6 programas que tienen el mismo comportamiento. En todos pasa lo mismo, el cuadro de dialogo se encoje y los textos y botones quedan mal ubicados.
Basta con que cambie el FW_OpenAdoConnection() y todo vuelve a la normalidad.
Pensé que era un error conocido. En el peor de _, rediseño el cuadro de dialogo.
Code: Select all
LANGUAGE LANG_SPANISH, SUBLANG_SPANISH_CHILE
FACCOMPRA DIALOG 2, 15, 526, 375
STYLE DS_3DLOOK | DS_SETFONT | WS_CAPTION | WS_VISIBLE
CAPTION "Compras"
FONT 8, "MS Sans Serif"
{
EDITTEXT 103, 37, 34, 52, 12, ES_RIGHT, WS_EX_LEFT
EDITTEXT 132, 100, 34, 11, 12, 0, WS_EX_LEFT
EDITTEXT 133, 114, 34, 13, 12, 0, WS_EX_LEFT
EDITTEXT 102, 286, 38, 67, 16, ES_RIGHT, WS_EX_LEFT
EDITTEXT 111, 394, 43, 54, 12, ES_RIGHT, WS_EX_LEFT
COMBOBOX 112, 327, 64, 61, 42, WS_TABSTOP | WS_VSCROLL | WS_BORDER | CBS_DROPDOWNLIST, WS_EX_LEFT
EDITTEXT 130, 390, 65, 21, 12, 0, WS_EX_LEFT
EDITTEXT 118, 460, 65, 52, 12, ES_RIGHT, WS_EX_LEFT
EDITTEXT 109, 327, 87, 22, 12, 0, WS_EX_LEFT
CONTROL "", 110, "TXBrowse", 0x50A00000, 6, 125, 512, 169, 0x00000000
EDITTEXT 135, 368, 348, 68, 14, ES_RIGHT, WS_EX_LEFT
EDITTEXT 105, 436, 316, 68, 14, NOT WS_TABSTOP | ES_RIGHT, WS_EX_LEFT
GROUPBOX "Proveedor", 101, 10, 21, 260, 87, 0, WS_EX_LEFT
GROUPBOX "Factura", 122, 276, 24, 238, 84, 0, WS_EX_LEFT
RTEXT "&Fecha", -1, 361, 45, 31, 8, NOT WS_GROUP | SS_RIGHT, WS_EX_LEFT
RTEXT "Condición Compra", -1, 285, 59, 40, 23, NOT WS_GROUP | SS_RIGHT, WS_EX_LEFT
LTEXT "Dias", 134, 412, 69, 20, 8, NOT WS_GROUP | SS_LEFT, WS_EX_LEFT
RTEXT "Fecha Vcto.", -1, 433, 62, 26, 22, NOT WS_GROUP | SS_RIGHT, WS_EX_LEFT
RTEXT "% I.V.A.", -1, 277, 89, 44, 8, SS_RIGHT, WS_EX_LEFT
LTEXT "Exento", -1, 187, 304, 31, 8, SS_LEFT, WS_EX_LEFT
LTEXT "Impuesto Adicional", -1, 248, 294, 41, 20, SS_LEFT, WS_EX_LEFT
LTEXT "Neto", -1, 319, 304, 21, 8, SS_LEFT, WS_EX_LEFT
LTEXT "Iva", -1, 393, 304, 12, 8, SS_LEFT, WS_EX_LEFT
LTEXT "Total", -1, 457, 304, 27, 8, SS_LEFT, WS_EX_LEFT
EDITTEXT 113, 167, 316, 62, 14, NOT WS_TABSTOP | ES_RIGHT, WS_EX_LEFT
EDITTEXT 108, 232, 316, 59, 14, NOT WS_TABSTOP | ES_RIGHT, WS_EX_LEFT
EDITTEXT 107, 295, 316, 68, 14, NOT WS_TABSTOP | ES_RIGHT, WS_EX_LEFT
EDITTEXT 106, 366, 316, 68, 14, NOT WS_TABSTOP | ES_RIGHT, WS_EX_LEFT
EDITTEXT 114, 6, 302, 101, 61, NOT WS_TABSTOP | ES_MULTILINE, WS_EX_LEFT
RTEXT "&Rut", -1, 14, 36, 21, 8, SS_RIGHT, WS_EX_LEFT
LTEXT "_", -1, 91, 33, 8, 9, SS_LEFT, WS_EX_LEFT
LTEXT "", 104, 14, 47, 251, 57, WS_BORDER | SS_LEFT, WS_EX_LEFT
LTEXT "IVA Importaciones", 136, 372, 336, 60, 8, SS_LEFT, WS_EX_LEFT
}