View Single Post
  #970  
Old 25-10-2012, 02:32
johnnyusa johnnyusa is offline
Registered User
 
Join Date: Oct 2011
Location: Romania
Posts: 20
Thanks: 4
Thanked 1 Time in 1 Post
johnnyusa is on a distinguished road
Quote:
Originally Posted by LuisCésar82 View Post
Very good the espectaivas for new CI.
The componetes in current CI (8.5.7.4) can be defined as unchecked?
Yes mate, they can. I had the same question and Yener was kind enough to help me about it.

Here is the code you need to work on:

Code:
Components1:= TCheckBox.Create(WizardForm);
with Components1 do
begin
Parent:= WizardForm;
Left:= NewLeftPositionCP; 
Top:= TextPositionTop + 130 + MoveDirectoryInfo;
Width:= 13;
Height:= 13;
TabOrder:= 0;
Checked:= Components1V; -> change to False
Visible:= Components1V;
OnClick:= @ComponentsClick;
...
BtnSetChecked(Components1Check,True); -> Change To False
end;
This example is for Component1 only, if you need to change the other components to unchecked state also, just do the same changes as above to each.
The Following User Says Thank You to johnnyusa For This Useful Post:
Demonn (24-12-2012)