
Saad
Members-
Posts
15 -
Joined
-
Last visited
Saad's Achievements

Seeker (1/7)
0
Reputation
-
Saad reacted to a post in a topic: RichEdit toggle wrap/unwrap - how?
-
I think I found the issue/resolution. In the Return line, surround $iSubIndex with a String function. Also, surround $iIndex with a String function as well. After the change, row 0 and col 0 are not editable unless included in the list. Func __ListViewEditInput_isCellEditable($hListview, $iIndex, $iSubIndex) If Not IsHWnd($hListView) Then $hListView = GUICtrlGetHandle($hListView) If MapExists($__ListViewEditInput_arListViews, $hListview) Then Local $pListViewData = $__ListViewEditInput_arListViews[$hListview] Return ($pListViewData.allCols Or _ArraySearch(StringSplit($pListViewData.cols, ",", 1+2), String($iSubIndex))>=0) And _ ($pListViewData.allRows Or _ArraySearch(StringSplit($pListViewData.rows, ",", 1+2), String($iIndex))>=0) EndIf return False EndFunc
-
Hello @Kanashius Thank you for your effort. I need to only edit the third column. So, I used your example and made the below change. I'm still able edit column zero. Thoughts? ;__ListViewEditInput_ListViewAdd($hGui, $iListView, "0,1,2") __ListViewEditInput_ListViewAdd($hGui, $iListView, "2")
-
Saving multiple large files in arrays
Saad replied to Saad's topic in AutoIt General Help and Support
@orbs Thank you so much for your recommendations/suggestions. @junkew Thank you so much for your recommendations/suggestions. This looks promising. I'll give this a try in the couple of weeks and let you know the outcome. I got assigned to another project with a higher priority. Thanks again and have a great holiday. -
Saad reacted to a post in a topic: Saving multiple large files in arrays
-
Saad reacted to a post in a topic: Saving multiple large files in arrays
-
Saving multiple large files in arrays
Saad replied to Saad's topic in AutoIt General Help and Support
@orbs Thank you so much for the valuable information. I have no issues parsing, reading, displaying the data in treeview or listview. You are correct with describing the user interface. It is a simple GUI with one treeview and one listview. When the user selects a treeview node, corresponds to the first five fields, the gui should present the user with records/lines for the chosen treeview node. *** I was told a file can have up to 500,000 lines but typically the file will have 2,000 to 5,000 lines and that what I will work with for now. Also, for now I'd like not use SQLite because MS SQL will be used in the feature. *** Does it make sense to create an array for each file? if yes, any suggestion on how to create dynamic arrays and keep track of them? -
Saad reacted to a post in a topic: Database (sqlite) examples with GUI?
-
Saad reacted to a post in a topic: How To Traverse XML file
-
Saving multiple large files in arrays
Saad replied to Saad's topic in AutoIt General Help and Support
Thanks for the info. I have no issues parsing, reading, displaying the data. My question is: Using one array to hold millions of rows introduced a long delay when searching the array, display or manipulating the listview. I thought about using multiple arrays, one for each source but don't know how to create these arrays. Thoughts? -
Good day everyone. I receive multiple large tab separated files. The only thing is shared among these files are the names of the first five fields ("Country" "Profile" "Region" "Service" "Source"). The content of these files are unknown. I attached a sample data file with sample data, In real life, each file will have one Source. The file content could reach 500,00 lines. So, for one country with 2 profile, 2 regions, 2 services, and 2 sources, I could have 16 files with a total of 8 million lines. I need to present the first five fields in a treeview. I also need to present the whole file in a listview based on the select field in the treeview. Using one array to hold millions of rows introduced a long delay when display or manipulating the listview. I thought about using multiple arrays, one for each source but don't know how to create these arrays. Thoughts? Services.txt
-
Saad reacted to a post in a topic: Active Directory UDF - Help & Support (III)
-
Active Directory UDF - Help & Support (III)
Saad replied to water's topic in AutoIt General Help and Support
Hello everyone, The return of _AD_GetAllOUs($sOU, "\", 2) is missing the below OUs. Builtin LostAndFound Microsoft Exchange System Objects #include <AD.au3> _AD_Open() If @error Then MsgBox(0, @error, @extended) Else Local $aOUs = _AD_GetAllOUs("", "\", 2) _AD_Close() _ArrayDisplay($aOUs) EndIf Thoughts?- 875 replies
-
- active directory
- ad
-
(and 2 more)
Tagged with:
-
@Danyfirex Nice, thank you. All, thank you so much for your input.
-
I'm writing an application where I'd like to add a tooltip to a GUI Menu control. In the below code, I'd like to display $sBookmarkTT when I hover over $idBookmark1 "Bookmark1". #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 625, 442, 370, 232) $idFile = GUICtrlCreateMenu("&File") $idFileExit = GUICtrlCreateMenuItem("&Exit", $idFile) $idBookmarks = GUICtrlCreateMenu("&Bookmarks") $idBookmark1 = GUICtrlCreateMenuItem("Bookmark1", $idBookmarks) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### $sBookmarkTT = "This is a tooltip for bookmark1" While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Thanks.
-
I know it is an old thread. Hopefully someone will help with answering my quesion. How can I handle hitting the enter key, to end editing, while editing a cell in the middle of a row? Thanks.
-
How to read control hint when created in Koda
Saad replied to Saad's topic in AutoIt General Help and Support
Thank you. -
How to read control hint when created in Koda
Saad replied to Saad's topic in AutoIt General Help and Support
If I'm not mistaken, _GUIToolTip_GetText retrieves what _GUICtrlSetTip sets but not GUICtrlSetTip sets. -
How to read control hint when created in Koda
Saad replied to Saad's topic in AutoIt General Help and Support
_GUIToolTip_GetText does not retrieve what GUICtrlSetTip sets. It is a matter of preference and I'm not debating the issue. I know how to set the controls in the code without Koda and keep track of what has been set. To me, using Koda to set the GUI is easier and more "set it and forget it". -
How to read control hint when created in Koda
Saad replied to Saad's topic in AutoIt General Help and Support
Thank you all. Yes, unfortunately, GuiCtrlGetTip() does not exist but GUICtrlSetTip exist. I was hoping for a more straight simple solution that allows me to use Koda and not set the Hint/Tip through the code. Have a nice holiday and happy new year (2018). -
How to read control hint when created in Koda
Saad posted a topic in AutoIt General Help and Support
I used Koda 1.7.2.0 to create a script GUI. I set the control Hint. While the script is running, I need to read some or all controls "Hint ". I could not find a function to accomplish that. Here is some of the code created by Koda: ... ... $chkOptions7 = GUICtrlCreateCheckbox("EA Field.", 88, 312, 425, 17) GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif") GUICtrlSetTip(-1, "/EA") ... ... The Hint value of chkOptions7 is "/EA". How can I read the Hint value of $chkOptions7 field?