{"id":1283,"date":"2017-03-28T07:21:35","date_gmt":"2017-03-28T12:21:35","guid":{"rendered":"http:\/\/www.amibroker.com\/devlog\/?p=1283"},"modified":"2017-03-28T09:14:30","modified_gmt":"2017-03-28T14:14:30","slug":"amibroker-6-21-0-beta-released","status":"publish","type":"post","link":"http:\/\/www.amibroker.com\/wordpress\/devlog\/2017\/03\/28\/amibroker-6-21-0-beta-released\/","title":{"rendered":"AmiBroker 6.21.0 BETA released"},"content":{"rendered":"

Stability: \"Rank - regular BETA should work fine in most environments<\/em><\/p>\n

This is a BETA version. Make a backup first<\/strong><\/font><\/p>\n

A new beta version (6.21.0) of AmiBroker, with preliminary native chart GUI support has just been released.<\/p>\n

32-bit<\/strong> version:
\nhttp:\/\/www.amibroker.com\/members\/bin\/ab6210beta.exe<\/a>
\n(2 254 240 bytes) <\/p>\n

64-bit<\/strong> version:
\n
http:\/\/www.amibroker.com\/members\/bin\/AmiBroker6210x64.exe<\/a>
\n(10 590 392 bytes) <\/p>\n

If you can not log in into members' area please get your new password by filling the form at: http:\/\/www.amibroker.com\/login.html<\/a><\/font><\/p>\n

IMPORTANT: Unauthorized copying and\/or distribution of materials found on members' only page is STRICTLY PROHIBITED and will result in IMMEDIATE termination of license.<\/font><\/p>\n

UPGRADE POLICY<\/strong>
\nThis version is a free upgrade only for users who registered AmiBroker after March 28, 2015<\/strong>. Users who registered earlier, would need to purchase license upgrade. To find out the version you currently have use Account Information page at
http:\/\/www.amibroker.com\/members\/info.php<\/a><\/p>\n

Remember to BACKUP YOUR FILES FIRST !
\nNote that this version can only be installed onto previous full installation of version 6.20 or higher from
http:\/\/www.amibroker.com\/download.html<\/a><\/strong><\/p>\n

FEATURE HIGHLIGHT<\/strong>
\nThis version features preliminary support for native chart GUI (buttons and edits at the moment). Please be reasonable with Gui* functions and be aware of Windows limits. As all controls in Windows (buttons, edit boxes, etc) are actual Window objects they are subject to Windows limitation. And there is a limit of 10000 windows PER PROCESS. So don't try to create thousands of buttons (like a button for every bar of data) because first you will see huge performance decrease and next you will hit the limit and run into problems (crash), see
https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/20070718-00\/?p=25963<\/a>.<\/p>\n

Best practice is to keep the number under 100-200. If you need more consider using low-level graphics instead.<\/p>\n

For more details, instructions and examples how to use new features see the 6.21.0 BETA READ ME<\/a><\/p>\n

Here is a sample formula that shows basic usage of Gui* functions:<\/p>\n

GuiButton<\/span>( <\/span>"Custom button"<\/span>, <\/span>1<\/span>, <\/span>10<\/span>, <\/span>40<\/span>, <\/span>100<\/span>, <\/span>30<\/span>, <\/span>7 <\/span>);\r
<\/span>GuiButton<\/span>( <\/span>"Dynamic "<\/span>+<\/span>Date<\/span>(), <\/span>2<\/span>, <\/span>120<\/span>, <\/span>40<\/span>, <\/span>150<\/span>, <\/span>30<\/span>, <\/span>7 <\/span>);\r
<\/span>GuiButton<\/span>( <\/span>"System button"<\/span>, <\/span>3<\/span>, <\/span>320<\/span>, <\/span>40<\/span>, <\/span>100<\/span>, <\/span>30<\/span>, <\/span>7 <\/span>);\r
<\/span>GuiEdit<\/span>( <\/span>5<\/span>, <\/span>450<\/span>, <\/span>40<\/span>, <\/span>100<\/span>, <\/span>20<\/span>, <\/span>31 <\/span>);\r
\r
<\/span>GuiSetColors<\/span>( <\/span>1<\/span>, <\/span>3<\/span>, <\/span>2<\/span>, <\/span>colorRed<\/span>, <\/span>colorBlack<\/span>, <\/span>colorRed<\/span>, <\/span>colorWhite<\/span>, <\/span>colorBlue<\/span>, <\/span>colorYellow<\/span>, \r
<\/span>colorRed<\/span>, <\/span>colorBlack<\/span>, <\/span>colorYellow <\/span>);\r
\r
<\/span>GuiSetColors<\/span>( <\/span>3<\/span>, <\/span>3<\/span>, <\/span>0 <\/span>); <\/span>\/\/ default (system) look\r
\r
<\/span>editText <\/span>= <\/span>GuiGetText<\/span>( <\/span>5 <\/span>);\r
\r
<\/span>Title <\/span>= <\/span>"Text entered: " <\/span>+ <\/span>editText <\/span>+ <\/span>"\\nLast event: " <\/span>+ <\/span>GuiGetEvent<\/span>( <\/span>0<\/span>, <\/span>2 <\/span>);\r
\r
<\/span>id <\/span>= <\/span>GuiGetEvent<\/span>( <\/span>0<\/span>, <\/span>0 <\/span>);\r
<\/span>event <\/span>= <\/span>GuiGetEvent<\/span>( <\/span>0<\/span>, <\/span>1 <\/span>);\r
\r
if( <\/span>id <\/span>== <\/span>3 <\/span>&& <\/span>event <\/span>== <\/span>1 <\/span>) <\/span>GuiSetText<\/span>(<\/span>"Button clicked"<\/span>,<\/span>5<\/span>);<\/code><\/pre>\n

CHANGES FOR VERSION 6.21.0<\/strong> (as compared to 6.20.1)<\/p>\n

    \n
  1. AFL: decreased memory fragmentation when user changes type of variable from array to scalar and back thousands of times\n
  2. AFL: GuiButton( \"Text\", id, x, y, width , height , notifyflags ) - creates a button\n
  3. AFL: GuiEdit( id, x, y, width, height, notifyflags ); - creates an edit field\n
  4. AFL: GuiGetEvent( num, what = 0 )\n
  5. AFL: GuiGetText( id ) - get text from control\n
  6. AFL: GuiSetColors( idFrom, idTo, border , clrText = -1, clrBack = -1, clrBorder = -1, clrSelText = -1, clrSelBack = -1, clrSelBorder = -1, clrHoverText = -1, clrHoverBack = -1, clrHoverBorder = -1, clrDisText = -1, clrDisBack = -1, clrDisBorder = -1\n
  7. AFL: GuiSetText( \"text\", id ) - set text of the control\n
  8. AFL: RequestMouseMoveRefresh() - request formula execution \/ refresh when mouse is moved INSIDE given chart pane (so it only triggers for ONE window under the cursor)\n
  9. If Quote.exe is missing and AmiBroker can't do auto-update of quotes, a detailed information is displayed of where it expects Quote.exe file to be present\n
  10. Plugin loading changed: first AmiBroker attempts to load plugins for \"Plugins\" subfolder from where Broker.EXE file is located (new behavior) and if subfolder is NOT found, it then defaults to old behavior (using \"Plugins\" subfolder under current working\n<\/ol>\n

    KNOWN ISSUES:<\/strong><\/p>\n

      \n
    1. None\n<\/ol>\n

      For more details, instructions and examples how to use new features see the 6.21.0 BETA READ ME<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

      Stability: – regular BETA should work fine in most environments This is a BETA version. Make a backup first A new beta version (6.21.0) of AmiBroker, with preliminary native chart GUI support has just been released. 32-bit version: http:\/\/www.amibroker.com\/members\/bin\/ab6210beta.exe (2 254 240 bytes) 64-bit version: http:\/\/www.amibroker.com\/members\/bin\/AmiBroker6210x64.exe (10 590 392 bytes) If you can not log […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10,9],"tags":[],"_links":{"self":[{"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/posts\/1283"}],"collection":[{"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/comments?post=1283"}],"version-history":[{"count":0,"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/posts\/1283\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/media?parent=1283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/categories?post=1283"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.amibroker.com\/wordpress\/devlog\/wp-json\/wp\/v2\/tags?post=1283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}