T TestMyChess Member Licensed User Longtime User Jan 5, 2014 #1 What do I need to do to allow me to write SV.Panel.AddView(lbl, 0%x, 0%y, 100%x, WRAP_CONTENT) rather than SV.Panel.AddView(lbl, 0%x, 0%y, 100%x, -2) ' -2 = WRAP_CONTENT Thanks. John
What do I need to do to allow me to write SV.Panel.AddView(lbl, 0%x, 0%y, 100%x, WRAP_CONTENT) rather than SV.Panel.AddView(lbl, 0%x, 0%y, 100%x, -2) ' -2 = WRAP_CONTENT Thanks. John
klaus Expert Licensed User Longtime User Jan 5, 2014 #2 In Process_Gobals define: Dim WRAP_CONTENT = -2 As Int Upvote 0
T TestMyChess Member Licensed User Longtime User Jan 5, 2014 #3 So there's no way to use standard constants without defining them as variables? No "include file" mechanism? John Upvote 0
So there's no way to use standard constants without defining them as variables? No "include file" mechanism? John
klaus Expert Licensed User Longtime User Jan 5, 2014 #4 No "include file" mechanism? Click to expand... No. Upvote 0
DonManfred Expert Licensed User Longtime User Jan 6, 2014 #5 You can write a code-module (and add the module to your project) and in this you can declare all contants you need. You then can use B4X: nameofcodemodule.constantname to use constantname. Upvote 0
You can write a code-module (and add the module to your project) and in this you can declare all contants you need. You then can use B4X: nameofcodemodule.constantname to use constantname.