Regarding RadioButton

Caolán McNamara caolanm at redhat.com
Mon Sep 24 12:37:37 PDT 2012


On Mon, 2012-09-24 at 15:07 +0300, Sagar Srivastava wrote:
> Dear All,
> 
> Greetings of the day !!!
> 
> In the following class : 
> 
> RadioButton::RadioButton 
> (
> Window * 
> pParent, 
> 
> 
> 
> 
> const ResId & 
> rResId 
> 
> 
> )
> 
> 
> 
> 
> Is there any function to change / update Resource ID .

No, not really. Once the RadioButton has been constructed from a given
id there isn't a sort of "reload" from another id. 

You can generally tweak the individual things that get loaded from an
ID, e.g. SetText to change the text of the button, SetStyle to tweak
alignment and so forth. And/or the "have two buttons and hide one" hack

C.




More information about the LibreOffice mailing list