Re: Radiobox

0 views
Skip to first unread message
Message has been deleted

Raingarda Krzynowek

unread,
Jul 13, 2024, 2:26:01 PM7/13/24
to frigvilerconf

I'm working on an application that asks the user a series of questions with answers for each in a radiobox. The next question does not appear until you have answered the current one because it may depend on your answer.

EDIT: For what it's worth, I ended up using wxChoice instead. Having a blank option in front of the dropdown works better for what I was trying to accomplish than having a blank option for a radio button. Here's the change I made for anyone interested:

radiobox


Descargar Zip https://lpoms.com/2yPg1j



A radio-box% control allows the user to select one of a number of mutually exclusive items. The items are displayed as a vertical column or horizontal row of labelled radiobuttons. Unlike a list-control, the set of items in a radio-box% cannot be changed dynamically.

If choices is a list of bitmaps, and if abitmap has a mask (see get-loaded-mask in bitmap%)that is the same size as the bitmap, then the mask is used for thelabel. Modifying a bitmap while it is used as a label hasan unspecified effect on the displayed label.

The font argument determines the font for the control. For information about the enabled argument, see window. For information about the horiz-margin and vert-margin arguments, see subarea. For information about the min-width, min-height, stretchable-width, and stretchable-height arguments, see area.

If two arguments are provided, then if enable? is #f, the nth radio button is disabled, otherwise it is enabled (assuming the entire radio box is enabled). Radio buttons are numbered from 0. If n is equal to or larger than the number of radio buttons in the radio box, an exn:fail:contract exception is raised.

Otherwise, returns #f if nth radio button isdisabled (independent of disabling the entire radio box), #totherwise. Radio buttons are numbered from 0. If nis equal to or larger than the number of radio buttons in the radiobox, an exn:fail:contract exception is raised.

Once I published all changes, all checkboxes and radioboxes were visible. I needed to "Publish All Customizations" button for it to work. The formatting of the text is different: Why aren't the checkboxes and the radioboxes text listed in the Option Set, the same size and font as text on the rest of the form?

It worked! For some reason yours worked, but the HTML that I created did not work. The code is exactly the same as the website that was provided in the first post in this thread except for a line that you had with the text "debugger;" in the beginning of the text box programming HTML. I actually added that part of the code in my HTML and changed the java to point to "new_jquery_1.10.2.js" in my code and it still did not work. Why did yours work and mine did not. The only difference now is that yours is a managed solution while my code was not. Could that by why mine was not working?

For the checkboxes, I have created 3 new fields with the exact/verbatim names as the instruction say: new_makeyear, new_selectedyears, and new_selectedyeartext. The fields new_selectedyears and new_selectedyeartext have a data type of Single Line of Text, while new_makeyear has the data type of Option Set containing all of the year values. I have clicked and dragged each of these three fields on the form. I have also inserted the HTML web resource to the list. That is where I am expecting to see the checkbox options, but it is blank, just like the radio boxes that are blank. In Form Properties, I have chosen to add the new_jquery library you provided the link to download, where I created the JQuery Web Resource and referenced in the HTML Web Resource. I exported the Web Resource, imported it, and exported it again to very if the onLoad conditions were saved. I do not know why, but it is not working. Are you using CRM 2015, like I am? Does it CRM 2013 java code break in CRM 2015?

d3342ee215
Reply all
Reply to author
Forward
0 new messages