I've tested all the controls with the IDE form designer generated code and found the following:
- GRID and BROWSE: generates a syntax error
Code: Select all
DEFINE GRID Grid_1
ROW 40
COL 50
WIDTH 120
HEIGHT 120
ITEMS { {""} }
VALUE Nil
WIDTHS { 0 }
HEADERS {''}
FONTNAME "Arial"
FONTSIZE 9
TOOLTIP ""
ONCHANGE Nil
ONGOTFOCUS Nil
ONLOSTFOCUS Nil
FONTBOLD .F.
FONTITALIC .F.
FONTUNDERLINE .F.
FONTSTRIKEOUT .F.
ONDBLCLICK Nil
ONHEADCLICK Nil
ONQUERYDATA Nil
MULTISELECT .F.
ALLOWEDIT .F.
VIRTUAL .F.
DYNAMICBACKCOLOR Nil
DYNAMICFORECOLOR Nil
COLUMNWHEN Nil
COLUMNVALID Nil
COLUMNCONTROLS Nil
SHOWHEADERS .T.
CELLNAVIGATION .F.
NOLINES .F.
HELPID Nil
IMAGE Nil
JUSTIFY Nil
ITEMCOUNT Nil
BACKCOLOR Nil
FONTCOLOR Nil
HEADERIMAGES Nil
ROWSOURCE Nil
COLUMNFIELDS Nil
ALLOWAPPEND .F.
ALLOWDELETE .F.
BUFFERED .F. <<<<-------SYNTAX ERROR HERE
DYNAMICDISPLAY Nil
ONSAVE Nil
LOCKCOLUMNS Nil
END GRID
Code: Select all
DEFINE BROWSE Browse_1
ROW 90
COL 220
WIDTH 120
HEIGHT 120
VALUE 0
WIDTHS {0}
HEADERS {''}
WORKAREA Nil
FIELDS {''}
FONTNAME "Arial"
FONTSIZE 9
TOOLTIP ""
ONCHANGE Nil
ONGOTFOCUS Nil
ONLOSTFOCUS Nil
FONTBOLD .F.
FONTITALIC .F.
FONTUNDERLINE .F.
FONTSTRIKEOUT .F.
ONDBLCLICK Nil
ALLOWEDIT .F.
ALLOWAPPEND .F.
ONHEADCLICK Nil
ALLOWDELETE .F.
HELPID Nil
VALID Nil <<<<-------SYNTAX ERROR HERE
VALIDMESSAGES Nil
LOCK .F.
VSCROLLBAR .T.
DYNAMICBACKCOLOR Nil
DYNAMICFORECOLOR Nil
INPUTMASK Nil
FORMAT Nil
WHEN Nil <<<<-------SYNTAX ERROR HERE
INPUTITEMS Nil
DISPLAYITEMS Nil
BACKCOLOR Nil
FONTCOLOR Nil
IMAGE Nil
JUSTIFY Nil
NOLINES .F.
READONLYFIELDS Nil <<<<-------SYNTAX ERROR HERE
HEADERIMAGES Nil
END BROWSE
- PLAYER, ACTIVEX and RICHEDITBOX: generates a syntax error (they are not implemented). AFAIR there is not support in QT for that. If so, I can eliminate them from form designer definitively.
- COMBOBOX: In WIN32 API, Combobox height refers to the control with the dropdown list visible. The upper part height is set by the system. By the other hand, QT interprets the height as the upper part one, giving us (with the default form designer height) an unusable combo. IMHO height property should be temporarily disabled for it.
All other controls compiled and ran well, exactly as they were created by the form designer (no modifications in code or property values).
I hope that this info be useful.