Link to home
Start Free TrialLog in
Avatar of PlawCoder
PlawCoder

asked on

How to get all nondialog forms to appear in task bar with delphi 2010

need to have app run under windows xp and windows 7
and  show all nondialog on the taskbar as seperate items
currently only main form appear running on XP
ASKER CERTIFIED SOLUTION
Avatar of dougaug
dougaug
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PlawCoder
PlawCoder

ASKER

Thanks dougaug. Is this behavior implicit in Delphi 2010? It sucks to have to change a form whenever it should appear in the taskbar. Shouldn't this have been the case by default?
this is intentional.
Imagine a app like delphi having a button for every window in the taskbar

that would mean every form you have open in the editor, the editor itself, the menu, the component pallet, etc ...

best approach if you want this in every form:
create a baseclass form and inherit your form from that baseclass:
remember to change the dfm to make inherited too.
>> this would be inheriting from TForm2
>>> but i would give TForm2 a more appropriate name ... :)
Thank you both for the suggestion.