whiz
Senior Member
Posts: 568 Reputation: 8
– / – /
Joined: Nov 2008
|
O.P. RE: HELP - Child Windows!
xml code: <!-- Browser Window -->
<Window Id="WndBrowser" Version="1">
<Attributes>
<Caption>Plus! Browser</Caption>
</Attributes>
<TitleBar>
<AllowMaximize>true</AllowMaximize>
<Title>
<Prefix>Image</Prefix>
<Text>Plus! Browser</Text>
</Title>
</TitleBar>
<Position Width="500" Height="400">
<IsAbsolute>true</IsAbsolute>
<Resizeable Allowed="BothSides">
<MinWidth>500</MinWidth>
<MinHeight>400</MinHeight>
</Resizeable>
</Position>
<DialogTmpl>
</DialogTmpl>
<Controls>
<Control xsi:type="ButtonControl" Id="BtnBack">
<Position Left="5" Top="1" Width="15"/>
<Image><Name>Back</Name></Image>
<Help>Back</Help>
</Control>
<Control xsi:type="ButtonControl" Id="BtnForward">
<Position Left="20" Top="1" Width="15"/>
<Image><Name>Forward</Name></Image>
<Help>Forward</Help>
</Control>
<Control xsi:type="ButtonControl" Id="BtnStop">
<Position Left="35" Top="1" Width="15"/>
<Image><Name>Cross</Name></Image>
<Help>Stop</Help>
</Control>
<Control xsi:type="ButtonControl" Id="BtnRefresh">
<Position Left="50" Top="1" Width="15"/>
<Image><Name>Refresh</Name></Image>
<Help>Refresh</Help>
</Control>
<Control xsi:type="ButtonControl" Id="BtnHome">
<Position Left="65" Top="1" Width="15"/>
<Caption>H</Caption>
<Help>Home</Help>
</Control>
<Control xsi:type="ButtonControl" Id="BtnSearch">
<Position Left="80" Top="1" Width="15"/>
<Image><Name>Find</Name></Image>
<Help>Search</Help>
</Control>
<Control xsi:type="ButtonControl" Id="BtnGo">
<Position Left="102" Top="1" Width="30"/>
<Caption>&Go to:</Caption>
</Control>
<Control xsi:type="EditControl" Id="EdtAddress">
<Position Left="199" Top="3" Width="281">
<Anchor Horizontal="LeftRightFixed"/>
<Units>AllPixels</Units>
</Position>
<Attributes><IsDefault>true</IsDefault></Attributes>
<Help>Enter a web address or file path...</Help>
</Control>
<Control xsi:type="StaticControl" Id="TxtCurrentPage">
<Transparency>100</Transparency>
<Position Left="8" Top="30" Width="470">
<Anchor Horizontal="LeftRightFixed"/>
<Units>AllPixels</Units>
</Position>
<Caption>Current address:</Caption>
</Control>
<Control xsi:type="BrowserControl" Id="Browser">
<Position Left="8" Top="55" Width="470" Height="290">
<Anchor Horizontal="LeftRightFixed" Vertical="TopBottomFixed"/>
<Units>AllPixels</Units>
</Position>
</Control>
</Controls>
</Window>
<!-- Search Popup -->
<Window Id="WndSearch" Version="1">
<ChildTmpl/>
<Attributes>
<Caption>Plus! Browser: Search...</Caption>
</Attributes>
<TitleBar>
<AllowMinimize>false</AllowMinimize>
<Title>
<Prefix>Image</Prefix>
<Text>Plus! Browser: Search...</Text>
</Title>
</TitleBar>
<Position Width="400" Height="150">
<IsAbsolute>true</IsAbsolute>
</Position>
<DialogTmpl>
<BottomBar Style="Plain">
<RightControls>
<Control xsi:type="ButtonControl" Id="BtnSearchGoogle">
<Position Left="292" Top="2" Width="55"/>
<Image><Name>Find</Name></Image>
<Caption>&Google</Caption>
</Control>
<Control xsi:type="ButtonControl" Id="BtnSearchYahoo">
<Position Left="292" Top="2" Width="55"/>
<Image><Name>Find</Name></Image>
<Caption>&Yahoo</Caption>
</Control>
<Control xsi:type="ButtonControl" Id="BtnCancel">
<Position Left="292" Top="2" Width="55"/>
<Image> <Name>Cross</Name></Image>
<Caption>&Cancel</Caption>
</Control>
</RightControls>
</BottomBar>
</DialogTmpl>
<Controls>
<Control xsi:type="StaticControl" Id="InfoTxt">
<Position Left="8" Top="3" Width="370">
<Anchor Horizontal="LeftRightFixed"/>
<Units>AllPixels</Units>
</Position>
<Attributes>
<IsDefault>true</IsDefault>
</Attributes>
<Caption>Enter the text to search for, and click Search to open a results window.</Caption>
</Control>
<Control xsi:type="EditControl" Id="EdtSearch">
<Position Left="8" Top="23" Width="370">
<Anchor Horizontal="LeftRightFixed"/>
<Units>AllPixels</Units>
</Position>
<Attributes>
<IsDefault>true</IsDefault>
</Attributes>
<Help>Enter a search query...</Help>
</Control>
</Controls>
</Window>
|
|