1. CJ Lai
  2. PowerBuilder
  3. Friday, 22 October 2021 15:12 PM UTC

Hi

PB 2017 R3

I have a datawondow object with a column in the edit form of radiobutton.

In a group box, there are 4 possible options for the column's value. They are 'A', or 'B', or 'C', or 'D'

I need to change the initial selected value to, say, 'C', from current initial selected value 'A' when the window first opens. How do I make that happen?

I looked up the Help and this is what it has to say:

When a window opens, one RadioButton in a group must be selected. You specify which is the initially selected RadioButton by selecting the Checked property in the General property page in the RadioButton's Properties view.

 

For the life of me, I just can not find the said 'Checked' property in the IDE's the page/tab.

I need your help, if you please.

Thank you

 

Accepted Answer
John Fauss Accepted Answer Pending Moderation
  1. Friday, 22 October 2021 15:30 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi, CJ - 

You're looking at the Help section for Radio Button controls, but you're working with the Radio Button edit style.

In the Column Specifications pane in the DataWindow Painter, specify an initial value that corresponds to radio button data value "C".

Best regards, John

Comment
  1. CJ Lai
  2. Friday, 22 October 2021 15:37 PM UTC
I appreciate your reply, John. It solves my problem.
  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.