I saw a nice set of UI components on GameDev.net a while ago - take a look at AntTweakBar

http://www.antisphere.com/Wiki/doku....ls:anttweakbar

How would you do something like this for delphi.

I could do something simple like this and then when adding a variable to the bar you could give the address of the var you want on the bar

[pascal]Var
MyVar : Integer;

AddVar('MyVarName',@MyVar);[/pascal]