|
<< Click to Display Table of Contents >> Navigation: Telegram > 2020 > 06 > 18 > Telegram_2020-06-18T07 |
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
2020-06-18T07:38:39
Thank you Loren
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.
2020-06-18T07:42:27
Or, alternately, we could quickly add that feature to the component
2020-06-18T07:45:28
Looking at the source code — it doesn't look likely that you can use this component for inline
2020-06-18T07:48:46
Someone has placed it inside form-group and the class is radio-inline
2020-06-18T07:48:59
then perhaps it will work
2020-06-18T07:49:17
I will try
2020-06-18T07:50:48
Not working in Intraweb
2020-06-18T07:53:44
You can easily build any Bootstrap component using individual elements with IWBS4
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
2020-06-18T07:54:58
IWBS4Region you mean
2020-06-18T07:55:18
Let's look at it
2020-06-18T07:55:30
Ok
2020-06-18T07:55:34
This is where you need to get to:
2020-06-18T07:56:20
First Option
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
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
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\
2020-06-18T07:58:53
Ok let me try
2020-06-18T07:59:16
Sometimes you have to use the OnHTMLTag event of an IntraWeb component
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