Anything helpful here?
https://superuser.com/questions/361816/ ... -open-with
Search found 6 matches
- Sat Sep 17, 2022 1:02 am
- Forum: Coding Questions
- Topic: How to get selected Open With file & path sent to program
- Replies: 9
- Views: 1716
- Sun Jun 20, 2021 2:06 am
- Forum: Coding Questions
- Topic: How to refresh?
- Replies: 14
- Views: 2246
Re: How to refresh?
Thank you all for your contributions - much appreciated.
- Thu Jun 17, 2021 9:05 pm
- Forum: Coding Questions
- Topic: How to refresh?
- Replies: 14
- Views: 2246
Re: How to refresh?
@Marcus:
Hmm - not so sure about your solution. As it stands, it works flawlessly or so it seems. The moment I add a WaitThread(), it hangs.
However, if I remove the GUI calls it works with WaitThread().
Hmm - not so sure about your solution. As it stands, it works flawlessly or so it seems. The moment I add a WaitThread(), it hangs.
However, if I remove the GUI calls it works with WaitThread().
- Thu Jun 17, 2021 5:33 pm
- Forum: Coding Questions
- Topic: How to refresh?
- Replies: 14
- Views: 2246
Re: How to refresh?
Like so:
EnableExplicit
Enumeration Gadgets
#CurWindow
#ButtonStart
#ListviewLog
EndEnumeration
#DateTimeFormat = "%yyyy-%mm-%dd %hh:%ii:%ss" ; ISO 8601
Procedure LogMessage(Msg.s)
AddGadgetItem(#ListviewLog, -1, FormatDate(#DateTimeFormat, Date()) + " " + Msg)
EndProcedure
Procedure ...
EnableExplicit
Enumeration Gadgets
#CurWindow
#ButtonStart
#ListviewLog
EndEnumeration
#DateTimeFormat = "%yyyy-%mm-%dd %hh:%ii:%ss" ; ISO 8601
Procedure LogMessage(Msg.s)
AddGadgetItem(#ListviewLog, -1, FormatDate(#DateTimeFormat, Date()) + " " + Msg)
EndProcedure
Procedure ...
- Wed Jun 16, 2021 8:05 pm
- Forum: Coding Questions
- Topic: How to refresh?
- Replies: 14
- Views: 2246
Re: How to refresh?
Oops, forgot to mention that my code runs in a callback proc (after a button click) so I cannot call WaitEvent/WaitWindowEvent in there ...
- Wed Jun 16, 2021 7:13 pm
- Forum: Coding Questions
- Topic: How to refresh?
- Replies: 14
- Views: 2246
How to refresh?
Hi all,
I log messages to a listview gadget via AddItem(). When a time-consuming command immediately follows my log command (such as deleting a large dir tree via DeleteDirectory), the message(s) show up in the listview AFTER the time-consuming command finishes.
How do I get them to show up ...
I log messages to a listview gadget via AddItem(). When a time-consuming command immediately follows my log command (such as deleting a large dir tree via DeleteDirectory), the message(s) show up in the listview AFTER the time-consuming command finishes.
How do I get them to show up ...