rog1n Posted August 5, 2019 Share Posted August 5, 2019 (edited) Hello, I am working now with DCL, I need when a select a radio_button change the label of toggle, after a search I think it is not possible, so I thought if use a toogle without label and a text on right of toogle like that: fr_config:dialog{ :boxed_row{ label="Options"; :radio_button{ label="Option 1"; key="1"; } :radio_button{ label="Option 2"; key="2"; } } :boxed_row{ label="Example"; :toggle{ alignment="rigth"; key= "toggle1"; } :text{ alignment="left"; key= "text1"; label = "Text"; } } spacer; ok_cancel; } but I couldn't put them (toggle and text) together... What I am doing wrong or maybe have a better solution? Edited August 5, 2019 by rog1n Quote Link to comment Share on other sites More sharing options...
Tharwat Posted August 5, 2019 Share Posted August 5, 2019 An example: : boxed_row { fixed_width = true; : toggle { key = "tog1";} : text { label = "Initial name"; key = "t1";}} Then you need to add an action_tile for the radio_button to control the text by its key with your desired name. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.