Code: Select all
SetGadgetColor(#MyStringGadget, #PB_Gadget_LineColor, $FF0000)
Code: Select all
SetGadgetColor(#MyStringGadget, #PB_Gadget_LineColor, $FF0000)
FYI: The same code with #PB_Gadget_FrontColor or #PB_Gadget_BackColor does exactly what you'd expect.DanLJr wrote:What am I doing wrong here?
No matter what I set the last value to, the border is always gray when the textbox is not "active" (being typed into at the moment), and the "active" (containing the cursor) textbox border is always some soft blue color. (Latest FireFox on PC to test.)Code: Select all
SetGadgetColor(#MyStringGadget, #PB_Gadget_LineColor, $FF0000)
DanLJr wrote:Any ideas?
So #PB_Gadget_LineColor is not for the border color.SB-Help wrote: #PB_Gadget_LineColor : Color for gridlines
Honestly, I'd like to know how to do both!Peter wrote:Do you want to change the border color of all StringGadgets or just one of them?
Code: Select all
! $("<style> .dijitTextBox{border-color:red} </style>").appendTo("head");
Code: Select all
GID = GadgetID(0)
! $(v_gid.div).find(".dijitTextBox").css("border-color", "red");
no, if there was one, I would have pointed it out to you.DanLJr wrote:Is there a BASIC way to do it?
no programming language supports all features. However, we are lucky enough to be able to implement missing features in SpiderBasic relatively easily with JavaScript. So we don't have to wait for a new program version that contains the desired feature. And if you can't do it yourself, you'll usually get help quickly in this forum.DanLJr wrote:I want to be able to go to the help file for anything that I need to do.