Zedna Posted September 4, 2008 Posted September 4, 2008 (edited) Access violation at address 00403B66 in module 'FD.EXE'. Read of address FFFFFFFFException Address: 00403B66Information about Source of ExceptionUnit: SystemMethod: TObject.InheritsFromLine: 0How to invoke this error:- place toolbar on the form- place imagelist on the form- set imagelist to toolbar- delete toolbar (or imagelist) Edited September 4, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
Zedna Posted September 4, 2008 Posted September 4, 2008 (edited) 1) When you add button to toolbar from popupmenu invoked in Object TreeView then new button doesn't appear inside Object TreeView (missing refresh of Object TreeView). 2) When you Copy ToolBarButton then you - can't paste it on the toolbar (disabled command in popup menu) - can paste it on the form --> but this leads to bad situation/generated code 3) you can place more than one toolbar on the form but generated code (at runtime) shows only one Edited September 4, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
Zedna Posted September 4, 2008 Posted September 4, 2008 ImageList:- when I set-up ImageHeight/ImageWidtg property to too big number then after I select some EXE in imafelist editor AV occurs: Invalid image sizeException Address: 00496512Information about Source of ExceptionUnit: ImgListMethod: TCustomImageList.CheckImageLine: 0 Resources UDF ResourcesEx UDF AutoIt Forum Search
Zedna Posted September 4, 2008 Posted September 4, 2008 ImageList editor: - when you add library (for example fd.exe) and then delete some icon then when changing image index at icons at positions after deleted one icon/image is changed at BAD row (image is changing at row above current selected row). Resources UDF ResourcesEx UDF AutoIt Forum Search
Zedna Posted September 4, 2008 Posted September 4, 2008 ToolBar: - you have code to avoid resize of toolbar in design mode but it's not 100% bullet proof, try this: - place toolbar on the form - make toolbar button - pres Ctrl+A - now resize all with Shift+Down Resources UDF ResourcesEx UDF AutoIt Forum Search
Zedna Posted September 4, 2008 Posted September 4, 2008 (edited) ToolBar:- make toolbar with button- from popupmenu on tollbar button invoke "Tab Order"Invalid class typecastException Address: 0056F222Information about Source of ExceptionUnit: DesignerMainUnitMethod: TDesignerMain.actTabOrderExecuteLine: 2389EDIT:The same error occurs when you invoke "Tab Order" command from popupmenu invoked on MainMenu or PopupMenu control Edited September 4, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
Zedna Posted September 4, 2008 Posted September 4, 2008 ToolbarButton: - Hint property doesn't generate any AU3 code Resources UDF ResourcesEx UDF AutoIt Forum Search
Zedna Posted September 4, 2008 Posted September 4, 2008 Idea for improving: For ImageList control make the same doubleclick functionality as for menu control --> menu control on doubleclick invoke menu designer so on doubleclick on ImageList control invoke ImageList Editor Resources UDF ResourcesEx UDF AutoIt Forum Search
Zedna Posted September 4, 2008 Posted September 4, 2008 ToolBar control has no icon in "Tab Order Editor" Resources UDF ResourcesEx UDF AutoIt Forum Search
Lazycat Posted September 5, 2008 Author Posted September 5, 2008 2) When you Copy ToolBarButton then you - can't paste it on the toolbar (disabled command in popup menu)- can paste it on the form --> but this leads to bad situation/generated code3) you can place more than one toolbar on the form but generated code (at runtime) shows only one2. I added ability to paste to toolbar. The problem that Koda not check actual clipboard content (only it's type) and no way to know what will be pasted. So now toolbuttons can be pasted on form and any control can be pasted on toolbar. That why was decided not allow copy/paste menus substitutes. So far I have no solution without parsing clipboard content.3. I see both toolbars generated. But they are visually overlap. It's in principle ok to have multiple toolbars on one form? I'm not found in UDF functions for positioning toolbars.ImageList:- when I set-up ImageHeight/ImageWidtg property to too big number then after I select some EXE in imafelist editor AV occurs:Yes, it is. Looks like problem here, that now icons loading with ExtractIconEx function, which is rely on system metrics. From other side in ImageList possible to add only images exactly the same size as ImageList have. So, when SM_CXICON and SM_CYICON in system are 32, function can not extract 48x48 icons that required for ImageList. Looks like the whole method of getting images need to rewrite.ToolBar:- you have code to avoid resize of toolbar in design mode but it's not 100% bullet proof, try this:No any special code here, this is the way Delphi handle it.EDIT:The same error occurs when you invoke "Tab Order" command from popupmenu invoked on MainMenu or PopupMenu controlI have not this error.ToolbarButton:- Hint property doesn't generate any AU3 codeAll properties that have no effect in result code will be removed, this one too.Idea for improving:For ImageList control make the same doubleclick functionality as for menu controlAdded in TODO.All other not mentioned bugs are fixed. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
Zedna Posted September 5, 2008 Posted September 5, 2008 (edited) ToolBar:- make toolbar with button- from popupmenu on tollbar button invoke "Tab Order"EDIT:The same error occurs when you invoke "Tab Order" command from popupmenu invoked on MainMenu or PopupMenu controlEasiest way to invoke error:- place main menu on the empty form- invoke popup menu (for this mainmenu control)- run "Tab Order" command (or press Ctrl+T when mainmenu control is selected)The same apply also for popumenu,imagelist Edited September 5, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
Lazycat Posted September 5, 2008 Author Posted September 5, 2008 (edited) Easiest way to invoke error:- place main menu on the empty form- invoke popup menu (for this mainmenu control)- run "Tab Order" command or press Ctrl+TThe same apply also for popumenu,imagelistStill no error. I got just empty dialog, as expected.Edit: I added condition that in theory can affect this problem, but this is blind change, not sure it will have effect. Edited September 5, 2008 by Lazycat Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
Zedna Posted September 5, 2008 Posted September 5, 2008 3. I see both toolbars generated. But they are visually overlap. It's in principle ok to have multiple toolbars on one form? I'm not found in UDF functions for positioning toolbars.I think two toolbars at the same time are not supported by AutoIt/UDF for now - but I'm not sure.Maybe you are right they are both just overlapped. Resources UDF ResourcesEx UDF AutoIt Forum Search
Zedna Posted September 5, 2008 Posted September 5, 2008 Still no error. I got just empty dialog, as expected.Easiest way to invoke error:- place main menu on the empty form- select this mainmenu control- press Ctrl+T (when mainmenu control is selected)I have this error all the time on WIN98SE and also on WINXP. Resources UDF ResourcesEx UDF AutoIt Forum Search
Lazycat Posted September 5, 2008 Author Posted September 5, 2008 Well, at least line number targets to same place where I made change. Please try this version:http://koda.darkhost.ru/koda_test.rar Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
Zedna Posted September 5, 2008 Posted September 5, 2008 Well, at least line number targets to same place where I made change. Please try this version:http://koda.darkhost.ru/koda_test.rarYes. This version is OK. Empty Tab Order dialog is opened with no error. Resources UDF ResourcesEx UDF AutoIt Forum Search
Zedna Posted September 5, 2008 Posted September 5, 2008 I will be offline for a week so further testing later ... Resources UDF ResourcesEx UDF AutoIt Forum Search
Lazycat Posted September 24, 2008 Author Posted September 24, 2008 New beta is out. Here is fully rewritten method of retreiving icons (hi-color is supported), ImageList dialog rewritten as well. Format of ImageList saving changed too.http://www.autoitscript.com/fileman/users/lookfar/koda_2008-09-24.zipThe some problem here. _GUIImageList_AddIcon UDF function still retreive icons with ExtractIconEx function, while Koda now is allow using icons of any size and for imagelists and not operate with "small" and "large" icons, but their actual size, and try to use icon with size most suitable for given imagelist. _GUIImageList_AddIcon limited to adding only "small" and "large" icons, that rely on system metrics. So, for example, under XP for you can't to add actual 48x48 icons in the 48x48 imagelist with this function. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
martin Posted September 24, 2008 Posted September 24, 2008 (edited) New beta is out. Here is fully rewritten method of retreiving icons (hi-color is supported), ImageList dialog rewritten as well. Format of ImageList saving changed too.http://www.autoitscript.com/fileman/users/lookfar/koda_2008-09-24.zipThe some problem here. _GUIImageList_AddIcon UDF function still retreive icons with ExtractIconEx function, while Koda now is allow using icons of any size and for imagelists and not operate with "small" and "large" icons, but their actual size, and try to use icon with size most suitable for given imagelist. _GUIImageList_AddIcon limited to adding only "small" and "large" icons, that rely on system metrics. So, for example, under XP for you can't to add actual 48x48 icons in the 48x48 imagelist with this function.Thank you Lazycat. I can now set the size of icons correctlly >_< I loaded a design and the form name was changed from Form1 to Form1_1 and I couldn't changed the name back. Then I realised that there was another form alreday called Form1 underneath. Maybe you should give an option to not load another form with a duplicate name? But it's a small point.I'm very happy with Koda, thanks again.EDIT: Oh, and F10 now brings up explorer opened at the folder containg Koda. Edited September 25, 2008 by martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
damian666 Posted September 24, 2008 Posted September 24, 2008 oh woow >_< a nice new toy to play with thanx man damian666 and proud of it!!!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now