Board index » delphi » Checklistbox and Radiobuttons

Checklistbox and Radiobuttons


2003-11-25 02:21:29 AM
delphi246
A guy I work with wants and Checklistbox that contains a radiobutton group
for each entry in the list. Anyone know of a component like this.
I don't really feel like writing this for him, but if I have to....
=====================================================================
Rod
opensourcebeef.bsd.st
"...it's like, a giant {*word*196}!"
Ed Pamer, circa 1992.
 
 

Re:Checklistbox and Radiobuttons

"Johnnie Norsworthy" <XXXX@XXXXX.COM>wrote in
Quote
"Rod Person" <XXXX@XXXXX.COM>writes
news:XXXX@XXXXX.COM...
>A guy I work with wants and Checklistbox that contains a radiobutton
>group for each entry in the list. Anyone know of a component like
>this.
>
>I don't really feel like writing this for him, but if I have to....

I haven't looked for one yet. I just thought about this a couple of
days ago as a quick user interface element for selecting items for a
database filter.

o None of these
o [ ] Item 1
o [ ] Item 2
o [ ] Item 3
o All of these

As few of these as I'd use, I will probably just use individual
components for the task. I just thought it was an interesting idea.

-Johnnie
I look for one but I couldn't find one. What they want this for is a
e-mail address and if it is sent as TO, CC or BCC. Something like:
XXXX@XXXXX.COM 0 TO 0 CC 0 BCC
XXXX@XXXXX.COM 0 TO 0 CC 0 BCC
XXXX@XXXXX.COM 0 TO 0 CC 0 BCC
I suggested using two individual components but he doesn't like that
idea. I even put some code to show that did it for him, but wasn't "fine
tuned" and he didn't want to work with it.
=====================================================================
Rod
opensourcebeef.bsd.st
"...it's like, a giant {*word*196}!"
Ed Pamer, circa 1992.
 

Re:Checklistbox and Radiobuttons

"Rod Person" <XXXX@XXXXX.COM>writes
Quote
A guy I work with wants and Checklistbox that contains a radiobutton group
for each entry in the list. Anyone know of a component like this.

I don't really feel like writing this for him, but if I have to....
I haven't looked for one yet. I just thought about this a couple of days
ago as a quick user interface element for selecting items for a database
filter.
o None of these
o [ ] Item 1
o [ ] Item 2
o [ ] Item 3
o All of these
As few of these as I'd use, I will probably just use individual
components for the task. I just thought it was an interesting idea.
-Johnnie
 

Re:Checklistbox and Radiobuttons

Rod,
I am using TfcTreeView from Woll2Woll to mix checkboxes and radio buttons,
but I don't think it will work if you want the radio buttons to appear on
one line though. Maybe you should try the thirdpartytools newsgroup.
Morten
"Rod Person" <XXXX@XXXXX.COM>writes
Quote
"Johnnie Norsworthy" <XXXX@XXXXX.COM>wrote in
news:3fc25e02$XXXX@XXXXX.COM:

>"Rod Person" <XXXX@XXXXX.COM>writes
>news:XXXX@XXXXX.COM...
>>A guy I work with wants and Checklistbox that contains a radiobutton
>>group for each entry in the list. Anyone know of a component like
>>this.
>>
>>I don't really feel like writing this for him, but if I have to....
>.
 

Re:Checklistbox and Radiobuttons

Rod Person writes:
Quote
A guy I work with wants and Checklistbox that contains a radiobutton
group for each entry in the list. Anyone know of a component like
this.

I don't really feel like writing this for him, but if I have to....
If you can not find something already acceptable, you should be able to handle
this fairly easily by descending a treeview control and drawing items /
handling clicks.
--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: www.logicfundamentals.com/RADBooks.html
"It is error alone which needs the support of government. Truth can
stand by itself." - Thomas Jefferson
 

Re:Checklistbox and Radiobuttons

Rod Person writes:
Quote
I look for one but I couldn't find one. What they want this for is a
e-mail address and if it is sent as TO, CC or BCC. Something like:

XXXX@XXXXX.COM 0 TO 0 CC 0 BCC
XXXX@XXXXX.COM 0 TO 0 CC 0 BCC
XXXX@XXXXX.COM 0 TO 0 CC 0 BCC
You could do this with a grid with 4 columns: put the addresses in the
first column and embed check boxes in the 2nd-4th columns.
Then add code to the grid to handle changes in the checked property by
unchecking the other columns in the row.
I think that would look pretty nice, too.
ADDRESS TO CC BCC
XXXX@XXXXX.COM X
XXXX@XXXXX.COM X
XXXX@XXXXX.COM X