I have what I think is a simple problem, just can't get my head around it.
Trying to write a script with a single page.
A combobox and a edit box.
The combobox is working fine, I am able to get the contents of it depending on what has been selected.
My Edit box however, I can't get it to update the variable if the text in the box is altered.
[Code]
var
server: string;
procedure InitializeWizard;
var
Edit: TNewEdit;
begin
server := '127.0.0.1';
Edit := TNewEdit.Create(CustomPage);
Edit.Top := DescLabel2.Top + DescLabel2.Height + 6;
Edit.Width := CustomPage.SurfaceWidth div 2 - ScaleX(8);
Edit.Text := server;
Edit.Parent := CustomPage.Surface;
Cant figure out what I'm doing wrong.