| 228 |
|
if tabIndex >= 0 then |
| 229 |
|
begin |
| 230 |
|
if MDITab.MDIChildren[tabIndex] is TForm_ToolTemplate then |
| 231 |
+ |
begin |
| 232 |
|
hint := 'Window: ' + MDITab.MDIChildren[tabIndex].Caption + #13+#10 + |
| 233 |
< |
'Selected File: ' + |
| 234 |
< |
TForm_ToolTemplate(MDITab.MDIChildren[tabIndex]).SelectedFile.FileName |
| 233 |
> |
'Selected File: '; |
| 234 |
> |
if TForm_ToolTemplate(MDITab.MDIChildren[tabIndex]).SelectedFile.ID >= 0 then |
| 235 |
> |
hint := hint + TForm_ToolTemplate(MDITab.MDIChildren[tabIndex]).SelectedFile.FileName |
| 236 |
> |
else |
| 237 |
> |
hint := hint + 'None'; |
| 238 |
> |
end |
| 239 |
|
else |
| 240 |
|
hint := 'Window: ' + MDITab.MDIChildren[tabIndex].Caption; |
| 241 |
|
if hint <> MDITab.Hint then |