TextFormatting Codes = BackPen

Discuss GUI programming with the MUI Royale plugin here

Re: TextFormatting Codes = BackPen

Postby djrikki » Sat Jan 23, 2016 12:29 pm

Thanks, even better when finished. =)

https://www.facebook.com/evolveforamigaos/

(Andreas go back a page, thanks.)
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
djrikki
 
Posts: 645
Joined: Wed Apr 06, 2011 12:26 am

Re: TextFormatting Codes = BackPen

Postby airsoftsoftwair » Tue Jan 26, 2016 8:16 pm

@djrikki: Please post a complete very short sample code (XML + HWS) which freezes MUI. Then I can check whether it's MUI Royale or MUI's fault.
User avatar
airsoftsoftwair
 
Posts: 2098
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Re: TextFormatting Codes = BackPen

Postby djrikki » Sun Oct 30, 2016 5:54 pm

If you try applying the following to a Floattext object during run-time it will freeze:

Oh this will be useful too.. modify as necessary

Code: Select all
debugprint("\27B\27p[99B6D9]\27P[FFFFFF]" .. PadNum(l+1,4) .. "\27P[000000]\27F\t " .. textfile[l]) ; .. IIf(l <> count-1,"\n",""))   
[code]

[code]
[99B6D9][FFFFFF]0001[000000]    <?xml version="1.0" encoding="iso-8859-1"?>
[99B6D9][FFFFFF]0002[000000]    <APPLICATION Base="ApplicationName" ID="application" SingleTask="True"  icon="SYS:Prefs/Env-Archive/Sys/def_mui">
[99B6D9][FFFFFF]0003[000000]       <MENUSTRIP Id="MENU0">
[99B6D9][FFFFFF]0004[000000]          <MENU Id="default-menu" Title="Application Name">
[99B6D9][FFFFFF]0005[000000]             <Item Id="default-menu-title" Shortcut="?" Notify="selected">About Application Name...</Item>
[99B6D9][FFFFFF]0006[000000]             <Item Id="default-menu-aboutmui" Notify="selected">About MUI...</Item>
[99B6D9][FFFFFF]0007[000000]             <Item Id="default-menu-aboutmuiroyale" Shortcut="R" Notify="selected"> About MUI Royale...</Item>
[99B6D9][FFFFFF]0008[000000]             <Item Id="default-menu-bar0"/>
[99B6D9][FFFFFF]0009[000000]             <MENU Id="default-menu-further" Title="Application Name">
[99B6D9][FFFFFF]0010[000000]                <Item id="default-menu-twitter" Shortcut="T" Notify="selected" Userdata="http://www.twitter.com/youraccount">Follow on Twitter</Item>
[99B6D9][FFFFFF]0011[000000]                <Item id="default-menu-facebook" Shortcut="F" Notify="selected" Userdata="https://www.facebook.com/yourpage">Like us on Facebook</Item>
[99B6D9][FFFFFF]0012[000000]                <Item id="default-menu-bugreport" Shortcut="B" Notify="selected" Userdata="http://bugs.os4depot.net/">Submit a Bug Report</Item>
[99B6D9][FFFFFF]0013[000000]                <Item id="default-menu-website" Shortcut="S" Notify="selected" Userdata="http://">Visit website</Item>
[99B6D9][FFFFFF]0014[000000]                <Item id="default-menu-email" Shortcut="E" Notify="selected" Userdata="info@example.com">Send an Email</Item>
[99B6D9][FFFFFF]0015[000000]             <Item Id="default-menu-bar1"/>
[99B6D9][FFFFFF]0016[000000]             <item id="default-menu-help" Shortcut="H" Notify="selected">Help</Item>
[99B6D9][FFFFFF]0017[000000]             </MENU>
[99B6D9][FFFFFF]0018[000000]             <Item Id="default-menu-bar2"/>
[99B6D9][FFFFFF]0019[000000]             <Item Id="default-menu-muisettings" Notify="selected">MUI Settings...</Item>
[99B6D9][FFFFFF]0020[000000]             <Item Id="default-menu-iconify" Shortcut="I" Notify="selected">Iconify</Item>
[99B6D9][FFFFFF]0021[000000]             <Item id="application-quit" Shortcut="Q" Notify="selected">Quit...</Item>
[99B6D9][FFFFFF]0022[000000]          </MENU>
[99B6D9][FFFFFF]0023[000000]       </MENUSTRIP>
[99B6D9][FFFFFF]0024[000000]       <MENUSTRIP Id="MENU1">
[99B6D9][FFFFFF]0025[000000]          <MENU Id="default-docky-menu" Title="Application Name">
[99B6D9][FFFFFF]0026[000000]             <Item Id="default-docky-about" Notify="selected">About...</Item>
[99B6D9][FFFFFF]0027[000000]             <Item Id="default-docky-quit" Notify="selected">Quit</Item>
[99B6D9][FFFFFF]0028[000000]          </MENU>
[99B6D9][FFFFFF]0029[000000]       </MENUSTRIP>
[99B6D9][FFFFFF]0030[000000]       <MENUSTRIP id="MENU2">
[99B6D9][FFFFFF]0031[000000]          <MENU Id="default-ccp" Title="Text Options">
[99B6D9][FFFFFF]0032[000000]             <Item ID="default-cut" Shortcut="X" Notify="selected">[997] Cut</Item>
[99B6D9][FFFFFF]0033[000000]             <Item ID="default-copy" Shortcut="C" Notify="selected">[998] Copy</Item>
[99B6D9][FFFFFF]0034[000000]             <Item ID="default-paste" Shortcut="V" Notify="selected">[999] Paste</Item>
[99B6D9][FFFFFF]0035[000000]          </MENU>
[99B6D9][FFFFFF]0036[000000]       </MENUSTRIP>
[99B6D9][FFFFFF]0037[000000]       <MENUSTRIP id="MENU3">
[99B6D9][FFFFFF]0038[000000]          <MENU Id="default-ccptexted" Title="Text Options">
[99B6D9][FFFFFF]0039[000000]             <Item ID="default-undo" Shortcut="U" Notify="selected">[994] Undo</Item>
[99B6D9][FFFFFF]0040[000000]             <Item ID="default-redo" Shortcut="R" Notify="selected">[993] Redo</Item>
[99B6D9][FFFFFF]0041[000000]             <Item Id="default-menu-bar3"/>
[99B6D9][FFFFFF]0042[000000]             <Item ID="default-markall" Shortcut="M" Notify="selected">[960] Mark All</Item>
[99B6D9][FFFFFF]0043[000000]             <Item ID="default-marknone" Shortcut="N" Notify="selected">[959] Mark None</Item>
[99B6D9][FFFFFF]0044[000000]             <Item Id="default-menu-bar4"/>
[99B6D9][FFFFFF]0045[000000]             <Item ID="default-cut_texted" Shortcut="X" Notify="selected">[997] Cut</Item>
[99B6D9][FFFFFF]0046[000000]             <Item ID="default-copy_texted" Shortcut="C" Notify="selected">[998] Copy</Item>
[99B6D9][FFFFFF]0047[000000]             <Item ID="default-paste_texted" Shortcut="V" Notify="selected">[999] Paste</Item>
[99B6D9][FFFFFF]0048[000000]          </MENU>
[99B6D9][FFFFFF]0049[000000]       </MENUSTRIP>
[99B6D9][FFFFFF]0050[000000]   
[99B6D9][FFFFFF]0051[000000]       <WINDOW ID="SPSH"  MuiID="SPSH" Width="Default:30" Height="Default:20" Notify="Activate;CloseRequest" open="true" Title="Default Splash Window" Borderless="false" CloseGadget="false" DepthGadget="false"  SizeGadget="false"  AppWindow="false" NeedsMouseObject="False" >
[99B6D9][FFFFFF]0052[000000]          <VGROUP ID="windowtree-825" Frame="" FrameTitle="" Background="Groupback">
[99B6D9][FFFFFF]0053[000000]             <IMAGE ID="windowtree-779" HelpNode="image-node"  Weight="100"  Hide="false"  Source="brush:100" />
[99B6D9][FFFFFF]0054[000000]             <RECTANGLE ID="windowtree-685"/>
[99B6D9][FFFFFF]0055[000000]             <TEXT ID="windowtree-540" Hide="false"  HiChar="t"  Preparse="" >copyright message</TEXT>
[99B6D9][FFFFFF]0056[000000]             <RECTANGLE ID="windowtree-360"/>
[99B6D9][FFFFFF]0057[000000]             <GAUGE ID="windowtree-668" HelpNode="gauge-node"  Weight="100"  ControlChar="p"  Hide="false"  Notify="Current" Horiz="false"  Current="75"  Max="100"  InfoText="Startup %ld %% completed..." />
[99B6D9][FFFFFF]0058[000000]             <SCALE/>
[99B6D9][FFFFFF]0059[000000]          </VGROUP> ; windowtree-825
[99B6D9][FFFFFF]0060[000000]       </WINDOW>
[99B6D9][FFFFFF]0061[000000]   
[99B6D9][FFFFFF]0062[000000]    </APPLICATION>
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
djrikki
 
Posts: 645
Joined: Wed Apr 06, 2011 12:26 am

Re: TextFormatting Codes = BackPen

Postby airsoftsoftwair » Wed Nov 02, 2016 5:41 pm

I don't understand. What exactly should I apply to Floattext to make it freeze? The XML code you posted? What about the DebugPrint() call in your post? Please provide a better description of what I have to do to reproduce the freeze.
User avatar
airsoftsoftwair
 
Posts: 2098
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Previous

Return to MUI Royale

Who is online

Users browsing this forum: No registered users and 2 guests

cron