FoxInCloud
Change the backcolor button in bootstrap mode.
How do I change the background color of a button in bootstratp mode? The color will be a parameter received at the init of the form and may vary for each user. In classic mode, it works perfectly, but in bootstrap mode I haven't found a way.
If the 8 standard Bootstrap colors are enough
form.Init()
if thisForm.wlInitFirst
…
endif
thisForm.wcScriptJSadd(textmerge([jQuery("#<<this.button.wcID>>").addClass("<<iCase(xx, 'btn-success', yy, 'btn-warning', …)>>")]))
I wanted to leave all the colors possible with the user choosing if it this possible of course.