Jump to content

Melba23

Moderators
  • Posts

    31,272
  • Joined

  • Days Won

    313

Melba23 last won the day on May 14 2025

Melba23 had the most liked content!

About Melba23

Profile Information

  • Member Title
    I'm old, what's your excuse?
  • Location
    Where never lark or even eagle flew

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Melba23's Achievements

  1. Resiak1811, It will take a while before my treatment is over, but I am not permanently incommunicado. 1) If you have used GLVEx_Close then the UDF no longer recognises the ListView and further GVLEx_ functions will not work. So you need to use the "classic" UDF to action it. 2) Try the following small change in the GLVEx_EditProcess function: ; Line 5202 reads: If $sItemNewText <> $sItemOrgText Then ; Change it to read: If Not($sItemNewText == $sItemOrgText) That should force a case-sensitive comparison. M23
  2. Resiak1811, Sorry for the delay in replying - I am having to deal with some serious medical issues at the moment and AutoIt is coming a very poor second to my family when I get any free time. In answer to your query: You do NOT need that line to change the cell contents - the edit takes place within the UDF and the array you access via the _EventMonitor function shows both the original and new contents of the edited cell ($before and $after in your code). However, if you subsequently change the "new" value then you definitely WILL need to use the _ChangeItem function to tell the UDF that the value has changed or it will all end in tears very quickly. Does that answer your question? M23
  3. Resiak1811, If you look at the function headers inside the GUIListViewEx.au3 file you will see that each and every function has an exhaustive list of return values for success and failure cases. And from the returns listed in the header for the EventMonitor function: ; Failure: Sets @error as follows when editing: ; 1 - Invalid EditMode parameter ; 2 - Empty ListView ; 3 - Column not editable So such an error is exactly what I would expect to see. Please post again if anything is not clear. M23
  4. Norm73, It is true that you do not need the _EventMonitor function for the scrollbars to work - but if you look at the function definition inside the UDF you will see: _GUIScrollbars_EventMonitor: Save and restores scrollbar positions on GUI minimize/restore So move the scrollbars and then minimize/restore the GUI. If you have the function in your idle loop with a sensible Sleep the scrollbars will be restored to the position they had before - if not, then they revert to the original top/left position. M23
  5. Norm73, Just run the _GUIScrollbars_EventMonitor function in your idle loop - like this OnEvent version of the _Example_2 script: #include <GUIConstantsEx.au3> #include "GUIScrollbars_Ex.au3" Opt("GUIOnEventMode", 1) ; Change to OnEvent mode ; Create GUI with red background $hGUI = GUICreate("Test", 500, 500) GUISetBkColor(0xFF0000, $hGUI) ; To get cursor keys to scroll GUI, create controls AFTER GUISetState GUISetState() ; Create labels to show scrolling GUICtrlCreateLabel("", 0, 0, 500, 500) GUICtrlSetBkColor(-1, 0x00FF00) GUICtrlCreateLabel("", 500, 500, 500, 500) GUICtrlSetBkColor(-1, 0x00FF00) GUICtrlCreateLabel("", 0, 500, 500, 500) GUICtrlSetBkColor(-1, 0x0000FF) GUICtrlCreateLabel("", 500, 0, 500, 500) GUICtrlSetBkColor(-1, 0x0000FF) GUICtrlCreateLabel("", 990, 990, 10, 10) GUICtrlSetBkColor(-1, 0) ; Generate scrollbars - Yes, this is all you need to do!!!!!!! _GUIScrollbars_Generate($hGUI, 1000, 1000) GUISetOnEvent($GUI_EVENT_CLOSE, "_On_Exit") While 1 _GUIScrollbars_EventMonitor() Sleep(10) WEnd Func _On_Exit() Exit EndFunc All clear? M23
  6. Moved to the appropriate forum. Moderation Team
  7. WildByDesign, You could well be right - I will look into it. M23
  8. WildByDesign, Does this do what you want? Fixed Top Zone.au3 Basically it creates a single frameset 100 pixels down. M23
  9. WildByDesign, Rainy day forecast tomorrow - something to keep me occupied! M23
  10. WildByDesign, pixelsearch, I think this new Beta incorporates all of your detective work: GUIFrame_WBD_Mod.au3 Please test it to death. WildByDesign, Could you please post the code that got your ListViews working correctly - I would like to add an example to the UDF showing how it can be done. M23
  11. WildByDesign, Try this Beta version - there is an added $fListView parameter in _GUIFrame_Create to NOT use the WS_EX_COMPOSITED style when set: M23
  12. WildByDesign, Sounds possible - I will take a look over the next few days to see how it could be done. M23
  13. WildByDesign, Thanks for the compliments - and may I return them for the changes to the code which remove the flicker. If you are content I will release a new version including the COMPOSITED extended style and credit you with the addition. M23
  14. arlinamid, Please read the forum rules before you post again. As the image only shows a partial script, I see no need to do more than that. M23
  15. WildByDesign, Have you tried using the "Expand tabs" option within the $iStyle parameter of _ExtMsgBoxSet ? ; Parameters ....: $iStyle -> 0 (Default) - Taskbar Button, TOPMOST, button in user font, no tab expansion, [...] ; 8 = Expand Tabs to ensure adequate sizing of GUI That will auto-expand a @TAB into "XXXXXXXX", do the size calcultions and then reset the @TAB. M23
×
×
  • Create New...