on 04-23-2006 4:19 AM
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.