FoxInCloud
Setting two elemenst in html
Gravatar is a globally recognized avatar based on your email address. Setting two elemenst in html
  Michele
  All
  Mar 3, 2020 @ 07:55am

I have these two elements in an html generate by foxincloud

In foxpro my two objects in form designer are exactly the same.... How can i force the first to have not "col-lg-1" class in the html ?

With this class i see them in different format and instead they should be so

Thanks

Gravatar is a globally recognized avatar based on your email address. re: Setting two elemenst in html
  Vincent H.
  Michele
  Mar 3, 2020 @ 08:42am

Hi,

You can use the wBScolClass property or set width in your xxx.css

Gravatar is a globally recognized avatar based on your email address. re: Setting two elemenst in html
  Michele
  Vincent H.
  Mar 3, 2020 @ 08:46am

In wBScolClass i can set the class i want to use so, in this case, i have to insert all the class string i want to set. In my example it is the second item. Is it correct ?

Gravatar is a globally recognized avatar based on your email address. re: Setting two elemenst in html
  Vincent H.
  Michele
  Mar 3, 2020 @ 08:49am

Yes I think ...

Gravatar is a globally recognized avatar based on your email address. re: Setting two elemenst in html
  Vincent H.
  Michele
  Mar 3, 2020 @ 08:52am

In your example, you can maybe just shift a little "Costo" on the right

Gravatar is a globally recognized avatar based on your email address. re: Setting two elemenst in html
  FoxInCloud Support - Thierry N.
  Michele
  Mar 3, 2020 @ 12:52pm

Ciao Michele,

Calculating the BS column width is a complex process that you need to play with…

You can either try to force .wBScolClass or slightly change the object's width in its .Init():

procedure Init

if type('thisForm.wBSlHTMLgen') == 'L' and thisForm.wBSlHTMLgen
  this.width = this.width * 1.1
endif

…
return dodefault()

You can also try .wBSwidth

© 1996-2024