This is Proberley a no, but is there any way to list all values which have been set?
IE: to list table and string values or to export them to a file?
Im looking for a way to moniter my setting as it would be easier to keep track of them this way, (like a log or debug option to throw them to a file)
Lua Set String "ToolBar_"+Lua String$("Gadget"+Str$(n)+".Catagory")+"_"+Str$(Lua Int("ToolBar_"+Lua String$("Gadget"+Str$(n)+".Catagory")+"_Count"),Lua String$("Gadget"+Str$(n)+".Name")
Lua Load String "ToolBar_"+Lua String$("Gadget"+Str$(n)+".Catagory")+"_Count = ToolBar_"+Lua String$("Gadget"+Str$(n)+".Catagory")+"_Count + 1","Temp"
That code above may look a little long, But its because my programmes Largeley Scripted so this is my settings file
---------- Visual DarkBasic ---------- By Michael Mihalyfi ---------- Mihalyfi@hotmail.co.uk ----------
-- Required Values
AppPath = "C:/Documents and Settings/Michael.MICHAELS/Desktop/Visual DarkBasic/"
-- Recent Files
RecentFile1 = "C:/Files/Test 10.VDB Project"
RecentFile2 = "C:/Files/Test 9.VDB Project"
RecentFile3 = "C:/Files/Test 8.VDB Project"
RecentFile4 = "C:/Files/Test 7.VDB Project"
RecentFile5 = "C:/Files/Test 6.VDB Project"
RecentFile6 = "C:/Files/Test 5.VDB Project"
RecentFile7 = "C:/Files/Test 4.VDB Project"
RecentFile8 = "C:/Files/Test 3.VDB Project"
RecentFile9 = "C:/Files/Test 2.VDB Project"
RecentFile10 = "C:/Files/Test 1.VDB Project"
-- Gadgets
Gadget1 = { Name = "Select/Move" , Catagory = "Common" , File = AppPath.."Gadgets/Select.gm" , Icon = AppPath.."Images/Select.bmp" , Help = "Create a BlueGui " }
Gadget2 = { Name = "Window" , Catagory = "Common" , File = AppPath.."Gadgets/Window.gm" , Icon = AppPath.."Images/Win.bmp" , Help = "Create a BlueGui " }
Gadget3 = { Name = "Canvas" , Catagory = "Common" , File = AppPath.."Gadgets/Canvas.gm" , Icon = AppPath.."Images/Canvas.bmp" , Help = "Create a BlueGui " }
Gadget4 = { Name = "Image" , Catagory = "Common" , File = AppPath.."Gadgets/Image.gm" , Icon = AppPath.."Images/Pic.bmp" , Help = "Create a BlueGui " }
Gadget5 = { Name = "RollOver Image" , Catagory = "Common" , File = AppPath.."Gadgets/Rollover.gm" , Icon = AppPath.."Images/PicRoll.bmp" , Help = "Create a BlueGui " }
Gadget6 = { Name = "HotSpot" , Catagory = "Common" , File = AppPath.."Gadgets/HotSpot.gm" , Icon = AppPath.."Images/HotSpot.bmp" , Help = "Create a BlueGui " }
Gadget7 = { Name = "WordArt" , Catagory = "Common" , File = AppPath.."Gadgets/WordArt.gm" , Icon = AppPath.."Images/Font.bmp" , Help = "Create a BlueGui " }
Gadget8 = { Name = "Button" , Catagory = "Form" , File = AppPath.."Gadgets/Button.gm" , Icon = AppPath.."Images/Btn.bmp" , Help = "Create a BlueGui Button." }
Gadget9 = { Name = "Label" , Catagory = "Form" , File = AppPath.."Gadgets/Label.gm" , Icon = AppPath.."Images/Label.bmp" , Help = "Create a BlueGui Label" }
Gadget10 = { Name = "TextBox" , Catagory = "Form" , File = AppPath.."Gadgets/TextBox.gm" , Icon = AppPath.."Images/Edit.bmp" , Help = "Create a BlueGui EditBox" }
Gadget11 = { Name = "TickBox" , Catagory = "Form" , File = AppPath.."Gadgets/TickBox.gm" , Icon = AppPath.."Images/Check.bmp" , Help = "Create a BlueGui TickBox" }
Gadget12 = { Name = "RadioBox" , Catagory = "Form" , File = AppPath.."Gadgets/RadioBox.gm" , Icon = AppPath.."Images/Radio.bmp" , Help = "Create a BlueGui RadioBox" }
Gadget13 = { Name = "Panel" , Catagory = "Form" , File = AppPath.."Gadgets/Panel.gm" , Icon = AppPath.."Images/Panel.bmp" , Help = "Create a BlueGui Panel" }
Gadget14 = { Name = "Group" , Catagory = "Form" , File = AppPath.."Gadgets/Group.gm" , Icon = AppPath.."Images/Frame.bmp" , Help = "Create a BlueGui Group" }
Gadget15 = { Name = "ListBox" , Catagory = "Form" , File = AppPath.."Gadgets/ListBox.gm" , Icon = AppPath.."Images/List.bmp" , Help = "Create a BlueGui ListBox" }
Gadget16 = { Name = "DropBox" , Catagory = "Form" , File = AppPath.."Gadgets/DropBox.gm" , Icon = AppPath.."Images/Combo.bmp" , Help = "Create a BlueGui DropBox" }
Gadget17 = { Name = "TabBar" , Catagory = "Form" , File = AppPath.."Gadgets/TabBar.gm" , Icon = AppPath.."Images/Tabs.bmp" , Help = "Create a BlueGui TabBar" }
Gadget18 = { Name = "TreeView" , Catagory = "Form" , File = AppPath.."Gadgets/TreeView.gm" , Icon = AppPath.."Images/Tree.bmp" , Help = "Create a BlueGui TreeView" }
Gadget19 = { Name = "ScrollBar" , Catagory = "Form" , File = AppPath.."Gadgets/ScrollBar.gm" , Icon = AppPath.."Images/Scroll.bmp" , Help = "Create a BlueGui ScrollBar" }
Gadget20 = { Name = "ListView" , Catagory = "Form" , File = AppPath.."Gadgets/ListView.gm" , Icon = AppPath.."Images/ListVw.bmp" , Help = "Create a BlueGui DataView" }
Gadget21 = { Name = "Progress Bar" , Catagory = "Form" , File = AppPath.."Gadgets/Progress Bar.gm" , Icon = AppPath.."Images/Prog.bmp" , Help = "Create a BlueGui Progress Bar" }
Gadget22 = { Name = "Track Bar" , Catagory = "Form" , File = AppPath.."Gadgets/Track Bar.gm" , Icon = AppPath.."Images/Track.bmp" , Help = "Create a BlueGui Track Bar" }
Gadget23 = { Name = "RichEdit" , Catagory = "Form" , File = AppPath.."Gadgets/RichEdit.gm" , Icon = AppPath.."Images/Rich.bmp" , Help = "Create a BlueGui RichEdit Box" }
Gadget24 = { Name = "ToolBar" , Catagory = "Form" , File = AppPath.."Gadgets/ToolBar.gm.gm" , Icon = AppPath.."Images/Toolbar.bmp" , Help = "Create a BlueGui " }
Gadget25 = { Name = "StatusBar" , Catagory = "Form" , File = AppPath.."Gadgets/StatusBar.gm" , Icon = AppPath.."Images/Status.bmp" , Help = "Create a BlueGui " }
Gadget26 = { Name = "SysTray Icon" , Catagory = "Form" , File = AppPath.."Gadgets/SysTrayIcon.gm" , Icon = AppPath.."Images/SysTrayIcon.bmp" , Help = "Create a BlueGui " }
Gadget27 = { Name = "File Explorer" , Catagory = "Form" , File = AppPath.."Gadgets/File Explorer.gm" , Icon = AppPath.."Images/FileExplorer.bmp" , Help = "Create a BlueGui " }
Gadget28 = { Name = "Web Browser" , Catagory = "Web" , File = AppPath.."Gadgets/Web Browser.gm" , Icon = AppPath.."Images/Web.bmp" , Help = "Create a BlueGui " }
Gadget29 = { Name = "Flash" , Catagory = "Web" , File = AppPath.."Gadgets/Flash.gm" , Icon = AppPath.."Images/Flash.bmp" , Help = "Create a BlueGui " }
Gadget30 = { Name = "Windows Media Player" , Catagory = "Web" , File = AppPath.."Gadgets/WMP.gm" , Icon = AppPath.."Images/MediaPlayer.bmp" , Help = "Create a BlueGui " }
Gadget31 = { Name = "QuickTime Media Stream" , Catagory = "Web" , File = AppPath.."Gadgets/QuickTime.gm" , Icon = AppPath.."Images/QuickTime.bmp" , Help = "Create a BlueGui " }
Gadget32 = { Name = "DivX Media Stream" , Catagory = "Web" , File = AppPath.."Gadgets/DivX.gm" , Icon = AppPath.."Images/DivX.bmp" , Help = "Create a BlueGui " }
Gadget33 = { Name = "RealPlayer media Stream" , Catagory = "Web" , File = AppPath.."Gadgets/RealPlayer.gm" , Icon = AppPath.."Images/RealPlayer.bmp" , Help = "Create a BlueGui " }
Gadget34 = { Name = "DarkBasic Camera" , Catagory = "3D" , File = AppPath.."Gadgets/Camera.gm" , Icon = AppPath.."Images/Camera.bmp" , Help = "Create a DarkBasic Camera " }
GadgetCount = 35
-- Color Selectors
ColorPicker1 = { Name = "Absolute Color Picker" , File = AppPath.."Color Pickers/Absolute Color Picker/Absolute Color Picker.exe" }
ColorPicker2 = { Name = "Gogas Color Picker" , File = AppPath.."Color Pickers/Gogas Color Picker/Gogas Color Picker.exe" }
ColorPicker3 = { Name = "Pick Color From Image" , File = AppPath.."Color Pickers/Pick Color From Image/Pick Color From Image.exe" }
ColorPicker4 = { Name = "Windows Default Color Picker" , File = AppPath.."Color Pickers/Windows Default Color Picker/Windows Default Color Picker.exe" }
ColorPickerCount = 4
DefaultColorPicker = 1
-- Code Editors
CodeEditor1 = { Name = "QuickCode" , File = AppPath.."Code Editors/QuickCode/QuickCode.exe" }
CodeEditorCount = 1
DefaultCodeEditor = 1
-- Tools
Tool1 = { Name = "Create ActiveX Gadget" , File = AppPath.."Tools/Create ActiveX Gadget/Create ActiveX Gadet.exe" }
Tool2 = { Name = "DarkBasic Archive" , File = AppPath.."Tools/DarkBasic Archive/DarkBasic Archive.exe" }
Tool3 = { Name = "ResHack" , File = AppPath.."Tools/ResHack/ResHack.exe" }
ToolCount = 3
-- Import Scripts
ImportScript1 = { Name = "Visual Basic 5 Form, (.Frm)" , File = AppPath.."Import Scripts/VB5 Form.gm" }
ImportScriptCount = 1
-- Export Scripts
ExportScript1 = { Name = "Dark Basic Source, (.dba)" , File = AppPath.."Export Scripts/dba.gm" }
ExportScriptCount = 1
-- Side Windows
SideWindow1 = { Name = "Event Watcher" , File = AppPath.."Side Windows/Event Watcher.gm" }
SideWindow2 = { Name = "Properties" , File = AppPath.."Side Windows/Properties.gm" }
SideWindow3 = { Name = "Discription" , File = AppPath.."Side Windows/Discription.gm" }
SideWindowCount = 3
Everyone Be Cool, You, Be Cool.