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...?