I'm very confused...
Shouldn't this script display "Something I Wrote"?
Dialog>Dialog1
Caption=Dialog2
Top=192
Width=170
Left=16
Height=109
Edit=Name,24,16,121,Something I wrote.
Button=In a Message,40,40,75,25,1
EndDialog>Dialog1
Show>Dialog1,result
If>result=1
Message>%Name%
ENDIF
Instead it just displays "%Name%"...
Help please!
simple dialog problem
Moderators: Dorian (MJT support), JRL
Catbreath,
The proper name of the variable is "Dialog1.Name" . Your script should work if you change the message line.
Dialog>Dialog1
Caption=Dialog2
Top=192
Width=170
Left=16
Height=109
Edit=Name,24,16,121,Something I wrote.
Button=In a Message,40,40,75,25,1
EndDialog>Dialog1
Show>Dialog1,result
If>result=1
Message>%Dialog1.Name%
ENDIF
Hope this was helpful,
Dick
The proper name of the variable is "Dialog1.Name" . Your script should work if you change the message line.
Dialog>Dialog1
Caption=Dialog2
Top=192
Width=170
Left=16
Height=109
Edit=Name,24,16,121,Something I wrote.
Button=In a Message,40,40,75,25,1
EndDialog>Dialog1
Show>Dialog1,result
If>result=1
Message>%Dialog1.Name%
ENDIF
Hope this was helpful,
Dick