zeljko wrote:
On Thursday 21 June 2007 08:59, Mattias Gaertner wrote:
On Thu, 21 Jun 2007 08:16:09 +0200
zeljko <[EMAIL PROTECTED]> wrote:
Hi,
What is the purpose of "HiddenRadioButton" while creating
TRadioGroup ? eg. TRadioGroup with 2 items creates 3 items , one
named "HiddenRadioButton" and others from Items[]. TRadioGroup
without items always create this "HiddenRadioButton". I'm currently
working on qt port and have problem with this. TCheckGroup works
perfect. Is this ugly hack or something normal ?
It was needed, because gtk intf didn't allow a radiogroup with none
selected. Maybe this is not needed anymore.
Why can't the qt create hidden radio buttons?
it can, but it's always visible as other radio buttons , so we have to make
workarounds because of gtk. I think that paul's proposal is ok, if
widgetset=gtk then createdummyradiobutton else sit and wait ;)
To be more exact I suggested to move that code from LCL to widgetset
where it needed.
ps: my answer is not in list since I answered to reply address (directly
to zeljko)
Best regards,
Paul Ishenin.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives