Telegram_2020-06-18T07

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2020 > 06 > 18 >

Telegram_2020-06-18T07

Telegram link

 

2020-06-18T07:37:12

 

You have to use the form-check-inline class. If the component does not have an Inline property, then add that class to the Css property

 


 

Telegram link

 

2020-06-18T07:38:39

 

Thank you Loren

 


 

Telegram link

 

2020-06-18T07:42:15

 

Just be aware that the BS4RadioGroup attempts to do it the \Delphi way\ and let's you list the items, and then it builds the radio options. But in Bootstrap — the form-check-inline class has to be applied to *each* of the options, so you might not be able to use this component and achieve inline. You might have to build each option separately, per the Bootstrap documentation.

 


 

Telegram link

 

2020-06-18T07:42:27

 

Or, alternately, we could quickly add that feature to the component

 


 

Telegram link

 

2020-06-18T07:45:28

 

Looking at the source code — it doesn't look likely that you can use this component for inline

 


 

Telegram link

 

2020-06-18T07:48:46

 

Someone has placed it inside form-group and the class is radio-inline

 


 

Telegram link

 

2020-06-18T07:48:59

 

then perhaps it will work

 


 

Telegram link

 

2020-06-18T07:49:17

 

I will try

 


 

Telegram link

 

2020-06-18T07:50:48

 

Not working in Intraweb

 


 

Telegram link

 

2020-06-18T07:53:44

 

You can easily build any Bootstrap component using individual elements with IWBS4

 


 

Telegram link

 

2020-06-18T07:54:07

 

It's more convenient if the component puts all the pieces in place for you, but if that isn't available, you can still do what you need to do

 


 

Telegram link

 

2020-06-18T07:54:58

 

IWBS4Region you mean

 


 

Telegram link

 

2020-06-18T07:55:18

 

Let's look at it

 


 

Telegram link

 

2020-06-18T07:55:30

 

Ok

 


 

Telegram link

 

2020-06-18T07:55:34

 

This is where you need to get to:

 


 

Telegram link

 

2020-06-18T07:56:20

 

 

 

 

 

First Option

 

 

 

 

 


 

Telegram link

 

2020-06-18T07:56:54

 

So for the outer div you would use TIWBS4Region and leave the BSRegionType to none. Then set Css to form-check-inline

 


 

Telegram link

 

2020-06-18T07:57:46

 

You should have a TISBS4Label, which you could put inside the div, and set its Css to form-check-label

 


 

Telegram link

 

2020-06-18T07:58:19

 

if you don't have the class TIWBS4Label, then you can use TIWBS4Region and leave the BSRegionType to none, and you'll have to manually set the Tag type to \label\

 


 

Telegram link

 

2020-06-18T07:58:53

 

Ok let me try

 


 

Telegram link

 

2020-06-18T07:59:16

 

Sometimes you have to use the OnHTMLTag event of an IntraWeb component

 


 

Telegram link

 

2020-06-18T07:59:41

 

Here you can manipulate all sorts of things, the main thing being the ability to change a div to some other HTML tag