Shoutbox

[Problem] SetCheckState on ChildWnd - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Problem] SetCheckState on ChildWnd (/showthread.php?tid=62208)

[Problem] SetCheckState on ChildWnd by Rene on 07-01-2006 at 04:17 AM

Hi,

I have created an Window, with CreateWnd, that works fine, now i have created an Childwnd, works fine to.

But, if i want to Set an CheckedState to one CheckBoxControl i got an error
'Object needed' ( orso )


RE: [Problem] SetCheckState on ChildWnd by cooldude_i06 on 07-01-2006 at 04:20 AM

quote:
Originally posted by Rene
Hi,

I have created an Window, with CreateWnd, that works fine, now i have created an Childwnd, works fine to.

But, if i want to Set an CheckedState to one CheckBoxControl i got an error
'Object needed' ( orso )

My code:

code:
                  /*
                    Open inside parent, child Main
                  */

                  WindowOpend [ 2 ] = MsgPlus.CreateChildWnd( WindowOpend [ 0 ], 'windows_new.xml', 'Main.Instellingen', 180, 113, true );
                 
                  /*
                    Set settings
                  */
                 
                  with( WindowOpend [ 2 ] )
                  {
                 
                          Butten_SetCheckState( 'LblOnbekendM', false );
                          Butten_SetCheckState( 'LblOnbekendB', true );
                          Butten_SetCheckState( 'LblEffect', true );
                         
                  }

He make the ChildWnd, but don't Checked one CheckBox.

maybe because "button" is spelt wrong...?
RE: [Problem] SetCheckState on ChildWnd by Rene on 07-01-2006 at 04:22 AM

Mmm, i'm so stupid.

Dutch -> english, it make me crazy :P


RE: [Problem] SetCheckState on ChildWnd by cooldude_i06 on 07-01-2006 at 04:22 AM

quote:
Originally posted by Rene
Mmm, i'm so stupid.

Dutch -> english, it make me crazy :P


no problem, lol, :P