txtCtrl.SetEditable(False)
# Also its a good idea to change the backgroud colour so user will know that is has became readonly.
txtCtrl.SetBackgroundColour((255,23,23))
My 2cent tips & tricks on computer technology & Application Virtualization ...
txtCtrl.SetEditable(False)
# Also its a good idea to change the backgroud colour so user will know that is has became readonly.
txtCtrl.SetBackgroundColour((255,23,23))
lst = None
no = self.grid_ShareDetails.GetNumberRows()
lst = sorted(self.grid_ShareDetails.GetSelectedRows())
lst.reverse()
for l in lst:
self.grid_ShareDetails.DeleteRows(l,1)
When I try to install the install a service which i have just delete using sc command i get the following error :
"The specified service has been marked for deletion".
Just close the services.msc and try again. otherwise one might have to restart the machine :( to resolve the issue.
%defattr(-,root,root)
del /s %1
rd /s %1