Re: What's the best way....
I am not sure if I understand correctly, a screenshot, or a picture would be helpful. Basically, I think the general rule of thumb is that if the action the button performs is only relevant to the tab and its contents it should be in the actual tab. If pressing the button works / is relevant to / effects the whole dialog or window or app, than it should be outside of the tab. I hope I understood correctly.
Bojan
The march of progress:
C:
printf("%10.2f", x);
C++:
cout << setw(10) << setprecision(2) << showpoint << x;
Java:
java.text.NumberFormat formatter = java.text.NumberFormat.getNumberInstance();
formatter.setMinimumFractionDigits(2);
formatter.setMaximumFractionDigits(2);
String s = formatter.format(x);
for (int i = s.length(); i < 10; i++) System.out.print(' ');
System.out.print(s);
Bookmarks