Re: Edit In Place Listview (multi-column), Combination of old script,
"valery_vi" <[email protected]>
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have some update of original script to make it more easy for CPU. It uses _IsKeyPressed($Key) instead of __IsPressedMod(). Look for file LvMultiEdit.zip in folder Files/Misc/ of this group. Enjoy, Valery --- In [email protected], "valery_vi" <shehrer1@...> wrote: > > MSCreator wrote: > " > *When it's monitoring, the usage of CPU is growing (10 - 20) > " > > You can change time delay in func _MonitorEditState() > ie > Sleep(100) > > Valery > > --- In [email protected], "valery_vi" <shehrer1@> wrote: > > > > MSCreator wrote: > > " > > *It would be more great if the "applying process" will happend also > > after i clicked in some diferend place (not inside the edit), that > > the changes will be seen not just after pressing Enter. > > " > > > > You can replace content of func ListView_Click() > > > > to following: > > > > Func ListView_Click() > > sleep(50) > > If $editFlag = 1 Then > > If UBound($LVcolControl)-1 < $LVINFO[1] Then > > _CancelEdit() > > Else > > Update($editCtrl, $LISTVIEWCTRL, $LVINFO[6],$LVINFO[7]) > > EndIf > > EndIf > > EndFunc ;==>ListView_Click > > > > and will have you 'would be more great' > > > > Valery > > > > --- In [email protected], "valery_vi" <shehrer1@> wrote: > > > > > > Hi, > > > > > > Gary Frost has new solution of lv edit (in-situ) task: > > > http://www.autoitscript.com/forum/index.php?showtopic=44132 > > > > > > "It uses a concept from pdm that uses an array that specifies > what > > > control to use on each column." > > > > > > Valery > > > > > >