I need to create some sSpeedButtons and i'm using separate procedure for this.
If i'm defining some parametres – e.g. Flat or Blend – inside this procedure (where the sSpeedButtons is creating) – all is correct.
But if i'm defining this parametres outside this procedure – e.g. like this
CODE
procedure TFotm1.sSpeedButtonCreate(…);
begin
…
end;
some code
sSpeedButton_name.Blend:=…;
i get Exception Notification “Project … raises class exception EAccessViolation with message “Access violation at address … in module …”.
I'm getting this error without difference, which parametre i'd changed – Top, Left, Flat or other…