by nageswaragunupudi » Thu Mar 13, 2008 3:55 pm
1) In MDI environment all MDI Childs inherit colors from the main window. Because we create only MDI Childs within an MDI application, all Child windows have the same colors and fonts by default.
2) If we need globally common default colors for all dialogs and windows there are two ways.
(a) Modify window.prg and dialog.prg.
OR
(b) modify and override commands for creation of windows and dialogs. ( easier )
I normally adopt the second approach whenever I need a different default behaviour than provided by FWH. I usually have one include.ch file for each application ( common for all its modules), which, depending on the need, overrides some commands in FWH.
Regards
G. N. Rao.
Hyderabad, India