Quote:
Originally Posted by Logrim
I try with invisible tbuttons like in my other forms, you know the others  .. but nothing,, i try with botva buttons and nothing,, and i try making a form like my detect installation form in that way:
function ShowOptionsForm: TModalResult;
var
OptionsLabel, RepairButtonLabel, UninstallButtonLabel, OptionsCancelLabel: TLabel;
RepairButton, UninstallButton, OptionsCancelButton: TNewButton;
begin
Result := mrNone;
OptionsForm := CreateCustomForm;
try
etc
etc
But nothing seems to work.
The botva butons showing correctly but seems not to aply mrCancel and mrOk.
|
Change the invisible button to visible and try click it. If it works set the botva2 button click tbutton
Eg ( botva2 button name.onclick=tbutton name.click )
Hope you understand what iam saying