Basic syntax for a Browse which works perfectly in a non-MDI environment is as follows :-
[ @
[ ID
[ OF | PARENT | DIALOG
WIDTH
HEIGHT
HEADERS
WIDTHS
WORKAREA
FIELDS
[ VALUE
[ FONT
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP
[ BACKCOLOR
[ DYNAMICBACKCOLOR
[ DYNAMICFORECOLOR
[ FONTCOLOR
[ ON GOTFOCUS
[ ON CHANGE
[ ON LOSTFOCUS
[ [ ON DBLCLICK
[ ON HEADCLICK
[ WHEN
[ VALID
[ VALIDMESSAGES
[ READONLY
[ LOCK ]
[ DELETE ]
[ NOLINES ]
[ IMAGE
[ JUSTIFY
[ NOVSCROLL ]
[ HELPID
[ BREAK ]
However, please note that for MDI environment:-
[ [ ON DBLCLICK
a) EDIT/APPEND does not work
b) You may use EDIT INPLACE
This is exactly why I wrote my own UDF to replace them :-)
Update on 23rd March 2009
Hi CCH,
ReplyDeleteCongrats!!! :)
Thanks a lot for this project!
Please discuss about the "LOCKING" of table during "EDIT" in browse. I have some doubts about it :(
Today I learned many things about BROWSE and MDI environment. Thanks :)
Thank you very much for "making" me focused on HMG :)
BTW I am also creating a project in HMGForum about One to Many form.
Please send your advice about it.
Regards.
Sudip