cancel
Showing results for 
Search instead for 
Did you mean: 

Option Button Databinding in Screen Painter

Former Member
0 Kudos

What is the correct way to specify Databinding in the Screen Painter for Option Buttons? I assume that the first button is specified differently than the others, so I will need to know how the settings for the second option button differ from the first button.

Also, how is the Groupwith property handled with the Screen Painter?

Accepted Solutions (1)

Accepted Solutions (1)

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Bob,

You need to create a UserData source and bind it to the option buttons you want to link together. Try to do it with screen painter but if it does not work you can go to the generated xml file and modify it by hand.

The groupwith property is not handled by the ScreenPainter, you must do it in the xml file.

You have a sample code in the UI API SDK Help.

Hope it helps

Trinidad.

former_member5874
Discoverer
0 Kudos

the option buttons i want to link together , i Try to do it with screen painter but if it does not work,

how to do it by the generated XML file ?

 <item uid="63" type="122" left="319" tab_order="0" width="80"
 top="266" height="14" visible="1" enabled="1" from_pane="1" to_pane="1"
 disp_desc="0" right_just="0" description="Conception" linkto="" 
forecolor="-1" backcolor="-1" text_style="0" font_size="-1" 
supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute/>
<specific caption="Conception" AffectsFormMode="1" val_on="Y" val_off="N">
<databind databound="1" table="@Y_OINTR" alias="U_Repa"/>
</specific>
</item>
<item uid="64" type="122" left="319" tab_order="0" width="80" top="252" height="14" visible="1" enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="Réparation" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute/>
<specific caption="Réparation" AffectsFormMode="1" val_on="Y" val_off="N">
<databind databound="1" table="@Y_OINTR" alias="U_Repa"/>
</specific>
</item>

Answers (0)