16 lines
2.7 KiB
Plaintext
16 lines
2.7 KiB
Plaintext
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||
|
<TfrxReport Version="2.0" DotMatrixReport="False" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="37875,6208219213" ReportOptions.Description.Text="Demonstrates simple script that enables or disables some controls depending on state of another controls. " ReportOptions.LastChange="44071,8018407639" ReportOptions.IsFMXReport="True" ScriptLanguage="PascalScript" ScriptText.Text="procedure CheckBox1OnChange(Sender: TfrxComponent); begin Edit1.Enabled := CheckBox1.Checked; end; procedure CheckBox2OnChange(Sender: TfrxComponent); begin Edit2.Enabled := CheckBox2.Checked; end; begin end. " PropData="0844617461736574730100095661726961626C65730100055374796C650100">
|
||
|
<TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
|
||
|
<TfrxDialogPage Name="DialogPage1" Font.Name="Tahoma" Font.PixelsPerInch="96" Font.Style="0" Font.Color="0" Font.Height="-11" Color="-657931" Height="165" ClientHeight="165" Left="265" Top="150" Width="300" ClientWidth="300">
|
||
|
<TfrxButtonControl Name="Button1" Left="68" Top="96" Width="75" Height="25" ShowHint="False" Caption="OK" ModalResult="1"/>
|
||
|
<TfrxButtonControl Name="Button2" Left="148" Top="96" Width="75" Height="25" ShowHint="False" Caption="Cancel" ModalResult="2"/>
|
||
|
<TfrxCheckBoxControl Name="CheckBox1" Left="8" Top="12" Width="97" Height="17" ShowHint="False" Caption="Enable Edit1" Checked="True" OnChange="CheckBox1OnChange"/>
|
||
|
<TfrxCheckBoxControl Name="CheckBox2" Left="8" Top="48" Width="97" Height="17" ShowHint="False" Caption="Enable Edit2" Checked="True" OnChange="CheckBox2OnChange" OnClick="CheckBox2OnClick"/>
|
||
|
<TfrxEditControl Name="Edit1" Left="120" Top="12" Width="121" Height="21" ShowHint="False" MaxLength="0" PasswordChar="45" Text="Edit1"/>
|
||
|
<TfrxEditControl Name="Edit2" Left="120" Top="48" Width="121" Height="21" ShowHint="False" MaxLength="0" PasswordChar="45" Text="Edit2"/>
|
||
|
</TfrxDialogPage>
|
||
|
<TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" Frame.Color="-16777216" Frame.ShadowColor="-16777216" HGuides.Text="" VGuides.Text="">
|
||
|
<TfrxMemoView Name="Memo1" Left="75,5906" Top="37,7953" Width="566,9295" Height="37,7953" ShowHint="False" Font.Name="Arial" Font.PixelsPerInch="96" Font.Style="1" Font.Color="-16777216" Font.Height="-16" Frame.Color="-16777216" Frame.ShadowColor="-16777216" HAlign="haCenter" ParentFont="False" Text="THE REPORT"/>
|
||
|
</TfrxReportPage>
|
||
|
</TfrxReport>
|